Function at 0x41c234
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
mov edx, dword [0x40e80c]
call fcn.00406430
xor eax, eax
push ebp
push 0x41c871
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x424aec], 0
jne 0x41c840
xor eax, eax
mov dword [0x424afc], eax
xor eax, eax
mov dword [0x424b00], eax
cmp dword [0x424afc], 0
je 0x41c2ad
cmp dword [0x424b00], 0
je 0x41c2ad
push 0x424b04
push 0
push 0x41bebc
push 0
call dword [0x424afc]
test eax, eax
je 0x41c839
xor eax, eax
mov dword [0x424b04], eax
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x41c31b
push 0
mov dl, 1
mov eax, dword [0x4247d8]
call fcn.004112e4
call fcn.004166dc
push eax
push 0x41bed0
push 0x424ad8
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041cf4c
push 0
mov dl, 1
mov eax, dword [0x4247dc]
call fcn.004112e4
call fcn.004166dc
push eax
push 0x41bf38
push 0x424adc
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041cf4c
jmp 0x41c839
cmp dword [0x424af8], 0
jne 0x41c335
xor edx, edx
mov eax, dword [0x42474c]
call fcn.004113f0
mov dword [0x424af8], eax
cmp byte [0x424af0], 0
jne 0x41c7b9
mov byte [0x424af0], 1
lea edx, [ebp - 4]
mov eax, dword [0x4248e0]
call fcn.0040ccb0
lea eax, [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040c93c
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
call fcn.00405604
mov eax, dword [ebp - 0x68]
call fcn.004058b4
push eax
push 0xc
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
je 0x41c7b9
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
setne byte [ebp - 0x45]
push 0
push 0
push 0
push 0xf001f
push esi
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
test edi, edi
je 0x41c7af
mov ebx, 0x32
cmp byte [ebp - 0x45], 0
jne 0x41c3f5
mov eax, dword [edi]
mov edx, dword [edi + 4]
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x41c3e7
cmp eax, dword [esp]
pop edx
pop eax
je 0x41c3f5
push 0x32
call sub.kernel32.dll_Sleep
dec ebx
jne 0x41c3c9
cmp byte [ebp - 0x45], 0
jne 0x41c410
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 4]
jne 0x41c40a
cmp eax, dword [ecx]
je 0x41c7a1
mov dl, 1
mov eax, dword [0x424744]
call fcn.004113f0
mov dword [ebp - 0x54], eax
mov dl, 1
mov eax, dword [0x4247e0]
call fcn.004112e4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041dbe8
test eax, eax
jne 0x41c457
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x58]
call fcn.00411198
mov edx, dword [ebp - 0x40]
mov eax, 0xe
call fcn.0041674c
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
call fcn.00406a2c
test eax, eax
jl 0x41c70e
inc eax
xor ebx, ebx
mov edx, ebx
add edx, edx
add edx, edx
add edx, edx
sub edx, ebx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + edx*4 + 0xc]
cmp edx, dword [ebp - 0x54]
jne 0x41c706
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
cmp dword [edx + eax*4 + 0x14], 0
jne 0x41c4cb
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
cmp dword [edx + eax*4 + 0x18], 0
je 0x41c70e
mov eax, dword [ebp - 0x4c]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x4c]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x4c]
add eax, 6
mov edx, dword [ebp - 0x4c]
mov dword [edx + 2], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
mov dword [eax + 6], edx
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0xa], edx
lea eax, [ebp - 0x64]
push eax
push 0x20
push 0xe
mov eax, dword [ebp - 0x4c]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x4c]
mov dword [edi + 8], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
cmp byte [edx + eax*4 + 0x10], 0
je 0x41c5ce
lea eax, [ebp - 0x64]
push eax
push 0x40
push 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41c70e
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [edx + eax*4 + 4]
sub ecx, 5
mov dword [ebp - 0x50], ecx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + eax*4 + 0x14]
lea eax, [ebp - 0x50]
mov ecx, 4
call fcn.00415578
test al, al
jne 0x41c59e
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x64]
push eax
push 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x4c]
mov dword [0x424af4], eax
xor esi, esi
jmp 0x41c70e
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
cmp dword [edx + eax*4 + 0x14], 0
je 0x41c675
lea eax, [ebp - 0x64]
push eax
push 0x40
push 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41c70e
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + eax*4 + 0x14]
lea eax, [ebp - 0x4c]
mov ecx, 4
call fcn.00415578
test al, al
jne 0x41c645
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x64]
push eax
push 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x4c]
mov dword [0x424af4], eax
xor esi, esi
jmp 0x41c70e
lea eax, [ebp - 0x64]
push eax
push 0x40
push 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41c70e
mov eax, dword [ebp - 0x4c]
add eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + eax*4 + 0x18]
lea eax, [ebp - 0x50]
mov ecx, 4
call fcn.00415578
test al, al
jne 0x41c6d9
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x18]
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x64]
push eax
push 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*4 + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 0x4c]
mov dword [0x424af4], eax
xor esi, esi
jmp 0x41c70e
inc ebx
dec eax
jne 0x41c485
cmp dword [ebp - 0x5c], 0
jne 0x41c718
cmp dword [ebp - 0x60], 0
je 0x41c771
lea eax, [ebp - 0x64]
push eax
push 0x40
push 8
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41c771
lea eax, [ebp - 0x60]
mov ecx, 8
mov edx, dword [ebp - 0x58]
call fcn.00415578
test al, al
jne 0x41c751
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov edx, 8
mov eax, dword [ebp - 0x58]
call fcn.0041ae48
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x64]
push eax
push 8
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_VirtualProtect
cmp dword [0x424af4], 0
jne 0x41c792
push edi
call sub.kernel32.dll_UnmapViewOfFile
push 0x8000
push 0
mov eax, dword [ebp - 0x4c]
push eax
call sub.kernel32.dll_VirtualFree
jmp 0x41c7af
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
jmp 0x41c7af
mov eax, dword [edi + 8]
mov dword [0x424af4], eax
push edi
call sub.kernel32.dll_UnmapViewOfFile
test esi, esi
je 0x41c7b9
push esi
call sub.kernel32.dll_CloseHandle
cmp dword [0x424af4], 0
je 0x41c7e3
push 0
mov eax, dword [0x424af4]
push eax
push 0x41c088
push 0x424ae4
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041cf4c
jmp 0x41c80e
push 0
mov dl, 1
mov eax, dword [0x4247e0]
call fcn.004112e4
call fcn.004166dc
push eax
push 0x41bfec
push 0x424ae0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041cf4c
push 0
mov dl, 1
mov eax, dword [0x424758]
call fcn.004113f0
call fcn.004166dc
push eax
push 0x41c10c
push 0x424ae8
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041cf4c
mov byte [0x424aec], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c878
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004051d0
lea eax, [ebp - 0x44]
mov edx, dword [0x40e80c]
call fcn.004064fc
lea eax, [ebp - 4]
call fcn.004051ac
ret