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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f61c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
mov dword [ebp - 0x4b8], ecx
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
call fcn.0043c230
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00401900
mov byte [ebp - 4], 3
mov byte [ebp - 0x49c], 0
mov dword [0x53a030], 1
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0xffffffff
jne 0x4444ff
mov dword [ebp - 0x4ac], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401840
mov eax, dword [ebp - 0x4ac]
jmp 0x4447f7
push 0
mov ecx, dword [ebp - 0x498]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
push 0x1000
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x444572
mov dword [ebp - 0x4b0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401840
mov eax, dword [ebp - 0x4b0]
jmp 0x4447f7
mov dword [ebp - 0x2c], 0
mov edx, 1
test edx, edx
je 0x4446b2
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
jb 0x444593
jmp 0x4446b2
cmp dword [ebp - 0x10], 0x1000
jae 0x4445a7
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4bc], ecx
jmp 0x4445b1
mov dword [ebp - 0x4bc], 0x1000
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x4a0], edx
push 0
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x4a0]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4a0], ecx
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x4a4], 0
jmp 0x444614
mov eax, dword [ebp - 0x4a4]
add eax, 1
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [ebp - 0x4a0]
jae 0x44463b
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x4a4]
mov al, byte [ebp - 0x49c]
add al, byte [edx]
mov byte [ebp - 0x49c], al
jmp 0x444605
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [ebp - 0x4a0]
jae 0x4446a1
mov edx, dword [ebp - 0x4a0]
sub edx, dword [ebp - 0x90]
mov dword [ebp - 0x4a8], edx
mov eax, dword [ebp - 0x4a0]
sub eax, dword [ebp - 0x90]
cmp dword [ebp - 0x4a8], eax
jae 0x44468f
mov ecx, dword [ebp - 0x4a0]
sub ecx, dword [ebp - 0x90]
sub ecx, dword [ebp - 0x4a8]
mov edx, dword [ebp - 0x4a8]
add edx, ecx
mov dword [ebp - 0x4a8], edx
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x90]
mov dword [ebp - 0x2c], ecx
jmp 0x444579
mov edx, dword [ebp - 0x498]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 1
jle 0x44470a
mov eax, dword [ebp - 0x49c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x5220cc
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x522104
push 0x522110
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x444734
mov edx, dword [ebp - 0x49c]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x522130
lea edx, [ebp - 0x494]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.004e819a
mov byte [ebp - 4], 4
cmp dword [ebp + 0x10], 1
jle 0x444779
cmp dword [ebp + 0x14], 0
je 0x444779
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x4b8]
call fcn.004442e9
jmp 0x444798
mov edx, dword [ebp + 0x14]
push edx
push 0
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x4b8]
call fcn.004442e9
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x4b4], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.004e812c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401840
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10