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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521937
mov eax, dword fs:[0]
push eax
sub esp, 0x740
mov eax, dword [0x55d184]
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 ecx, [ebp - 0x514]
call fcn.00436c20
push 0
push 0
push esi
lea ecx, [ebp - 0x514]
mov dword [ebp - 4], 0
call fcn.0043c1c0
push 0x84
lea eax, [ebp - 0x1a8]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x40c]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.004348c0
push 0x84
xor edi, edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa0]
xor esi, esi
push edi
push eax
call fcn.004cbbe0
add esp, 0xc
call fcn.00438d20
push eax
lea ecx, [ebp - 0xa0]
call fcn.004348c0
mov byte [ebp - 4], 2
call fcn.00438d30
mov ecx, eax
call fcn.004358e0
test al, al
je 0x44e1e3
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00434ed0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0xa0]
call fcn.00421810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44e170
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
jmp 0x44e42f
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x44e193
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
jmp 0x44e42f
push edi
mov dword [ebp - 0x18], 0
call fcn.0049be25
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
je 0x44e41c
push esi
call fcn.0049be2e
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
xor esi, esi
call fcn.00434b40
jmp 0x44e42f
call fcn.00438d30
push eax
lea ecx, [ebp - 0xa0]
call fcn.00434ed0
call fcn.00438fa0
test al, al
je 0x44e209
call fcn.00438d40
mov ebx, eax
jmp 0x44e2d7
push 0x84
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
call fcn.00438d50
push eax
lea ecx, [ebp - 0x22c]
call fcn.004348c0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00421810
mov dword [ebp - 0x748], eax
test eax, eax
je 0x44e29e
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x18], eax
inc eax
push eax
mov dword [ebp - 0x14], eax
call fcn.0049be25
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44e29e
push dword [ebp - 0x14]
push 0
push ebx
call fcn.004cbbe0
add esp, 0xc
push 0
push 0
push dword [ebp - 0x18]
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x748]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x44e2a0
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xa0]
call fcn.00421810
push eax
call fcn.00443260
add esp, 8
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x44e2c5
push ebx
call fcn.0049be2e
add esp, 4
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.00434b40
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x44e2ef
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
jmp 0x44e42f
push 0x84
lea eax, [ebp - 0x124]
mov dword [ebp - 0x1c], 0
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x124]
push eax
call fcn.004348c0
push 0x525d80
push 0x525b5c
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 4
call fcn.00435c40
lea eax, [ebp - 0x744]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea ecx, [ebp - 0x124]
call fcn.00421810
push eax
push ebx
call fcn.00442980
add esp, 0x14
test eax, eax
je 0x44e37c
lea ecx, [ebp - 0x124]
call fcn.00434b40
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
jmp 0x44e42f
mov edi, dword [ebp - 0x518]
test edi, edi
jne 0x44e3a5
lea ecx, [ebp - 0x124]
call fcn.00434b40
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
jmp 0x44e42f
push edi
call fcn.0049be25
push edi
mov esi, eax
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.00443860
add esp, 0x14
test eax, eax
je 0x44e3ff
cmp eax, 0x600
je 0x44e3ff
push esi
call fcn.0049be2e
add esp, 4
xor esi, esi
call fcn.00438fa0
test al, al
jne 0x44e3e3
push ebx
call fcn.004424e0
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.00434b40
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
jmp 0x44e42f
call fcn.00438fa0
test al, al
jne 0x44e411
push ebx
call fcn.004424e0
add esp, 4
lea ecx, [ebp - 0x124]
call fcn.00434b40
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.00434b40
test esi, esi
jne 0x44e4a1
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x1a8]
call fcn.00421810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44e4a1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x44e4a1
push edi
mov dword [ebp - 0x14], 0
call fcn.0049be25
add esp, 4
mov esi, eax
lea eax, [ebp - 0x14]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x44e4a1
push esi
call fcn.0049be2e
add esp, 4
xor esi, esi
xor ebx, ebx
test esi, esi
je 0x44e54f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x74c], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push esi
push eax
call fcn.004cb070
add esp, 0xc
mov dword [ebp - 0x748], 0
lea eax, [ebp - 0x748]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, dword [ebp - 0x748]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov ebx, eax
test ebx, ebx
je 0x44e52c
lea eax, [ebx + 4]
mov dword [ebx + 8], 0
push eax
mov dword [ebx + 0xc], 0
push edi
mov dword [ebx], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [ebx + 8], eax
mov dword [ebx + 8], 0
test eax, eax
je 0x44e546
mov eax, dword [ebp - 0x748]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x74c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ebx, ebx
push esi
call fcn.0049be2e
add esp, 4
lea ecx, [ebp - 0x1a8]
call fcn.00434b40
lea ecx, [ebp - 0x2b0]
call fcn.00434b40
lea ecx, [ebp - 0x388]
call fcn.00434b40
lea ecx, [ebp - 0x40c]
call fcn.00434b40
lea ecx, [ebp - 0x490]
call fcn.00434b40
lea ecx, [ebp - 0x514]
call fcn.00434b40
mov eax, ebx
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.0049be04
mov esp, ebp
pop ebp
ret