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

Disassembly:
push 0xffffffffffffffff
push 0x501673
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
push ebp
push edi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 1
push closesocket
push eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x44e6eb
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
push ebx
push esi
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x30]
push ecx
push edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.004ec898
mov ebx, eax
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x14], ebx
je 0x44e743
mov dword [esp + 0x40], ebx
push ebp
lea edx, [esp + 0x38]
push edx
push esi
push ebx
push edi
mov byte [esp + 0x68], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44e765
push ebx
call fcn.004ede99
add esp, 4
cmp edi, ebp
je 0x44e74e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
mov edi, dword [ebx]
add edi, 8
mov eax, dword [ebx + edi - 4]
add ebx, edi
push eax
mov dword [esp + 0x60], eax
call fcn.004ec898
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x44e7ba
mov eax, dword [esp + 0x14]
push eax
call fcn.004ede99
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x44ea03
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x5c]
push ecx
push ebp
sub esi, edi
push esi
push ebx
mov byte [esp + 0x64], 2
call fcn.004174e0
mov edx, dword [esp + 0x6c]
mov ecx, dword [0x5451e0]
add esp, 0x10
push 3
push 0
push edx
push ebp
call fcn.00417320
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ebp]
mov eax, dword [esp + 0x24]
sub ecx, 4
add ebp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ecx
add eax, 0x18
mov edx, 0x200
jmp 0x44e810
mov esi, ebp
mov edi, eax
mov ecx, 0x200
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x5c]
sub ecx, 0x800
add ebp, 0x800
add eax, 0x800
dec edx
mov dword [esp + 0x5c], ecx
jne 0x44e810
test ebx, ebx
mov dword [esp + 0x28], 0
jbe 0x44e96f
jmp 0x44e850
mov edi, dword [esp + 0x5c]
mov ebx, dword [ebp]
sub edi, 4
push 0x38
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], edi
add ebp, 4
call fcn.004ec874
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x54], 3
je 0x44e89a
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.00456c80
mov dword [edi + 4], eax
mov eax, esi
mov dword [edi + 8], 0
mov dword [esp + 0x10], eax
jmp 0x44e8a6
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x5c]
mov esi, ebp
sub edi, 0x38
add ebp, 0x38
test eax, eax
mov byte [esp + 0x54], 2
mov dword [esp + 0x5c], edi
je 0x44e9b3
test esi, esi
je 0x44e9b3
mov ecx, dword [esi + 0x20]
mov edi, eax
mov dword [eax + 0x20], ecx
mov ecx, esi
sub edi, esi
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x44e8d7
test ebx, ebx
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], 0
jbe 0x44e93c
lea ebx, [eax + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
sub dword [esp + 0x5c], 4
mov esi, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov eax, ebp
push eax
push ecx
push esi
mov ecx, ebx
add ebp, 4
call fcn.004dfa70
push 1
mov ecx, ebx
mov edi, eax
call fcn.0044dfc0
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
dec eax
mov dword [edx], edi
mov dword [esp + 0x1c], eax
jne 0x44e900
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.0044e3d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x44e850
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44e980
push eax
call fcn.004ede99
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call fcn.004ede99
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x44e99c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
push 0x5157d8
push 0x1d6
push str.D:ProjectBranch1700ServerRylServerProjectRylGameLibraryMapFieldMapMineralVeinMgr.cpp
push str.CMineralVeinMgr::LoadMineralVeinsFromBinary
push 5
push 0x5637d0
call fcn.0040e630
mov eax, dword [esp + 0x44]
add esp, 0x18
test eax, eax
je 0x44e9e7
push eax
call fcn.004ede99
add esp, 4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ede99
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x44ea03
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov dword fs:[0], ecx
add esp, 0x48
ret 4