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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6ce8d4]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x90]
push 0xffffffffffffffff
push dword [0x6d4098]
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x2cc], esi
mov word [ebp - 0x90], ax
call fcn.0040d840
mov dword [ebp - 4], 0
mov eax, dword [0x6d4120]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp word [eax], 0
jne 0x44b380
test esi, esi
je 0x44b2bb
push esi
lea ecx, [ebp - 0x94]
call fcn.0040d710
push 0
push 0x80
push 3
push 0
push 1
push bind
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44b309
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x44b520
push eax
call fcn.005e0980
add esp, 4
jmp 0x44b520
push 0
push esi
call ebx
mov edi, eax
test edi, edi
je 0x44b2e0
push edi
mov dword [ebp - 0x2c8], 0
call fcn.005bd22a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x44b4f2
push ebx
call fcn.005bd233
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x44b51a
push eax
call fcn.005e0980
add esp, 4
jmp 0x44b51a
push eax
lea ecx, [ebp - 0x94]
call fcn.0040d710
cmp byte [0x6dc404], 0
je 0x44b39d
mov esi, dword [0x6dc400]
jmp 0x44b40c
mov esi, dword [ebp - 0x94]
push 0x340
call fcn.005bd1e9
add esp, 4
mov edi, eax
mov dword [ebp - 0x2d0], edi
mov ecx, edi
push 2
push 0
push esi
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x134], 0xffffffff
call fcn.00433840
mov dword [0x6dc458], eax
test eax, eax
je 0x44b3f7
push 0x340
push edi
call fcn.005bd21c
add esp, 8
jmp 0x44b2e0
push 8
call fcn.005bd1e9
mov esi, eax
add esp, 4
mov dword [esi], 1
mov dword [esi + 4], edi
mov dword [ebp - 0x2c8], esi
test esi, esi
je 0x44b2e0
mov edx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
mov ecx, esi
call fcn.004341d0
add esp, 0xc
test eax, eax
jne 0x44b2e0
mov edi, dword [ebp - 0x98]
test edi, edi
je 0x44b2e0
push edi
call fcn.005bd22a
add esp, 4
mov ebx, eax
cmp dword [esi], 1
je 0x44b46b
mov dword [0x6dc458], 0x80000
jmp 0x44b48c
push ecx
mov ecx, dword [esi + 4]
push edi
push ebx
push dword [ebp - 0x2d0]
call fcn.00433ff0
mov dword [0x6dc458], eax
test eax, eax
je 0x44b4ae
cmp eax, 0x600
je 0x44b4ae
push ebx
call fcn.005bd233
add esp, 4
cmp byte [0x6dc404], 0
jne 0x44b357
mov ecx, esi
call fcn.00434370
jmp 0x44b357
cmp byte [0x6dc404], 0
jne 0x44b4f2
cmp dword [esi], 1
je 0x44b4c8
mov dword [0x6dc458], 0x80000
jmp 0x44b4f2
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.004340f0
push 0x340
push esi
mov dword [0x6dc458], eax
call fcn.005bd21c
push 8
push dword [ebp - 0x2c8]
call fcn.005bd21c
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0x94]
cmp eax, ecx
je 0x44b512
push eax
call fcn.005e0980
add esp, 4
test ebx, ebx
jne 0x44b59b
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0x80
push 3
push 0
push 1
push bind
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44b597
push 0
push esi
call ebx
mov edi, eax
test edi, edi
je 0x44b597
push edi
mov dword [ebp - 0x2cc], 0
call fcn.005bd22a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x2cc]
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x44b593
push ebx
call fcn.005bd233
add esp, 4
xor eax, eax
jmp 0x44b5b1
test ebx, ebx
jne 0x44b59b
xor eax, eax
jmp 0x44b5b1
push edi
push ebx
call fcn.0044b5d0
push 1
push ebx
mov esi, eax
call fcn.005bd21c
add esp, 8
mov eax, esi
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.005bd4a0
mov esp, ebp
pop ebp
ret 4