Function at 0x465483
Capabilities:
Create thread

Disassembly:
push 0x9c
mov eax, 0x667bcc
call fcn.005bea6f
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 0x12fc780
push dword [0x12fa964]
call fcn.004203f9
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, ecx
mov dword [ebp - 0x90], eax
cmp dword [ebx + 0x29c], ecx
jne 0x46579f
cmp byte [ebx + 0x2d8], al
je 0x46579f
cmp dword [ebp + 0xc], eax
je 0x4654f6
cmp dword [ebp + 0xc], 1
jne 0x46579f
lea esi, [ebx + 0x268]
cmp dword [esi + 0x14], 8
jb 0x465506
mov eax, dword [esi]
jmp 0x465508
mov eax, esi
push eax
push 0x104
push ebx
call fcn.005ea3e6
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x46551f
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042da7f
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.0042077f
add esp, 0x18
lea ecx, [ebp - 0x94]
push str..BMP
call fcn.0044dbc8
test eax, eax
je 0x465584
push str..bmp
lea ecx, [ebp - 0x94]
call fcn.0044dbc8
test eax, eax
je 0x465584
push 2
pop eax
jmp 0x465587
xor eax, eax
inc eax
push 0
mov ecx, ebx
mov dword [ebx + 0x208], eax
call fcn.00465bb0
test al, al
je 0x4655a2
mov eax, dword [ebx + 0x2dc]
jmp 0x4655a9
mov ecx, ebx
call fcn.00465bfe
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.0042077f
mov ecx, dword [0x12fa704]
add esp, 0x18
mov eax, dword [ecx]
push 0xc8
call dword [eax + 8]
mov ecx, dword [0x12fa704]
mov dword [ebx + 0x210], eax
push 0x2ec
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x12fa704]
mov dword [ebx + 0x21c], eax
push 0x2e6
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x12fa704]
fstp qword [ebx + 0x220]
push 0x2e7
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x12fa704]
fstp qword [ebx + 0x228]
push 0x2e8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x12fa704]
fstp qword [ebx + 0x230]
push 0x2ee
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x12fa704]
fstp qword [ebx + 0x238]
push 0x2ea
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x12fa704]
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 0x4656b1
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00421aa2
jmp 0x46581a
mov ecx, dword [0x12fa704]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ecx, dword [0x12fa704]
and dword [ebp - 0x98], 0
and dword [ebp - 0x9c], 0
push 0x2cc
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x12fa704]
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, 0x12fb030
push eax
push dword [ebx + 0x2a8]
mov ecx, esi
push 0x209
call fcn.0045fba5
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
push dword [ebx + 0x2ac]
push 0x208
call fcn.0045fba5
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
push dword [ebx + 0x2b0]
push 0x20a
call fcn.0045fba5
cmp dword [ebp + 0xc], 1
jne 0x46577a
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.00421aa2
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 0x4657ab
cmp dword [ebp + 0xc], 2
jne 0x4657f4
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 0x46582f
push ecx
push ecx
mov dword [ebp - 0x98], ecx
call fcn.005f6863
add esp, 0x18
mov ecx, eax
call fcn.00439cfa
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.0042077f
mov esi, dword [ebp - 0x90]
add esp, 0x18
lea ecx, [ebp - 0x8c]
call fcn.004204d2
mov eax, esi
call fcn.005bea19
ret 8