Function at 0x4ef430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6acadd
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], ecx
mov dword [ebp - 4], 1
mov byte [ebp - 0x41c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x41b]
push eax
call fcn.006665c0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.0040e940
movzx ecx, al
test ecx, ecx
je 0x4ef4be
push 0x400
lea edx, [ebp - 0x41c]
push edx
call fcn.0049f360
add esp, 8
push 0x741c40
lea eax, [ebp - 0x41c]
push eax
call fcn.00666bb0
add esp, 8
jmp 0x4ef4d8
push 0
lea ecx, [ebp + 0xc]
call fcn.004018a0
push eax
lea ecx, [ebp - 0x41c]
push ecx
call fcn.00666ba0
add esp, 8
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.0040e940
movzx edx, al
test edx, edx
je 0x4ef552
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x444]
call fcn.004ef330
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ef515
lea ecx, [ebp + 8]
call fcn.0040e940
movzx ecx, al
test ecx, ecx
je 0x4ef552
push 0x741c5c
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x428], 0x5006
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x428]
jmp 0x4ef74c
push 0x741c70
lea edx, [ebp - 0x41c]
push edx
call fcn.00669fd1
add esp, 8
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x4ef5b2
push 0x741c74
call fcn.0066610b
add esp, 4
mov dword [ebp - 0x42c], 0x204
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x42c]
jmp 0x4ef74c
push 2
push 0
mov eax, dword [ebp - 0x420]
push eax
call fcn.00669e99
add esp, 0xc
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.00669daa
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xd190
jge 0x4ef625
mov edx, dword [ebp - 0x420]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x430], 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x430]
jmp 0x4ef74c
push 0
push 0
mov eax, dword [ebp - 0x420]
push eax
call fcn.00669e99
add esp, 0xc
push 0xd190
call fcn.00576bfc
add esp, 4
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x4ef684
mov edx, dword [ebp - 0x420]
push edx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x438], 0x741c8c
push 0x7ab744
lea eax, [ebp - 0x438]
push eax
call fcn.00669071
mov ecx, dword [ebp - 0x420]
push ecx
push 0xd190
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.00669b18
add esp, 0x10
mov eax, dword [ebp - 0x420]
push eax
call fcn.00669ba2
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x4ef6bf
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x80
jge 0x4ef6e9
mov edx, dword [ebp - 0x18]
shl edx, 5
add edx, dword [ebp - 0x10]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00413840
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4ef6e7
jmp 0x4ef6e9
jmp 0x4ef6b6
cmp dword [ebp - 0x18], 0x80
jl 0x4ef70a
mov edx, dword [ebp + 8]
push edx
push 0x741ca8
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x14], 0x5007
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.00576bf1
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x440], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004014d0
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 8