Function at 0x40c11c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4d9b70
sub esp, 0xc8
mov eax, ecx
push ebx
push ebp
push esi
mov ebp, dword [eax]
push edi
mov dword [esp + 0x10], eax
movzx ecx, word [ebp + 0x38]
test cx, cx
je 0x4d9be2
movzx eax, word [ebp + 0x36]
cmp eax, 0x38
je 0x4d9be2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
mov word [esp + 0x3c], 0x103
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], str.invalid_e_phentsize:
push eax
mov word [esp + 0x38], 0x10a
mov dword [esp + 0x24], str.invalid_e_phentsize:
mov word [esp + 0x2c], 0xa03
mov dword [esp + 0x1c], 3
call fcn.00402b1c
mov ecx, dword [esp + 0x20]
jmp 0x4d9db2
movzx edi, word [ebp + 0x36]
mov esi, ecx
mov eax, esi
cdq
mov ebx, eax
mov ecx, edx
mov eax, edi
cdq
push edx
push eax
push ecx
push ebx
call fcn.0040646a
mov ebx, dword [ebp + 0x20]
mov ecx, eax
add ecx, ebx
adc edx, dword [ebp + 0x24]
cmp edx, dword [ebp + 0x24]
jb 0x4d9c61
ja 0x4d9c10
cmp ecx, ebx
jb 0x4d9c61
mov eax, dword [esp + 0x10]
test edx, edx
ja 0x4d9c65
jb 0x4d9c1f
cmp ecx, dword [eax + 4]
ja 0x4d9c65
lea eax, [esi*8]
sub eax, esi
lea ecx, [ebx + ebp]
lea eax, [ecx + eax*8]
push eax
push ecx
lea eax, [esp + 0x20]
push eax
call fcn.00415690
mov esi, dword [esp + 0xe8]
add esp, 0xc
and byte [esi + 8], 0xfe
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, esi
mov dword [esi], ecx
mov dword [esi + 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
mov word [esp + 0x90], 0x103
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x8c], str.__e_phentsize_
push eax
mov word [esp + 0xa4], 0x103
mov dword [esp + 0x9c], str.__e_phnum_
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov word [esp + 0xb0], 0x103
mov dword [esp + 0xa8], str.:_e_phoff__0x
mov word [esp + 0xbc], 0x103
mov dword [esp + 0xb4], str.program_headers_are_longer_than_binary_of_size
mov word [esp + 0xc8], 0x10a
mov word [esp + 0xd4], 0x10a
mov dword [esp + 0x40], 0
mov word [esp + 0x44], 0x10f
mov word [esp + 0xe0], 0x109
mov dword [esp + 0x48], str.program_headers_are_longer_than_binary_of_size
mov word [esp + 0x50], 0x903
mov dword [esp + 0x58], str.:_e_phoff__0x
mov word [esp + 0x5c], 0x302
mov word [esp + 0x68], 0xf02
mov dword [esp + 0x70], str.__e_phnum_
mov word [esp + 0x74], 0x302
mov dword [esp + 0x7c], esi
mov word [esp + 0x80], 0xa02
mov dword [esp + 0x88], str.__e_phentsize_
mov word [esp + 0x8c], 0x302
mov dword [esp + 0x34], edi
mov word [esp + 0x38], 0xa02
mov dword [esp + 0x20], 3
call fcn.00402b1c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xe8]
add esp, 0xc
or byte [eax + 8], 1
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0xc8
ret 4