Function at 0x1003f280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3fc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0xb4]
call fcn.1003edb0
lea ecx, [ebp - 0x3fc]
call fcn.1004e350
mov eax, dword [ebp + 8]
push eax
call fcn.1003eff0
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
push str.DumpProcess:_Instantiating_PeParser_with_address:_0x_p._n
call fcn.1003cfe0
add esp, 8
push 0x50
call fcn.10248eb1
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x1003f2fa
push 1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.10050250
mov dword [ebp - 0x48], eax
jmp 0x1003f301
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.10050560
movzx edx, al
test edx, edx
je 0x1003f41f
cmp dword [ebp + 0x10], 0
je 0x1003f32e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x1003f339
mov ecx, dword [ebp - 8]
call fcn.10050640
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
call fcn.10051830
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x40]
jb 0x1003f366
mov edx, dword [ebp - 4]
push edx
push 0x1030741c
call fcn.1003cfe0
add esp, 8
mov dword [ebp - 4], 0
jmp 0x1003f380
mov eax, dword [ebp - 4]
push eax
push 0x103074e0
call fcn.1003cfe0
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x14], 0
je 0x1003f3d5
push 0x10307510
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.100533c0
movzx ecx, al
test ecx, ecx
je 0x1003f3bd
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
push 0x104f33c8
push 0x10307520
call fcn.1003cfe0
add esp, 0xc
jmp 0x1003f3d3
mov ecx, dword [ebp + 0xc]
push ecx
push 0x10307560
call fcn.1003cfe0
add esp, 8
jmp 0x1003fb16
jmp 0x1003f41a
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.100533c0
movzx ecx, al
test ecx, ecx
je 0x1003f404
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
push 0x1030758c
call fcn.1003cfe0
add esp, 8
jmp 0x1003f41a
mov ecx, dword [ebp + 0xc]
push ecx
push 0x103075c8
call fcn.1003cfe0
add esp, 8
jmp 0x1003fb16
jmp 0x1003f7b2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10038fe0
add esp, 4
test eax, eax
je 0x1003f443
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1003f459
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx], 0x4550
je 0x1003f7a0
mov eax, dword [ebp + 0xc]
push eax
push str.DumpProcess:_Disguised_PE_image__bad_MZ_and_or_PE_headers__at_0x_p._n
call fcn.1003cfe0
add esp, 8
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100794f0
add esp, 8
test eax, eax
jne 0x1003f497
mov eax, dword [ebp + 0xc]
push eax
push str.DumpProcess:_unable_to_query_memory_address_0x_p
call fcn.1003e760
add esp, 8
jmp 0x1003fb16
push 1
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.10259f79
add esp, 8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1024a850
add esp, 0xc
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
jne 0x1003f531
mov eax, dword [ebp - 0xc]
add eax, 0x3c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x1c4
cmp dword [ebp - 0x18], ecx
jae 0x1003f51f
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
cmp eax, 0x14c
je 0x1003f500
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x8664
jne 0x1003f514
mov eax, dword [ebp - 0xc]
add eax, 3
cmp dword [ebp - 0x18], eax
jbe 0x1003f514
mov ecx, dword [ebp - 0x18]
sub ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x1003f4d7
cmp dword [ebp - 0x10], 0
je 0x1003f531
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
jne 0x1003f61e
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x1c4
cmp dword [ebp - 0x1c], ecx
jae 0x1003f61e
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
cmp eax, 0x14c
je 0x1003f578
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x8664
jne 0x1003f58c
mov eax, dword [ebp - 0xc]
add eax, 4
cmp dword [ebp - 0x1c], eax
jb 0x1003f58c
mov ecx, dword [ebp - 0x1c]
sub ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x10], 0
je 0x1003f619
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x1003f619
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x54], 0
je 0x1003f619
mov dword [ebp - 0x2c], 0x40
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x54]
sub eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x2c]
push edx
call fcn.1024a850
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1024a480
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
push str.DumpProcess:_pNtHeader_moved_from_0x_x_to_0x_x__e_lfanew_0x_x_n
call fcn.1003cfe0
add esp, 0x10
jmp 0x1003f54b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x1003f65b
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x30]
call fcn.10050310
mov eax, 1
and eax, 1
je 0x1003f653
push 0x50
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10248e80
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edx
jmp 0x1003f662
mov dword [ebp - 0x4c], 0
push 0x50
call fcn.10248eb1
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x1003f688
push 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.10050190
mov dword [ebp - 0x54], eax
jmp 0x1003f68f
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call fcn.10050560
movzx eax, al
test eax, eax
je 0x1003f79e
cmp dword [ebp + 0x10], 0
je 0x1003f6bc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
jmp 0x1003f6c7
mov ecx, dword [ebp - 8]
call fcn.10050640
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
call fcn.10051830
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x40]
jb 0x1003f6f4
mov eax, dword [ebp - 4]
push eax
push str.DumpProcess:_Error___entry_point_too_big:_0x_x__ignoring._n
call fcn.1003cfe0
add esp, 8
mov dword [ebp - 4], 0
jmp 0x1003f70e
mov ecx, dword [ebp - 4]
push ecx
push str.DumpProcess:_Module_entry_point_VA_is_0x_p._n
call fcn.1003cfe0
add esp, 8
mov edx, dword [ebp - 4]
add edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp + 0x14], 0
je 0x1003f75e
push 0x1030771c
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.100533c0
movzx edx, al
test edx, edx
je 0x1003f74b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
push 0x104f33c8
push str.DumpProcess:_Module_image_dump_success__s___dump_size_0x_x._n
call fcn.1003cfe0
add esp, 0xc
jmp 0x1003f75c
mov edx, dword [ebp + 0xc]
push edx
push 0x1030776c
call fcn.1003cfe0
add esp, 8
jmp 0x1003f79e
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.100533c0
movzx edx, al
test edx, edx
je 0x1003f78d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
push str.DumpProcess:_Module_image_dump_success___dump_size_0x_x._n
call fcn.1003cfe0
add esp, 8
jmp 0x1003f79e
mov edx, dword [ebp + 0xc]
push edx
push str.DumpProcess:_Failed_to_dump_image_at_0x_p._n
call fcn.1003cfe0
add esp, 8
jmp 0x1003f7b2
push str.DumpProcess:_Invalid_PE_file_or_invalid_PE_header._n
call fcn.1003cfe0
add esp, 4
jmp 0x1003fb16
cmp dword [ebp + 0x14], 0
je 0x1003fab0
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0xd4]
call fcn.1004a840
movzx eax, al
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x1003f800
push 1
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xd4]
call fcn.1004a840
movzx ecx, al
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x28], 0
je 0x1003faa3
cmp dword [ebp - 0x24], 0
je 0x1003faa3
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
push str.DumpProcess:_Found_IAT___0x_x__size:_0x_x
call fcn.1003cfe0
add esp, 0xc
lea ecx, [ebp - 0x3fc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x12]
call fcn.10042000
lea ecx, [ebp - 0x3fc]
call fcn.1004e3e0
xor ecx, ecx
je 0x1003f948
mov byte [ebp - 0xb4], 1
mov byte [ebp - 0xb3], 0
lea edx, [ebp - 0x12]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x104f34cc]
push edx
mov eax, dword [0x104f34d0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.100481c0
lea ecx, [ebp - 0xb4]
call fcn.10047f10
push eax
lea ecx, [ebp - 0xb4]
call fcn.10047ee0
push eax
push str.DumpProcess:_Direct_imports___Found__d_possible_direct_imports_with__d_unique_APIs
call fcn.1003cfe0
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.10047ee0
test eax, eax
jle 0x1003f948
lea ecx, [ebp - 0xb4]
call fcn.10048060
test eax, eax
jle 0x1003f918
lea ecx, [ebp - 0xb4]
call fcn.10048060
push eax
push str.DumpProcess:_Direct_imports___Found__d_additional_api_addresses
call fcn.1003cfe0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.10049460
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push str.DumpProcess:_Direct_imports___Old_IAT_size_0x_08x_new_IAT_size_0x_08x._n
call fcn.1003cfe0
add esp, 0xc
lea ecx, [ebp - 0x3fc]
call fcn.1004e3e0
lea ecx, [ebp - 0xb4]
call fcn.10048a30
xor eax, eax
je 0x1003f948
mov byte [ebp - 0x11], 1
movzx ecx, byte [ebp - 0x11]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.100482b0
push str.DumpProcess:_Direct_imports_patched._n
call fcn.1003cfe0
add esp, 4
mov edx, dword [ebp - 0x28]
push edx
call fcn.1003f210
add esp, 4
movzx eax, al
test eax, eax
je 0x1003f968
push str.DumpProcess:_Warning___IAT_is_not_inside_the_PE_image__requires_rebasing._n
call fcn.1003cfe0
add esp, 4
push 0x104f33c8
lea ecx, [ebp - 0x184]
call fcn.1003ef60
xor ecx, ecx
je 0x1003f994
lea ecx, [ebp - 0x184]
call fcn.1004d6c0
push str.DumpProcess:_importRebuild:_OFT_support_enabled._n
call fcn.1003cfe0
add esp, 4
xor edx, edx
je 0x1003f9ba
lea ecx, [ebp - 0xb4]
call fcn.10047ee0
test eax, eax
jle 0x1003f9ba
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 1
xor ecx, ecx
je 0x1003f9dd
lea edx, [ebp - 0xb4]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x184]
call fcn.1004d6e0
lea edx, [ebp - 0x3fc]
push edx
push 0
lea ecx, [ebp - 0x184]
call fcn.1004c2b0
movzx eax, al
test eax, eax
je 0x1003fa7f
push str.DumpProcess:_Import_table_rebuild_success._n
call fcn.1003cfe0
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
je 0x1003fa46
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebp - 0x34]
call fcn.10050310
mov eax, 1
and eax, 1
je 0x1003fa3e
push 0x50
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.10248e80
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], edx
jmp 0x1003fa4d
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x74], 1
lea ecx, [ebp - 0x184]
call fcn.10050310
lea ecx, [ebp - 0x3fc]
call fcn.1004e3c0
lea ecx, [ebp - 0xb4]
call fcn.1003ee70
mov eax, dword [ebp - 0x74]
jmp 0x1003fb7a
push str.DumpProcess:_Import_table_rebuild_failed__falling_back_to_unfixed_dump._n
call fcn.1003cfe0
add esp, 4
push 0
mov ecx, dword [ebp - 8]
call fcn.10051cc0
lea ecx, [ebp - 0x184]
call fcn.10050310
jmp 0x1003fab0
push str.DumpProcess:_Warning:_Unable_to_find_IAT_in_scan._n
call fcn.1003cfe0
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x1003faed
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x38]
call fcn.10050310
mov edx, 1
and edx, 1
je 0x1003fae5
push 0x50
mov eax, dword [ebp - 0x38]
push eax
call fcn.10248e80
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x60], ecx
jmp 0x1003faf4
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x78], 1
lea ecx, [ebp - 0x3fc]
call fcn.1004e3c0
lea ecx, [ebp - 0xb4]
call fcn.1003ee70
mov eax, dword [ebp - 0x78]
jmp 0x1003fb7a
mov edx, dword [ebp - 8]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x1003fb53
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x3c]
call fcn.10050310
mov ecx, 1
and ecx, 1
je 0x1003fb4b
push 0x50
mov edx, dword [ebp - 0x3c]
push edx
call fcn.10248e80
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
jmp 0x1003fb5a
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x3fc]
call fcn.1004e3c0
lea ecx, [ebp - 0xb4]
call fcn.1003ee70
mov eax, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
ret