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

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x1c0
push 0xffffffffffffffff
push 0x4b82a8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x50a360]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1c8]
mov ebx, dword [ebp + 0x1cc]
mov esi, dword [ebp + 0x1d0]
mov dword [ebp - 0x24], ebx
test edi, edi
je 0x43d9a0
lea ecx, [ebp - 0x48]
call fcn.00475e73
push 0
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00475f0b
lea ecx, [ebp - 0x48]
test eax, eax
je 0x43d994
call fcn.00475a58
mov ecx, ebx
call fcn.00436090
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edi
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, 0xffffffff
je 0x43d991
test esi, esi
je 0x43d685
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x43d98a
cmp edi, 0xffffffff
je 0x43d98a
push edi
call fcn.00464376
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
je 0x43d98a
push 0
lea eax, [ebp - 0x2c]
push eax
push edi
push esi
push ebx
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4c8f00]
mov edx, dword [0x4c8efc]
mov ecx, dword [str.LCDTABLEBEGIN]
mov dword [ebp + 0x1a4], eax
mov eax, dword [str.LCDTABLEEND]
mov dword [ebp + 0x1a0], edx
mov dx, word [0x4c8f08]
mov dword [ebp + 0x19c], ecx
mov ecx, dword [0x4c8f04]
mov dword [ebp + 0x18c], eax
mov eax, dword [0x4c8ef4]
mov word [ebp + 0x1ac], dx
mov edx, dword [0x4c8ef0]
mov dword [ebp + 0x1a8], ecx
mov ecx, dword [0x4c8eec]
mov dword [ebp + 0x198], eax
mov al, byte [0x4c8ee4]
mov dword [ebp + 0x194], edx
mov edx, dword [0x4c8ee0]
mov dword [ebp + 0x190], ecx
mov ecx, dword [str.LCDNAME_]
mov byte [ebp + 0x1b8], al
lea eax, [ebp + 0x19c]
mov dword [ebp + 0x1b4], edx
mov dword [ebp + 0x1b0], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d764
push 0
sub eax, edx
push 0
lea eax, [ebp + eax + 0x19b]
push eax
lea ecx, [ebp + 0x19c]
push ecx
add edi, esi
push edi
push esi
call fcn.00416a50
push 0x108
lea edx, [ebp + 4]
push 0
push edx
mov ebx, eax
mov dword [ebp], 0
call fcn.00494750
push 0x7f
lea eax, [ebp + 0x10d]
push 0
push eax
mov byte [ebp + 0x10c], 0
call fcn.00494750
add esp, 0x30
cmp ebx, edi
jae 0x43d963
lea eax, [ebp + 0x18c]
mov dword [ebp - 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d7d0
push 0
sub eax, edx
push 0
lea eax, [ebp + eax + 0x18b]
push eax
lea ecx, [ebp + 0x18c]
push ecx
push edi
push ebx
call fcn.00416a50
mov esi, eax
add esp, 0x18
cmp esi, edi
jae 0x43d960
xor eax, eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
lea eax, [ebp + 0x19c]
mov dword [ebp - 0x14], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d815
mov edi, dword [ebp - 0x10]
sub eax, edx
mov dx, word [eax + edi]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push 0x4c8ed8
push ecx
mov word [ebp - 0x1c], dx
mov dword [ebp - 0x10], 0
call fcn.00497c91
mov ebx, dword [ebp - 0x10]
add esp, 0xc
test ebx, ebx
jle 0x43d960
lea eax, [ebp + 0x19c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d860
sub eax, edx
lea edi, [eax + edi + 2]
cmp edi, esi
jae 0x43d960
lea edx, [ebp + 0x1b0]
dec edx
mov dword [ebp - 0x30], edx
jmp 0x43d884
mov edx, dword [ebp - 0x30]
lea eax, [ebp + 0x1b0]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d890
push 0
sub eax, esi
add eax, edx
push 0
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp + 0x1b0]
push edx
push eax
push edi
call fcn.00416a50
mov esi, eax
add esp, 0x18
lea edi, [ebx + esi]
cmp esi, dword [ebp - 0x14]
jae 0x43d957
movzx edx, byte [edi]
push 0x80
mov ecx, edi
sub ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x10c]
push 0
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp], edx
call fcn.00494750
push ebx
lea ecx, [ebp + 0x10c]
push esi
push ecx
call fcn.00494d40
add esp, 0x18
lea edx, [ebp + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x43d91a
xor eax, eax
jmp 0x43d934
lea eax, [esi + esi]
call fcn.004947d0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x10c]
push ecx
push eax
call fcn.004010d0
lea edx, [ebp + 0xc]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x43d937
mov ecx, dword [ebp - 0x24]
lea edx, [ebp]
push edx
call fcn.0043cdc0
mov ebx, dword [ebp - 0x10]
cmp edi, dword [ebp - 0x14]
jb 0x43d881
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0046436b
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00475e9c
mov eax, dword [ebp - 0x20]
jmp 0x43d9a2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.00475e9c
xor eax, eax
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1bc]
xor ecx, ebp
call fcn.004945a7
add ebp, 0x1c0
mov esp, ebp
pop ebp
ret 0xc