Function at 0x402dfa
Capabilities:
Create process on windows
Self delete

Disassembly:
sub esp, 0xa34
push ebx
push ebp
push esi
push edi
push 0x8016
lea eax, [esp + 0x38]
push dword [ecx + 0x2174]
mov dword [esp + 0x28], ecx
push eax
call fcn.00405de6
mov esi, eax
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x1c], eax
call edi
push 0x46
mov ebp, eax
call fcn.0040532d
pop ecx
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
mov eax, dword [0x40ad7c]
neg eax
sbb eax, eax
mov ebx, 0x400
and al, 0xf8
push 1
add eax, 8
or eax, ebx
push eax
push ebp
call esi
push 0x48
call fcn.0040532d
pop ecx
push eax
mov eax, dword [0x40ad70]
neg eax
sbb eax, eax
push 2
and eax, 8
or eax, ebx
push eax
push ebp
call esi
call edi
push 0x50
mov dword [esp + 0x14], eax
call fcn.0040532d
pop ecx
push eax
push dword [esp + 0x14]
push 0x410
push ebp
call esi
push 0x51
call fcn.0040532d
pop ecx
push eax
push 0x3ea
push ebx
push dword [esp + 0x1c]
call esi
push 0x54
call fcn.0040532d
pop ecx
push eax
push 0x3ed
push ebx
push dword [esp + 0x1c]
call esi
call edi
mov dword [esp + 0x14], eax
push 0
mov edi, 0xc00
push 0
push edi
push ebp
call esi
push 0x47
call fcn.0040532d
pop ecx
push eax
push dword [esp + 0x18]
push 0x410
push ebp
call esi
push 0
push 0
push edi
push ebp
call esi
push str.WinScan2PDF_FAQ
push 0x1b207
push ebx
push ebp
call esi
cmp dword [0x40ad78], 0
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
jne 0x402f27
push 8
push 0x3ed
push ebp
call edi
cmp dword [0x40ad78], 1
jne 0x402f3a
push 8
push 0x3ea
push ebp
call edi
mov dword [esp + 0x10], 0x1e
mov eax, dword [0x40ad88]
push 0x7e
mov dword [esp + 0x48], eax
pop ecx
xor eax, eax
lea edi, [esp + 0x48]
push dword [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x48]
push str._i___
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp edi, dword [0x408300]
jne 0x402f80
push 8
pop eax
jmp 0x402f82
xor eax, eax
lea ecx, [esp + 0x44]
or eax, ebx
push ecx
push edi
push eax
push dword [esp + 0x20]
call esi
add edi, 5
cmp edi, 0x69
mov dword [esp + 0x10], edi
jl 0x402f42
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x18]
push 1
push eax
push 0
push dword [esi + 0x2174]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0x8016
push 1
push ebx
push 0x403
push dword [esi + 0x2174]
call edi
push 0
push dword [esp + 0xa4c]
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0x100
push ebp
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push 0
push ebx
push 0x403
mov ebp, eax
push dword [esi + 0x2174]
call edi
push 1
pop edi
cmp ebp, edi
jne 0x40302a
xor ebx, ebx
xor eax, eax
cmp dword [0x40ad7c], ebx
sete al
push eax
push str.delete_tmp
mov dword [0x40ad7c], eax
call fcn.004054a6
pop ecx
pop ecx
jmp 0x40302c
xor ebx, ebx
cmp ebp, 2
jne 0x40304e
xor eax, eax
cmp dword [0x40ad70], ebx
sete al
push eax
push str.aspect_ratio
mov dword [0x40ad70], eax
call fcn.004054a6
pop ecx
pop ecx
cmp ebp, 0x1e
jl 0x40306b
cmp ebp, 0x64
jg 0x40306b
push ebp
push str.m_quality
mov dword [0x408300], ebp
call fcn.004054a6
pop ecx
pop ecx
cmp ebp, 0x3ed
mov esi, str.page_size
jne 0x403087
push ebx
push esi
mov dword [0x40ad78], ebx
call fcn.004054a6
pop ecx
pop ecx
cmp ebp, 0x3ea
jne 0x40309e
push edi
push esi
mov dword [0x40ad78], edi
call fcn.004054a6
pop ecx
pop ecx
cmp ebp, 0x1b207
jne 0x40310f
mov eax, dword [0x40ad88]
mov ecx, 0x1ff
mov dword [esp + 0x244], eax
xor eax, eax
cmp dword [0x415538], ebx
lea edi, [esp + 0x248]
rep stosd dword es:[edi], eax
jne 0x4030ce
push 0x15
jmp 0x4030d0
push 0x14
call fcn.00405321
pop ecx
push str.WinScan2PDF
push str._seitefaq_
push eax
lea eax, [esp + 0x250]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [esp + 0x244]
push 5
push ebx
push ebx
push eax
push 0x408304
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa34
ret 4