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

Disassembly:
jmp 0x62d890
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x62d8c4
and byte [esi + 8], 0xfe
mov dword [esi], eax
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4
movzx ecx, word [edx + 0x2e]
cmp ecx, 0x28
je 0x62d91d
mov eax, ecx
mov word [esp + 0x1c], 0x103
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], str.invalid_e_shentsize_in_ELF_header:
push eax
lea eax, [esp + 0x18]
mov word [esp + 0x50], 0x10a
push eax
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 0x62daf1
mov ebx, dword [edi + 4]
lea ecx, [eax + 0x28]
cmp ecx, ebx
ja 0x62da90
cmp ecx, eax
jb 0x62da90
movzx ecx, word [edx + 0x30]
lea edi, [edx + eax]
test ecx, ecx
jne 0x62d941
mov ecx, dword [edi + 0x14]
lea edx, [ecx + ecx*4]
mov ebp, 0
shl edx, 3
add edx, eax
adc ebp, ebp
test ebp, ebp
ja 0x62da4f
jb 0x62d962
cmp edx, eax
jae 0x62da45
mov dword [esp + 0x2c], 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 + 0x20], ecx
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 + 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 0x62daf4
test ebp, ebp
jb 0x62da64
ja 0x62da4f
cmp edx, ebx
jbe 0x62da64
mov word [esp + 0x1c], 0x103
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.section_table_goes_past_the_end_of_file
jmp 0x62da2e
push ecx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00412125
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
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x28], 0
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 dword [esp + 0x24], 0
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