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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6422
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x63c
mov dword [ebp - 0x644], ecx
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
call fcn.0043c230
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00401900
mov byte [ebp - 4], 2
mov byte [ebp - 0x628], 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 - 0x624], eax
cmp dword [ebp - 0x624], 0xffffffff
jne 0x4487e3
mov dword [ebp - 0x638], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401840
mov eax, dword [ebp - 0x638]
jmp 0x448ae8
push 0
mov ecx, dword [ebp - 0x624]
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 0x44884a
mov dword [ebp - 0x63c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401840
mov eax, dword [ebp - 0x63c]
jmp 0x448ae8
mov dword [ebp - 0x2c], 0
mov edx, 1
test edx, edx
je 0x44898a
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
jb 0x44886b
jmp 0x44898a
cmp dword [ebp - 0x10], 0x1000
jae 0x44887f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x648], ecx
jmp 0x448889
mov dword [ebp - 0x648], 0x1000
mov edx, dword [ebp - 0x648]
mov dword [ebp - 0x62c], edx
push 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x62c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x62c], ecx
mov edx, dword [ebp - 0x62c]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x630], 0
jmp 0x4488ec
mov eax, dword [ebp - 0x630]
add eax, 1
mov dword [ebp - 0x630], eax
mov ecx, dword [ebp - 0x630]
cmp ecx, dword [ebp - 0x62c]
jae 0x448913
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x630]
mov al, byte [ebp - 0x628]
add al, byte [edx]
mov byte [ebp - 0x628], al
jmp 0x4488dd
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x62c]
jae 0x448979
mov edx, dword [ebp - 0x62c]
sub edx, dword [ebp - 0x8c]
mov dword [ebp - 0x634], edx
mov eax, dword [ebp - 0x62c]
sub eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x634], eax
jae 0x448967
mov ecx, dword [ebp - 0x62c]
sub ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x634]
mov edx, dword [ebp - 0x634]
add edx, ecx
mov dword [ebp - 0x634], edx
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x634]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], ecx
jmp 0x448851
mov edx, dword [ebp - 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 1
jle 0x4489e2
mov eax, dword [ebp - 0x628]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._PJL_PSMULTIDOWNLOADFORM_NAME_s_SIZE_d_CHECKSUM_d_r_n
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x523448
push str._s_PJL_FLASH_MULTIJOBEND_r_n
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x448a0c
mov edx, dword [ebp - 0x628]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._PJL_PSDOWNLOADFORM_NAME_s_SIZE_d_CHECKSUM_d_r_n
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x90]
call fcn.004e819a
mov byte [ebp - 4], 3
cmp dword [ebp + 0x10], 1
jle 0x448a51
cmp dword [ebp + 0x14], 0
je 0x448a51
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x644]
call fcn.00448f82
jmp 0x448a70
mov edx, dword [ebp + 0x14]
push edx
push 0
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x644]
call fcn.00448af8
mov edx, dword [ebp + 8]
push edx
push str.______________1pszFormPath___s
call fcn.0044e760
add esp, 8
lea eax, [ebp - 0x220]
push eax
push str.____________________strWriteBuffer___s
call fcn.0044e760
add esp, 8
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x640], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401840
mov eax, dword [ebp - 0x640]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10