Function at 0x42cb10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x6503d0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
push esi
mov esi, dword [esp + 0x148]
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
test esi, esi
jne 0x42cb6d
xor eax, eax
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004c57d5
add esp, 0x140
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push esi
call edi
cmp eax, 1
jne 0x42cb97
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004c57d5
add esp, 0x140
ret
push ebp
mov ebp, dword [esi + 0x3c]
push pe_nt_image_headers32
add ebp, esi
push ebp
call edi
cmp eax, 1
je 0x42ceda
mov eax, 0xe0
cmp word [ebp + 0x14], ax
jne 0x42ceda
mov ecx, 0x10b
cmp word [ebp + 0x18], cx
jne 0x42ceda
movzx ecx, word [ebp + 6]
cmp cx, 1
jb 0x42ceda
push ebx
movzx eax, cx
lea ebx, [eax + eax*4]
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, esi
lea edi, [ebp + 0xf8]
add ebx, edi
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], ebx
cmp dx, cx
jae 0x42cc37
mov edi, edi
movzx eax, si
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0xc]
mov edx, dword [edi + eax*8 + 0x10]
lea eax, [edi + eax*8]
add edx, ecx
cmp ebx, edx
jae 0x42cc19
mov ebx, edx
mov edx, dword [eax + 8]
add ecx, edx
cmp ebx, ecx
jae 0x42cc24
mov ebx, ecx
push str..rsrc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
inc esi
cmp si, word [ebp + 6]
jb 0x42cc00
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x28]
xor edx, edx
mov eax, ebx
div ecx
test edx, edx
je 0x42cc51
inc eax
imul ecx, eax
push 0x40
push 0x1000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x42ced3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebx
call fcn.004c7530
xor eax, eax
add esp, 0xc
xor esi, esi
cmp ax, word [ebp + 6]
jae 0x42ccbb
jmp 0x42cc90
movzx eax, si
lea ecx, [eax + eax*4]
mov edx, dword [edi + ecx*8 + 0x10]
lea eax, [edi + ecx*8]
mov ecx, dword [eax + 0x14]
add ecx, dword [esp + 0x10]
push edx
mov edx, dword [eax + 0xc]
push ecx
add edx, ebx
push edx
call fcn.004c7530
inc esi
add esp, 0xc
cmp si, word [ebp + 6]
jb 0x42cc90
mov edi, dword [ebx + 0x3c]
mov esi, dword [edi + ebx + 0x80]
add edi, ebx
mov dword [esp + 0x14], edi
test esi, esi
je 0x42cec5
add esi, ebx
mov dword [esp + 0x10], esi
lea esp, [esp]
cmp dword [esi + 4], 0
jne 0x42ccf0
cmp dword [esi + 0xc], 0
je 0x42cd9b
mov ebp, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
add ebp, ebx
test eax, eax
je 0x42cd09
push ebp
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x42cd27
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x42cd27
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42ce42
mov eax, dword [esi]
test eax, eax
je 0x42cd32
lea ebp, [eax + ebx]
jmp 0x42cd37
mov ebp, dword [esi + 0x10]
add ebp, ebx
mov esi, dword [esi + 0x10]
mov eax, dword [ebp]
add esi, ebx
test eax, eax
je 0x42cd89
mov ecx, dword [esp + 0x1c]
test eax, eax
jns 0x42cd5d
and eax, 0xffff
push eax
push edi
test ecx, ecx
je 0x42cd74
call ecx
add esp, 8
jmp 0x42cd7a
test ecx, ecx
je 0x42cd6e
lea eax, [eax + ebx + 2]
push eax
push edi
call ecx
add esp, 8
jmp 0x42cd7a
lea ecx, [eax + ebx + 2]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
add ebp, 4
mov dword [esi], eax
mov eax, dword [ebp]
add esi, 4
test eax, eax
jne 0x42cd43
add dword [esp + 0x10], 0x14
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
jmp 0x42cce0
mov edx, dword [edi + 0xa0]
test edx, edx
je 0x42ce0c
mov ebp, dword [edi + 0x50]
add edx, ebx
add ebp, ebx
cmp dword [edx], 0
je 0x42ce0c
mov eax, dword [edx + 4]
lea esi, [edx + 8]
add eax, edx
cmp esi, eax
jae 0x42ce04
lea ecx, [ecx]
movzx eax, word [esi]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x42cdf0
and eax, 0xfff
add eax, dword [edx]
mov ecx, dword [eax + ebx]
sub ecx, dword [edi + 0x34]
add eax, ebx
add ecx, ebx
cmp ecx, ebx
jb 0x42cdf8
cmp ecx, ebp
jae 0x42cdf8
mov dword [eax], ecx
jmp 0x42cdf8
test ecx, ecx
jne 0x42cec5
mov ecx, dword [edx + 4]
add esi, 2
add ecx, edx
cmp esi, ecx
jb 0x42cdc0
add edx, dword [edx + 4]
cmp dword [edx], 0
jne 0x42cdb1
mov edi, dword [edi + 0x28]
add edi, ebx
cmp dword [esp + 0x18], 0
jne 0x42ce1c
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x18]
push 0
push 1
push edx
call edi
mov eax, ebx
pop ebx
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004c57d5
add esp, 0x140
ret
mov ecx, 6
mov esi, str.Can_not_find_required_DLL
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xe9
lea eax, [esp + 0x67]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.004c5c50
add esp, 0xc
cmp byte [esp + 0x48], 0
lea eax, [esp + 0x48]
je 0x42ce7a
inc eax
cmp byte [eax], 0
jne 0x42ce74
cmp byte [ebp], 0
je 0x42ce9e
mov esi, eax
lea ecx, [esp + 0x48]
sub esi, ecx
cmp esi, 0x82
jge 0x42ce9e
mov dl, byte [ebp]
mov byte [eax], dl
inc ebp
inc eax
inc esi
cmp byte [ebp], 0
jne 0x42ce88
mov byte [eax], 0
push str.._If_this_is_a_MFC_DLL__then_you_need_to_create_a_MFC_project.
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push str.Error
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x42ce29
mov ecx, dword [esp + 0x148]
pop ebp
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004c57d5
add esp, 0x140
ret