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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 - 0x28], 0
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x424c9c
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
jne 0x424cea
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004163d0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425029
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x425029
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x424d2d
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004163d0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x42501f
push 0
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.004544f0
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [eax + edi], 0
push 0
push ecx
push edi
mov edi, dword [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x424d7c
push dword [ebp - 0x14]
call fcn.004544f9
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424d08
push 0x6097b3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
call fcn.004160f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
push 0x609340
push eax
call fcn.00415ec0
push dword [ebp - 0x14]
call fcn.004544f9
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x424dcc
push 0x80004005
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x75
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0042d910
push 0x73
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x65
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x72
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x5f
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x70
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 0x66
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x28
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x62
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x72
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6f
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x77
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x73
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x65
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x72
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x73
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x74
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x61
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x72
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x74
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x75
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x70
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x2e
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x68
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6f
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x6d
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x65
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x70
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x61
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x67
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x65
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0042d910
push 0x2c
lea ecx, [ebp - 0x14]
call fcn.0042d910
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x424fc6
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
jl 0x424fc6
push edi
push eax
call fcn.0059bf87
add esp, 8
test eax, eax
je 0x424fc6
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x424fc6
push eax
push 0x60cc50
lea ecx, [ebp - 0x1c]
call fcn.0040aec0
mov ecx, dword [ebp - 0x24]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00419890
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00416300
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004163d0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424fef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42500d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x425029
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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