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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
test byte [0x72a765e8], 8
jne 0x72a631e0
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call sym._CreateFileW_28
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x72a63312
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._GetFileSize_8
sub esp, 8
mov edi, eax
mov dword [esp], eax
call sym._DllAllocSplMem_4
sub esp, 4
mov esi, eax
test eax, eax
je 0x72a63220
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._ReadFile_20
sub esp, 0x14
test eax, eax
je 0x72a63270
cmp dword [esi], 0x4968
jne 0x72a631b0
cmp dword [esi + 4], 0x78
jne 0x72a631b0
mov eax, dword [esi + 0x24]
mov dword [esp + 8], 0
mov dword [esp], 0x72a7cdc0
add eax, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
call sym._LookupElementSkiplist
test eax, eax
je 0x72a63370
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x1c], eax
add edi, esi
mov dword [esp], edi
call sym._FindPrintProcessor
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x72a633a0
mov dword [esp], 0x60
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
call sym._DllAllocSplMem_4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
sub esp, 4
test eax, eax
mov edi, eax
je 0x72a633cd
mov eax, dword [esi + 0xc]
mov dword [edi], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x2c]
add eax, esi
mov dword [esp], eax
call sym._DuplicateDevMode
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x34]
add eax, esi
mov dword [esp], eax
call sym._AllocSplStr_4
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x70]
sub esp, 4
add eax, esi
mov dword [esp], eax
call sym._AllocSplStr_4
mov dword [edi + 0x58], eax
sub esp, 4
lea eax, [esi + 0x3c]
mov dword [esp + 4], eax
lea eax, [edi + 0x18]
mov dword [esp + 8], 0x10
mov dword [esp], eax
call sym._memmove
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x72a63459
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x72a63444
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x72a6342f
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x72a6341a
or byte [edi + 4], 1
jmp 0x72a631bf
test byte [0x72a765e8], 2
jne 0x72a632d0
xor edi, edi
mov dword [esp], esi
call sym._DllFreeSplMem_4
sub esp, 4
mov dword [esp], ebx
call sym._CloseHandle_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], str.ReadJobShadowFile__S__n
mov dword [esp + 0x10], 0x4b0
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.ReadJobShadowFile
mov dword [esp + 8], 0x72a77301
mov dword [esp + 4], 0x72a765e8
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x72a62fe6
xor edi, edi
test byte [0x72a765e8], 2
je 0x72a631ca
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], str.DllAllocSplMem_failed_for_file___S___n
mov dword [esp + 0x10], 0x4bf
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.ReadJobShadowFile
mov dword [esp + 8], 0x72a77301
mov dword [esp + 4], 0x72a765e8
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a631ca
test byte [0x72a765e8], 2
je 0x72a631bd
call sym._GetLastError_0
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], str.ReadFile_failed_with_error__lu_for_file___S___n
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0x4c6
mov dword [esp + 0xc], str.ReadJobShadowFile
xor edi, edi
mov dword [esp + 8], 0x72a77301
mov dword [esp + 4], 0x72a765e8
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a631bf
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], str.Signature_or_Header_Size_mismatch_for_file___S___n
xor edi, edi
mov dword [esp + 0x10], 0x4cd
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.ReadJobShadowFile
mov dword [esp + 8], 0x72a77301
mov dword [esp + 4], 0x72a765e8
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a631bf
xor edi, edi
test byte [0x72a765e8], 2
je 0x72a631d5
call sym._GetLastError_0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], str.CreateFileW_failed_with_error__lu_for_file___S___n
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], 0x4b6
mov dword [esp + 0xc], str.ReadJobShadowFile
mov dword [esp + 8], 0x72a77301
mov dword [esp + 4], 0x72a765e8
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a631d5
test byte [0x72a765e8], 2
je 0x72a631bd
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], str.Shadow_file___S__references_a_non_existing_printer___S___n
mov dword [esp + 0x10], 0x4d6
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
jmp 0x72a6329d
test byte [0x72a765e8], 2
je 0x72a631bd
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], str.Shadow_file___S__references_a_non_existing_Print_Processor___S___n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x4df
jmp 0x72a6329d
test byte [0x72a765e8], 2
je 0x72a631bd
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], str.DllAllocSplMem_failed_for_file___S___n
mov dword [esp + 0x10], 0x4e7
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], str.ReadJobShadowFile
mov dword [esp + 8], 0x72a77301
mov dword [esp + 4], 0x72a765e8
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a631bf
add eax, esi
mov dword [esp], eax
call sym._AllocSplStr_4
sub esp, 4
mov dword [edi + 0x28], eax
jmp 0x72a631a3
add eax, esi
mov dword [esp], eax
call sym._AllocSplStr_4
sub esp, 4
mov dword [edi + 0x3c], eax
jmp 0x72a63198
add eax, esi
mov dword [esp], eax
call sym._AllocSplStr_4
sub esp, 4
mov dword [edi + 0x2c], eax
jmp 0x72a6318d
add eax, esi
mov dword [esp], eax
call sym._AllocSplStr_4
sub esp, 4
mov dword [edi + 0x30], eax
jmp 0x72a63182