Function at 0x45feba
Capabilities:
Create thread

Disassembly:
push 0x9c
mov eax, 0x623f9c
call fcn.005b83bf
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x8c]
push 0
push 0
push 0x97
mov edi, str.HPXS::CScanPageObject::ProcessScannedImage
mov dword [ebp - 0xa8], esi
push edi
push 0x129ab84
push dword [0x12992f8]
call fcn.0041f881
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, ecx
mov dword [ebp - 0x90], eax
cmp dword [ebx + 0x29c], ecx
jne 0x4601d6
cmp byte [ebx + 0x2d8], al
je 0x4601d6
cmp dword [ebp + 0xc], eax
je 0x45ff2d
cmp dword [ebp + 0xc], 1
jne 0x4601d6
lea esi, [ebx + 0x268]
cmp dword [esi + 0x14], 8
jb 0x45ff3d
mov eax, dword [esi]
jmp 0x45ff3f
mov eax, esi
push eax
push 0x104
push ebx
call fcn.005c1f86
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x45ff56
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042aa90
push ebx
push edi
push str._s_m_ImageProps.Filename_s
push 0xa3
mov esi, 0x200
mov byte [ebp - 4], 1
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.0041fc07
add esp, 0x18
lea ecx, [ebp - 0x94]
push str..BMP
call fcn.004485ee
test eax, eax
je 0x45ffbb
push str..bmp
lea ecx, [ebp - 0x94]
call fcn.004485ee
test eax, eax
je 0x45ffbb
push 2
pop eax
jmp 0x45ffbe
xor eax, eax
inc eax
push 0
mov ecx, ebx
mov dword [ebx + 0x208], eax
call fcn.004605e7
test al, al
je 0x45ffd9
mov eax, dword [ebx + 0x2dc]
jmp 0x45ffe0
mov ecx, ebx
call fcn.00460635
push eax
push edi
push str._s_m_ImageProps.Resolution_ld
push 0xa7
mov dword [ebx + 0x20c], eax
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.0041fc07
mov ecx, dword [0x1298dd0]
add esp, 0x18
mov eax, dword [ecx]
push 0xc8
call dword [eax + 8]
mov ecx, dword [0x1298dd0]
mov dword [ebx + 0x210], eax
push 0x2ec
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1298dd0]
mov dword [ebx + 0x21c], eax
push 0x2e6
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x1298dd0]
fstp qword [ebx + 0x220]
push 0x2e7
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x1298dd0]
fstp qword [ebx + 0x228]
push 0x2e8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x1298dd0]
fstp qword [ebx + 0x230]
push 0x2ee
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x1298dd0]
fstp qword [ebx + 0x238]
push 0x2ea
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x1298dd0]
fstp qword [ebx + 0x240]
push 0x2eb
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebx + 0x298]
lea edx, [ebp - 0x90]
fstp qword [ebx + 0x248]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x90]
mov dword [ebx + 0x29c], eax
test esi, esi
je 0x4600e8
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00420efd
jmp 0x460251
mov ecx, dword [0x1298dd0]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ecx, dword [0x1298dd0]
and dword [ebp - 0x98], 0
and dword [ebp - 0x9c], 0
push 0x2cc
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x1298dd0]
mov dword [ebp - 0xa4], eax
push 0x2cd
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebx + 0x298]
lea edx, [ebp - 0x90]
push edx
sub esp, 0x10
mov dword [ebp - 0xa0], eax
mov edi, esp
lea esi, [ebp - 0xa4]
mov eax, dword [ecx]
push 0x75
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x18]
lea eax, [ebp - 0x90]
mov esi, 0x1299418
push eax
push dword [ebx + 0x2a8]
mov ecx, esi
push 0x209
call fcn.0045a5de
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
push dword [ebx + 0x2ac]
push 0x208
call fcn.0045a5de
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
push dword [ebx + 0x2b0]
push 0x20a
call fcn.0045a5de
cmp dword [ebp + 0xc], 1
jne 0x4601b1
mov ecx, dword [ebx + 0x298]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00420efd
mov eax, dword [ebp - 0x90]
xor ecx, ecx
mov esi, dword [ebp - 0xa8]
mov edi, str.HPXS::CScanPageObject::ProcessScannedImage
cmp dword [ebp + 0xc], 0
je 0x4601e2
cmp dword [ebp + 0xc], 2
jne 0x46022b
mov eax, dword [ebx + 0x298]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
push eax
push ecx
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
push eax
push 0x460266
push ecx
push ecx
mov dword [ebp - 0x98], ecx
call fcn.005ce3c0
add esp, 0x18
mov ecx, eax
call fcn.00434a8a
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x90], eax
push eax
push edi
push str._s_Err_ld
push 0xd9
lea eax, [ebp - 0x8c]
push 0x200
push eax
call fcn.0041fc07
mov esi, dword [ebp - 0x90]
add esp, 0x18
lea ecx, [ebp - 0x8c]
call fcn.0041f95a
mov eax, esi
call fcn.005b8369
ret 8