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

Disassembly:
push 0x3dc
mov eax, 0x512b0b
call fcn.004d18f8
mov dword [ebp - 0x1b4], ecx
xor ebx, ebx
lea eax, [ebp - 0xa0]
push 0x84
push ebx
push eax
mov esi, ebx
mov edi, ebx
call fcn.004e8520
add esp, 0xc
lea ecx, [ebp - 0xa0]
push 0x558010
call fcn.0041a4d0
mov dword [ebp - 4], ebx
mov eax, dword [0x557f80]
cmp word [eax], bx
jne 0x43c3b9
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x43c33a
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041a533
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x43c372
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0041a4f5
jmp 0x43c538
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x43c35e
push edi
mov dword [ebp - 0x18], ebx
call fcn.004d09be
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
je 0x43c525
push esi
call fcn.004d04e6
pop ecx
mov esi, ebx
jmp 0x43c35e
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041a533
cmp byte [0x557ec0], 0
je 0x43c3d8
mov eax, dword [0x55ca90]
mov dword [ebp - 0x14], eax
jmp 0x43c443
push 0x84
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.004e8520
add esp, 0xc
lea ecx, [ebp - 0x1b0]
push 0x557ef8
call fcn.0041a4d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b0]
call fcn.00413539
mov ecx, dword [ebp - 0xa0]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x18], eax
call fcn.0044700f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
test eax, eax
je 0x43c432
push eax
call fcn.004d04e6
pop ecx
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], bl
call fcn.0041a4f5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43c35e
push 0x84
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], ebx
push ebx
push eax
call fcn.004e8520
add esp, 0xc
lea ecx, [ebp - 0x128]
push 0xffffffffffffffff
push dword [ebp - 0x1b4]
call fcn.0041a4ac
push 0x53c200
push 0x53b2d8
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call fcn.0041a90b
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004470d6
add esp, 0xc
test eax, eax
je 0x43c4c0
lea ecx, [ebp - 0x128]
call fcn.0041a4f5
jmp 0x43c35e
mov edi, dword [ebp - 0x1bc]
test edi, edi
je 0x43c4b0
push edi
call fcn.004d09be
mov edx, dword [ebp - 0x18]
mov esi, eax
mov ecx, dword [ebp - 0x14]
push edi
push esi
call fcn.00447109
add esp, 0xc
test eax, eax
je 0x43c509
cmp eax, 0x600
je 0x43c509
push esi
call fcn.004d04e6
cmp byte [0x557ec0], 0
mov esi, ebx
pop ecx
jne 0x43c4b0
mov ecx, dword [ebp - 0x14]
call fcn.0044713a
jmp 0x43c4b0
cmp byte [0x557ec0], 0
jne 0x43c51a
mov ecx, dword [ebp - 0x14]
call fcn.0044713a
lea ecx, [ebp - 0x128]
call fcn.0041a4f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0041a4f5
test esi, esi
jne 0x43c5aa
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0x1b4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1b4], eax
cmp eax, 0xffffffff
je 0x43c5a6
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x43c5a6
push edi
mov dword [ebp - 0x14], ebx
call fcn.004d09be
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push dword [ebp - 0x1b4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1b4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x43c5a6
push esi
call fcn.004d04e6
pop ecx
mov esi, ebx
test esi, esi
je 0x43c5bc
mov edx, edi
mov ecx, esi
call fcn.0043c5c4
push esi
mov ebx, eax
call fcn.004d04e6
pop ecx
mov eax, ebx
call fcn.004d18a2
ret