Function at 0x4430a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x686984]
mov ecx, 0x686984
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], 0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
push dword [edi + 0x1c]
lea eax, [ebp - 0x30]
push dword [edi + 0xc]
push 0x651db4
push eax
call fcn.00402f20
mov edi, dword [ebp - 0x30]
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x443197
add esi, 0xfffffff0
push esi
call fcn.0040a5a0
add eax, 0x10
mov dword [ebx], eax
add edi, 0xfffffff0
or ebx, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x443174
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44318f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
jmp 0x4434ea
push 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call fcn.004b998e
add esp, 4
lea ecx, [ebp - 0x14]
push 0
push ecx
push ebx
mov byte [eax + ebx], 0
mov ebx, dword [ebp - 0x18]
push eax
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44322a
push dword [ebp - 0x1c]
call fcn.004b9997
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0040a5a0
mov esi, dword [ebp - 0x24]
add eax, 0x10
add edi, 0xfffffff0
or ebx, 0xffffffff
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44321b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
jmp 0x4434d4
push 0x6508f0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.0042ea30
mov byte [ebp - 4], 2
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push 0x6516cc
push eax
call fcn.00402f20
push dword [ebp - 0x1c]
call fcn.004b9997
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x22
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00406890
push 0x5b
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x67
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x6c
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x6f
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x62
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x61
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x6c
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x5d
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x3a
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x7b
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x63
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x75
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x72
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x65
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x6e
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x74
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x22
lea ecx, [ebp - 0x18]
call fcn.00406890
push 0x3a
lea ecx, [ebp - 0x18]
call fcn.00406890
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x68
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00406890
push 0x61
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x73
lea ecx, [ebp - 0x1c]
call fcn.00406890
push 0x68
lea ecx, [ebp - 0x1c]
call fcn.00406890
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
test ecx, ecx
je 0x443436
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jl 0x443436
push ecx
push eax
call fcn.005ce5b0
add esp, 8
test eax, eax
je 0x443436
mov ecx, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x443436
test ebx, ebx
je 0x4433ef
test eax, eax
js 0x4433ef
cmp eax, dword [ecx - 0xc]
jg 0x4433ef
add eax, ecx
push ebx
push eax
call fcn.005ce5b0
add esp, 8
test eax, eax
je 0x4433ef
sub eax, dword [ebp - 0x20]
jmp 0x4433f2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042ec50
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004182f0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x443433
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x34], eax
call fcn.0040a5a0
mov esi, dword [ebp - 0x24]
add eax, 0x10
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44346d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44348d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4434ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4434ca
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4434e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret 4