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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c8ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
call fcn.0041bb40
lea ecx, [ebp - 0x40]
call fcn.0041fca0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x429b2b
lea edx, [ebp - 0x40]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x60]
call fcn.0041bb40
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041f850
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041fac0
mov eax, dword [ebp + 8]
jmp 0x429cd8
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x429b99
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0041bb40
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041f850
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041fac0
mov eax, dword [ebp + 8]
jmp 0x429cd8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x44]
ja 0x429bb5
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f5f0
jmp 0x429bc6
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0041fd30
lea edx, [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 0x10
jb 0x429be4
mov dword [ebp - 0x48], 1
jmp 0x429beb
mov dword [ebp - 0x48], 0
mov dl, byte [ebp - 0x48]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x429c07
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x429c41
cmp dword [ebp - 0x20], 0xffffffff
jne 0x429c55
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x40]
call fcn.0041f5f0
mov byte [ebp - 4], 0
jmp 0x429c88
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x50]
ja 0x429c77
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
call fcn.0041f5f0
jmp 0x429c88
push 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041fd30
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x84]
call fcn.0041bb40
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041f850
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0041fac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret