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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd790
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x633ef8]
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 dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], 0
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x42483f
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x424866
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
push dword [edi + 0x1c]
push dword [edi + 0xc]
push str._s_s
push eax
call fcn.00415ec0
mov edi, dword [ebp - 0x24]
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 0x4248fb
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004163d0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4248d6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x424c20
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x424c20
push 0
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call fcn.004544f0
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
mov byte [eax + ebx], 0
push 0
push ecx
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42495e
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004544f9
add esp, 4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
call fcn.004163d0
or ebx, 0xffffffff
jmp 0x424be9
push 0x6097b3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.004160f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
push ebx
push 0x609340
push eax
call fcn.00415ec0
push ebx
call fcn.004544f9
add esp, 0x10
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x4249af
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x22
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0042d910
push 0x5b
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x67
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6c
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6f
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x62
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x61
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6c
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x5d
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x3a
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x7b
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x63
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x75
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x72
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x72
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x65
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6e
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x74
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x3a
lea ecx, [ebp - 0x14]
call fcn.0042d910
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x424aaf
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x68
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0042d910
push 0x61
lea ecx, [ebp - 0x18]
call fcn.0042d910
push 0x73
lea ecx, [ebp - 0x18]
call fcn.0042d910
push 0x68
lea ecx, [ebp - 0x18]
call fcn.0042d910
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
test ecx, ecx
je 0x424b83
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jl 0x424b83
push ecx
push eax
call fcn.0059bf87
add esp, 8
test eax, eax
je 0x424b83
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x424b83
test ebx, ebx
je 0x424b3e
test eax, eax
js 0x424b3e
cmp eax, dword [ecx - 0xc]
jg 0x424b3e
add eax, ecx
push ebx
push eax
call fcn.0059bf87
add esp, 8
test eax, eax
je 0x424b3e
sub eax, dword [ebp - 0x1c]
jmp 0x424b41
or eax, 0xffffffff
mov ecx, dword [ebp - 0x30]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00419890
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00416300
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424b80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
call fcn.004163d0
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424bad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424bcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424be9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x424c04
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x424c20
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
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.005892bc
mov esp, ebp
pop ebp
ret 4