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

Disassembly:
jmp 0x62df90
sub esp, 0x84
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [ebx]
mov edx, dword [edi + 0x20]
bswap edx
test edx, edx
jne 0x62dfc6
and byte [esi + 8], 0xfe
mov eax, esi
mov dword [esi], edx
mov dword [esi + 4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4
mov ax, word [edi + 0x2e]
mov ch, al
mov cl, ah
cmp cx, 0x28
je 0x62e025
movzx eax, cx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
mov word [esp + 0x20], 0x103
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], str.invalid_e_shentsize_in_ELF_header:
push eax
mov word [esp + 0x54], 0x10a
mov dword [esp + 0x2c], str.invalid_e_shentsize_in_ELF_header:
mov word [esp + 0x34], 0xa03
mov dword [esp + 0x38], 3
call fcn.00402b1c
mov eax, dword [esp + 0x1c]
jmp 0x62e1f8
mov ebp, dword [ebx + 4]
lea eax, [edx + 0x28]
xor ecx, ecx
cmp eax, ebp
ja 0x62e1a3
cmp eax, edx
jb 0x62e1a3
mov ax, word [edi + 0x30]
lea ebx, [edi + edx]
mov ch, al
mov cl, ah
movzx eax, cx
test eax, eax
jne 0x62e054
mov eax, dword [ebx + 0x14]
bswap eax
lea ecx, [eax + eax*4]
mov edi, 0
shl ecx, 3
add ecx, edx
adc edi, edi
test edi, edi
ja 0x62e162
jb 0x62e075
cmp ecx, edx
jae 0x62e158
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov word [esp + 0x84], 0x103
mov dword [esp + 0x7c], 0x925880
mov dword [esp + 0x24], 0
mov word [esp + 0x90], 0x103
mov dword [esp + 0x88], str.__or_invalid_number_of_sections_specified_in_the_first_section_headers_sh_size_field__0x
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0
mov word [esp + 0x54], 0x103
mov dword [esp + 0x4c], str.invalid_section_header_table_offset__e_shoff__0x
mov dword [esp + 0x44], 0
mov word [esp + 0x48], 0x10f
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0x10f
mov dword [esp + 0x58], str.invalid_section_header_table_offset__e_shoff__0x
mov word [esp + 0x60], 0xf03
mov dword [esp + 0x68], str.__or_invalid_number_of_sections_specified_in_the_first_section_headers_sh_size_field__0x
mov word [esp + 0x6c], 0x302
mov word [esp + 0x78], 0xf02
mov dword [esp + 0x38], 0x925880
mov word [esp + 0x3c], 0x302
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00618fa0
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x62e1fb
test edi, edi
jb 0x62e177
ja 0x62e162
cmp ecx, ebp
jbe 0x62e177
mov word [esp + 0x1c], 0x103
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.section_table_goes_past_the_end_of_file
jmp 0x62e141
push eax
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.0040acb8
add esp, 0xc
and byte [esi + 8], 0xfe
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x28], ecx
push eax
lea eax, [esp + 0x34]
mov word [esp + 0x5c], 0x103
push eax
mov dword [esp + 0x58], str.section_header_table_goes_past_the_end_of_the_file:_e_shoff__0x
mov word [esp + 0x28], 0x10f
mov dword [esp + 0x40], str.section_header_table_goes_past_the_end_of_the_file:_e_shoff__0x
mov word [esp + 0x48], 0xf03
mov dword [esp + 0x1c], 3
call fcn.00402b1c
mov eax, dword [esp + 0x38]
add esp, 0xc
or byte [esi + 8], 1
pop edi
mov dword [esi], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4