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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4331f9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ecx + 0xc], eax
jbe 0x414680
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3c], eax
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], ebx
cmp eax, dword [ecx + 0xc]
jae 0x414694
push ebx
push 0x80
push 3
push ebx
lea edx, [eax*4]
mov eax, dword [ecx + 8]
push 7
push SysReAllocString
push dword [eax + edx]
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x414479
call fcn.00414b80
test eax, eax
jne 0x41449a
jmp 0x41447e
mov ebx, eax
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
jne 0x4144a6
call fcn.00414b80
test eax, eax
jns 0x4144a6
mov dword [ebp - 4], 0xffffffff
jmp 0x41465f
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
shrd edi, eax, 1
shr eax, 1
inc edi
mov dword [ebp - 0x24], 0
js 0x414694
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4144f4
push edi
lea ecx, [ebp - 0x1c]
call fcn.004026b0
mov esi, dword [ebp - 0x1c]
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x4c]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x414540
call fcn.00414b80
test eax, eax
je 0x414540
push dword [esi - 8]
push esi
call fcn.00420547
add esp, 8
test eax, eax
js 0x414694
cmp eax, dword [esi - 8]
jg 0x414694
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov byte [ebp - 4], cl
jmp 0x414638
cmp edi, 0xffffffff
jne 0x414553
push dword [esi - 8]
push esi
call fcn.00420547
add esp, 8
mov edi, eax
test edi, edi
js 0x414694
cmp edi, dword [esi - 8]
jg 0x414694
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ecx + 0xc]
jae 0x414694
mov eax, dword [ecx + 8]
add eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004028c0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 2
push 0x43d5e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004032b0
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.004032b0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
call fcn.00414aa0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x4145f4
push edi
lea ecx, [eax + 8]
call fcn.00403130
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov dword [eax], 0
mov ecx, dword [edx + 4]
inc dword [edx + 8]
test ecx, ecx
je 0x414611
mov dword [ecx], eax
jmp 0x414613
mov dword [edx], eax
add edi, 0xfffffff0
mov dword [edx + 4], eax
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414634
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414652
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x41466d
push ebx
call esi
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ecx + 0xc]
jb 0x414432
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402950
int3