Function at 0x487140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62a68b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x8d600c]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x180]
push 0
push 0
push 0xad9
push str.HPXS::CeSCLDevManager::ProcessScanParameters
push 0x129b5b8
push dword [0x12992f8]
call fcn.0041f881
push 0xe8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x108]
push 0
push eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
call fcn.005b9760
add esp, 0xc
cmp byte [ebx + 4], 0
jne 0x4871f1
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x178], 0x8000ffff
call fcn.0041f95a
mov eax, 0x8000ffff
jmp 0x487938
movzx eax, word [esi + 0x28]
xor ecx, ecx
mov edi, dword [esi]
test edi, edi
mov word [ebp - 0xee], ax
setne cl
mov word [ebp - 0xec], ax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x184], ecx
mov word [ebp - 0xe8], cx
cmp eax, 0x101
je 0x487257
cmp eax, 0x802
je 0x487244
cmp eax, 0x1803
jne 0x487281
mov dword [ebp - 0xf8], 1
mov byte [ebp - 0xf0], 8
jmp 0x487281
mov dword [ebp - 0xf8], 2
mov byte [ebp - 0xf0], 8
jmp 0x487268
mov dword [ebp - 0xf8], 4
mov byte [ebp - 0xf0], 1
push dword [esi + 0x28]
push ecx
push ecx
mov ecx, ebx
call fcn.00485ef0
mov ecx, dword [ebp - 0x184]
mov word [ebp - 0xea], ax
movsd xmm2, qword [0x8726d8]
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [0x872580]
mulsd xmm0, xmm2
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movsd xmm0, qword [esi + 8]
mulsd xmm0, xmm2
mov dword [ebp - 0x1a8], eax
addsd xmm0, xmm1
cvttsd2si edx, xmm0
movsd xmm0, qword [esi + 0x18]
mulsd xmm0, xmm2
mov dword [ebp - 0x198], edx
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movsd xmm0, qword [esi + 0x20]
mulsd xmm0, xmm2
mov dword [ebp - 0x188], eax
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [ebp - 0x1ac], eax
cmp edi, 1
jne 0x48730b
cmp word [ebx + 0x6dc], 3
jne 0x48730b
movzx eax, word [ebx + 0x6de]
add edx, eax
mov dword [ebp - 0x198], edx
xor edi, edi
cmp dword [esi], 1
mov dword [ebp - 0x1a0], edi
jne 0x487363
cmp byte [esi + 4], 0
je 0x487363
mov eax, dword [ebx + 0x694]
mov edx, dword [ebx + 0x698]
mov ecx, dword [ebx + 0x6e4]
cmp ecx, edx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebx + 0x690]
mov dword [ebp - 0x190], eax
mov eax, dword [ebx + 0x69c]
mov dword [ebp - 0x194], eax
mov eax, edx
cmovg eax, ecx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x184], eax
jmp 0x4873be
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x1a4]
push eax
push ecx
mov ecx, ebx
call fcn.00485b10
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x18c], eax
cmp dword [esi], 1
jne 0x4873ec
lea eax, [ebp - 0x1a4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00485880
mov edi, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x198]
cmp ecx, eax
mov edx, dword [ebp - 0x188]
cmovg ecx, eax
cmp edx, dword [ebp - 0x18c]
mov dword [ebp - 0x198], ecx
cmovl edx, dword [ebp - 0x18c]
mov dword [ebp - 0x188], edx
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x188]
sub edx, ecx
mov ecx, dword [ebp - 0x1a8]
cmp eax, edx
cmovg eax, edx
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x188], eax
mov eax, edx
sub eax, dword [ebp - 0x194]
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [ebp - 0x1ac]
cmp eax, dword [ebp - 0x194]
cmovl eax, dword [ebp - 0x194]
cmp dword [esi], 1
jne 0x48747e
cmp byte [esi + 0x55], 0
jne 0x487480
cmp byte [esi + 0x54], 0
mov edi, dword [ebp - 0x184]
jne 0x487480
mov edi, edx
mov edx, dword [ebp - 0x198]
sub edi, ecx
cmp eax, edi
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x188]
cmovg eax, edi
mov dword [ebp - 0x108], edx
cmp dword [esi], 1
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], eax
jne 0x487578
cmp byte [esi + 4], 0
je 0x4874be
or dword [ebp - 0x20], 1
push dword [ebx + 0x5b0]
movzx eax, byte [esi + 0x6c]
push eax
push str.Multipage_Flow___d__ADFOptions___d
push 0xb48
lea eax, [ebp - 0x180]
push 0x200
push eax
call fcn.0041fc07
mov ecx, dword [ebp - 0x20]
add esp, 0x18
cmp byte [esi + 0x6c], 0
je 0x487503
test byte [ebx + 0x5b0], 4
je 0x4874fe
or ecx, 4
jmp 0x487515
or ecx, 2
jmp 0x487515
mov eax, ecx
or ecx, 4
or eax, 2
test byte [ebx + 0x5b0], 2
cmovne ecx, eax
cmp byte [esi + 0x49], 0
mov dword [ebp - 0x20], ecx
je 0x487527
or ecx, 0x200
mov dword [ebp - 0x20], ecx
cmp byte [esi + 0x4a], 0
je 0x487536
or ecx, 0x800
mov dword [ebp - 0x20], ecx
cmp byte [esi + 0x4b], 0
je 0x48755a
or ecx, 0x80
cmp byte [esi + 0x4c], 0
mov dword [ebp - 0x20], ecx
je 0x48755a
mov eax, dword [esi + 0x50]
or ecx, 0x20000
mov dword [ebp - 0x20], ecx
mov dword [ebx + 0x50], eax
cmp byte [esi + 0x54], 0
je 0x487569
or ecx, 0x100
mov dword [ebp - 0x20], ecx
cmp byte [esi + 0x55], 0
je 0x487578
or ecx, 0x8000
mov dword [ebp - 0x20], ecx
cmp byte [esi + 0x48], 0
je 0x4875ac
cmp dword [esi], 1
jne 0x48758b
mov eax, dword [ebx + 0x5e0]
jmp 0x487591
mov eax, dword [ebx + 0x53c]
test eax, 0x10000
je 0x4875ac
mov ecx, dword [ebp - 0xf4]
or ecx, 0x10000
mov dword [ebp - 0xf4], ecx
jmp 0x4875b2
mov ecx, dword [ebp - 0xf4]
mov al, byte [esi + 0x56]
test al, al
je 0x4875c5
or ecx, 0x20000
mov dword [ebp - 0xf4], ecx
mov dl, byte [esi + 0x57]
test dl, dl
je 0x4875d8
or ecx, 0x8000000
mov dword [ebp - 0xf4], ecx
test al, al
jne 0x4875e0
test dl, dl
je 0x4875e9
mov al, byte [esi + 0x58]
mov byte [ebp - 0xd3], al
cmp byte [esi + 0x5c], 0
je 0x487604
mov al, byte [esi + 0x60]
or ecx, 0x200000
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 0xc8], al
cmp byte [esi + 0x64], 0
je 0x487616
or ecx, 0x2000000
mov dword [ebp - 0xf4], ecx
cmp byte [esi + 0x65], 0
je 0x48762f
mov al, byte [esi + 0x68]
mov dword [ebp - 0xf8], 0x20
mov byte [ebp - 0xc6], al
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x44]
push dword [esi + 0x34]
push dword [esi + 0x30]
call fcn.00485f70
cmp dword [esi], 1
mov dword [ebp - 0x178], eax
jne 0x487662
mov eax, dword [ebx + 0x5e0]
jmp 0x487668
mov eax, dword [ebx + 0x53c]
test eax, 0x4000
je 0x4876c9
or dword [ebp - 0xf4], 0x4000
mov eax, dword [esi + 0x70]
cmp eax, 3
ja case.default.0x487681
jmp dword [eax*4 + 0x487958]
mov byte [ebp - 0xd4], 2
jmp 0x4876c9
mov byte [ebp - 0xd4], 1
jmp 0x4876c9
mov byte [ebp - 0xd4], 3
jmp 0x4876c9
push eax
push str.Invalid_content_type_specified:__d__defaulting_to_ANY
push 0xbac
lea eax, [ebp - 0x180]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x14
mov byte [ebp - 0xd4], 0
cmp dword [esi + 0xa4], 8
movzx eax, byte [esi + 0xa8]
mov dword [ebp - 0xb4], eax
lea eax, [esi + 0x90]
jb 0x4876e7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb0]
push 0x3f
push eax
call fcn.005c1f86
lea eax, [esi + 0x78]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x487704
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x32]
push 5
push eax
call fcn.005c1f86
mov ecx, dword [esi + 0x74]
add esp, 0xc
mov eax, ecx
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x1c], 0
sub eax, 1
je 0x487772
sub eax, 1
je 0x48774b
push ecx
push str.Invalid_compression_type_specified:__d__defaulting_to_Raw
push 0xbca
lea eax, [ebp - 0x180]
push 0x80
push eax
call fcn.0041fc07
add esp, 0x14
jmp 0x48777f
cmp dword [esi + 0x2c], 0x101
mov byte [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
jne 0x48777f
mov dword [ebp - 0xf8], 2
mov byte [ebp - 0xf0], 8
jmp 0x48777f
mov eax, dword [ebx + 0x714]
mov byte [ebp - 0x14], 1
mov dword [ebp - 0x18], eax
push dword [esi + 0x74]
lea eax, [ebp - 0x180]
push str.HPXS::CeSCLDevManager::ProcessScanParameters
push str._s:_JPG_Compression_type__d
push 0xbcd
push 0x200
push eax
call fcn.0041fc07
push 0x34
lea eax, [ebp - 0x1e4]
push 0
push eax
call fcn.005b9760
add esp, 0x24
cmp byte [ebx + 6], 0
jne 0x4871d2
mov ecx, dword [ebx + 0x40]
call fcn.0048d070
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
call fcn.00486270
mov esi, eax
mov dword [ebp - 0x178], esi
test esi, esi
js 0x48792b
cmp word [ebp - 0xe8], 1
jne 0x4877f9
push dword [ebp - 0x20]
mov ecx, ebx
call fcn.00486340
lea eax, [ebp - 0x1e4]
mov ecx, ebx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004864b0
mov dword [ebp - 0x178], eax
test eax, eax
js 0x487861
movups xmm0, xmmword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1b4]
lea edi, [ebx + 0xc64]
mov ecx, 0x3e
lea esi, [ebp - 0x108]
movups xmmword [ebx + 0xd5c], xmm0
movups xmm0, xmmword [ebp - 0x1d4]
rep movsd dword es:[edi], dword [esi]
movups xmmword [ebx + 0xd6c], xmm0
movups xmm0, xmmword [ebp - 0x1c4]
movups xmmword [ebx + 0xd7c], xmm0
mov dword [ebx + 0xd8c], eax
mov edx, dword [ebx + 0x40]
mov ecx, dword [edx + 0x10]
lea eax, [ecx - 1]
mov dword [edx + 0x10], eax
test ecx, ecx
jns 0x487878
mov dword [edx + 0x10], 0
cmp dword [ebp - 0x178], 0
jge 0x487891
push 0
mov ecx, ebx
mov dword [ebx + 0x14], 1
call fcn.00486f50
mov ecx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1e4]
push ecx
push str.HPXS::CeSCLDevManager::ProcessScanParameters
push str._s:_ScanImageInfo.NumLines___d
mov dword [ebx + 0xd90], eax
mov eax, dword [ebp - 0x1dc]
push 0xbfa
mov dword [ebx + 0xd94], eax
lea eax, [ebp - 0x180]
push 0x200
push eax
mov dword [ebx + 0xd98], ecx
call fcn.0041fc07
push dword [ebx + 0xd90]
lea eax, [ebp - 0x180]
push str.HPXS::CeSCLDevManager::ProcessScanParameters
push str._s:_ScanImageInfo.PixelsPerLine___d
push 0xbfb
push 0x200
push eax
call fcn.0041fc07
push dword [ebx + 0xd94]
lea eax, [ebp - 0x180]
push str.HPXS::CeSCLDevManager::ProcessScanParameters
push str._s:_ScanImageInfo.BytesPerLine___d
push 0xbfc
push 0x200
push eax
call fcn.0041fc07
mov esi, dword [ebp - 0x178]
add esp, 0x48
lea ecx, [ebp - 0x180]
call fcn.0041f95a
mov eax, esi
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.00525a3e
mov esp, ebp
pop ebp
ret 4