Function at 0x4df8b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6abfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x5bc
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c8], ecx
push 0x7340af
push 0
cmp dword [ebp + 0xc], 0
setne al
movzx ecx, al
push ecx
lea ecx, [ebp - 0x5ac]
call fcn.00548bb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x530], 0
mov dword [ebp - 0x128], 0
push 0x738cc8
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x5ac]
call fcn.00548db0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x124], 0
xor ecx, ecx
mov dword [ebp - 0x123], ecx
mov dword [ebp - 0x11f], ecx
mov dword [ebp - 0x11b], ecx
mov dword [ebp - 0x117], ecx
mov dword [ebp - 0x113], ecx
mov dword [ebp - 0x10f], ecx
mov dword [ebp - 0x10b], ecx
mov word [ebp - 0x107], cx
mov byte [ebp - 0x105], cl
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.006665c0
add esp, 0xc
mov byte [ebp - 0x52c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x52b]
push eax
call fcn.006665c0
add esp, 0xc
push 0x738ccc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00669fd1
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4df9f9
mov dword [ebp - 0x5b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.005494f0
mov eax, dword [ebp - 0x5b0]
jmp 0x4dfd84
cmp dword [ebp - 0x530], 0
jle 0x4dfa17
push 0
mov edx, dword [ebp - 0x530]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00669e99
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x400
push 1
lea edx, [ebp - 0x52c]
push edx
call fcn.00669b18
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x4dfa6d
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.005494f0
mov eax, dword [ebp - 0x5b4]
jmp 0x4dfd84
push 0x738cd0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0066a2f0
add esp, 8
test eax, eax
jne 0x4dfaf5
lea edx, [ebp - 0x41c]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 1]
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 2]
shl eax, 0x10
add ecx, eax
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 3]
shl eax, 0x18
add ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
and ecx, 0x3ffffff
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shl edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x100000
jb 0x4dfaf0
mov eax, dword [ebp - 0x10]
sub eax, 0x100000
mov dword [ebp - 0x10], eax
jmp 0x4dfc46
push str.MT30
mov ecx, dword [ebp + 8]
push ecx
call fcn.0066a2f0
add esp, 8
test eax, eax
je 0x4dfb8e
push str.D300
mov edx, dword [ebp + 8]
push edx
call fcn.0066a2f0
add esp, 8
test eax, eax
je 0x4dfb8e
push 0x738ce8
mov eax, dword [ebp + 8]
push eax
call fcn.0066a2f0
add esp, 8
test eax, eax
je 0x4dfb8e
push 0x738cf0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0066a2f0
add esp, 8
test eax, eax
je 0x4dfb8e
push 0x738cf8
mov edx, dword [ebp + 8]
push edx
call fcn.0066a2f0
add esp, 8
test eax, eax
je 0x4dfb8e
push 4
push 0x738d00
mov eax, dword [ebp + 8]
push eax
call fcn.0066bc9e
add esp, 0xc
test eax, eax
je 0x4dfb8e
push 0x738d08
mov ecx, dword [ebp + 8]
push ecx
call fcn.0066a2f0
add esp, 8
test eax, eax
jne 0x4dfbfe
lea edx, [ebp - 0x41c]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 1]
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 2]
shl eax, 0x10
add ecx, eax
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx + 3]
shl eax, 0x18
add ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
and ecx, 0x3ffffff
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shl edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x1000000
jb 0x4dfbfc
mov eax, dword [ebp - 0x10]
sub eax, 0x1000000
mov dword [ebp - 0x10], eax
jmp 0x4dfc46
lea ecx, [ebp - 0x524]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x12c]
movzx edx, byte [ecx + 1]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0x12c]
movzx edx, byte [ecx + 2]
shl edx, 0x10
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x4dfc7f
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x5b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.005494f0
mov eax, dword [ebp - 0x5b8]
jmp 0x4dfd84
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x530]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00669e99
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4dfcd9
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.005494f0
mov eax, dword [ebp - 0x5bc]
jmp 0x4dfd84
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push 0x100
lea edx, [ebp - 0x124]
push edx
call fcn.00669b18
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x4dfd2c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x5c0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.005494f0
mov eax, dword [ebp - 0x5c0]
jmp 0x4dfd84
push 0x20
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00668860
add esp, 0xc
push 0x10
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00668860
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x5c4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.005494f0
mov eax, dword [ebp - 0x5c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 0x10