Function at 0x562ee0
Capabilities:
Accept command line arguments
Check if file exists
Delete directory
Delete file
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b08ef
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x616040]
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 dword [ebp - 0x758], ecx
call fcn.0041505f
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x562f30
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x774], eax
mov dword [ebp - 4], 0
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562f61
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x764], eax
mov byte [ebp - 4], 1
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562f91
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x788], eax
mov byte [ebp - 4], 2
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562fc1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x770], esi
mov byte [ebp - 4], 3
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562ff1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x780], eax
mov byte [ebp - 4], 4
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563021
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x790], eax
mov byte [ebp - 4], 5
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563051
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x798], eax
mov byte [ebp - 4], 6
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563081
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x79c], eax
mov byte [ebp - 4], 7
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5630b1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x77c], eax
mov byte [ebp - 4], 8
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5630e1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x7a4], edi
mov byte [ebp - 4], 9
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563111
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7ac], eax
mov byte [ebp - 4], 0xa
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563141
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7a8], eax
mov byte [ebp - 4], 0xb
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563171
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7b0], eax
mov byte [ebp - 4], 0xc
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5631a1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7bc], eax
mov byte [ebp - 4], 0xd
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5631d1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7b4], eax
mov byte [ebp - 4], 0xe
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563201
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x7d4], 0
mov dword [ebp - 0x7d0], 0
mov dword [ebp - 0x7cc], 0
push 0x20
lea ecx, [ebp - 0x7d4]
mov byte [ebp - 4], 0x10
call fcn.00407e80
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x7f4]
mov dword [ebp - 0x7f4], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x75c], ecx
mov dword [ebp - 0x778], eax
cmp dword [ebp - 0x7f4], eax
jle 0x563dbe
mov edi, dword [ebp - 0x764]
mov ebx, dword [ebp - 0x77c]
jmp 0x563290
push dword [ecx + eax*4]
lea ecx, [ebp - 0x750]
call fcn.00402f60
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x750]
mov edx, dword [eax - 0xc]
test edx, edx
jne 0x5632bb
mov byte [ebp - 4], 0x10
lea edx, [eax - 0x10]
jmp 0x563d7b
js 0x563dd5
cmp word [eax], 0x2d
je 0x5632e1
test edx, edx
js 0x563dd5
cmp word [eax], 0x2f
je 0x5632e1
mov byte [ebp - 4], 0x10
lea edx, [eax - 0x10]
jmp 0x563d7b
mov ecx, 1
mov dword [ebp - 0x754], ecx
cmp edx, ecx
jge 0x5632fc
mov ecx, edx
mov dword [ebp - 0x754], ecx
test edx, edx
jle 0x563378
sub edx, ecx
cmp dword [eax - 4], 1
mov dword [ebp - 0x760], edx
jle 0x56332a
push dword [eax - 0xc]
lea ecx, [ebp - 0x750]
call fcn.00402c90
mov eax, dword [ebp - 0x750]
mov edx, dword [ebp - 0x760]
mov ecx, dword [ebp - 0x754]
lea edx, [edx*2 + 2]
push edx
lea ecx, [eax + ecx*2]
push ecx
push edx
push eax
call fcn.00528da4
push eax
call fcn.00402df0
mov ecx, dword [ebp - 0x760]
add esp, 0x14
test ecx, ecx
js 0x563dd5
mov eax, dword [ebp - 0x750]
cmp ecx, dword [eax - 8]
jg 0x563dd5
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x750]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x750]
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.StiDevice:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563443
sub ecx, eax
sar ecx, 1
jne 0x563443
push str.StiDevice:
lea ecx, [ebp - 0x784]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov edx, dword [ebp - 0x784]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x74c], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5633ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x74c]
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7a4]
mov byte [ebp - 4], 0x12
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x830]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg case.0x563855.101
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x563855.101
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.StiEvent:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x5634ec
sub ecx, eax
sar ecx, 1
jne 0x5634ec
push str.StiEvent:
lea ecx, [ebp - 0x78c]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov edx, dword [ebp - 0x78c]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x74c], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5634b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x74c]
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7ac]
mov byte [ebp - 4], 0x13
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x82c]
jmp 0x563420
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.NetDevice:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563595
sub ecx, eax
sar ecx, 1
jne 0x563595
push str.NetDevice:
lea ecx, [ebp - 0x768]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov edx, dword [ebp - 0x768]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x74c], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56355e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x74c]
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7a8]
mov byte [ebp - 4], 0x14
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x83c]
jmp 0x563420
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.NetEvent:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x56363e
sub ecx, eax
sar ecx, 1
jne 0x56363e
push str.NetEvent:
lea ecx, [ebp - 0x794]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov edx, dword [ebp - 0x794]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x74c], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563607
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x74c]
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7b0]
mov byte [ebp - 4], 0x15
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x828]
jmp 0x563420
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.NetDSName:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x5636e7
sub ecx, eax
sar ecx, 1
jne 0x5636e7
push str.NetDSName:
lea ecx, [ebp - 0x76c]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov edx, dword [ebp - 0x76c]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x74c], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5636b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x74c]
lea eax, [ebp - 0x838]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7bc]
mov byte [ebp - 4], 0x16
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x838]
jmp 0x563420
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.NetAddress:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563778
sub ecx, eax
sar ecx, 1
jne 0x563778
push str.NetAddress:
lea ecx, [ebp - 0x7b8]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
mov dword [ebp - 0x74c], ecx
lea ecx, [ebp - 0x7b8]
call fcn.00402b60
push dword [ebp - 0x74c]
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7b4]
mov byte [ebp - 4], 0x17
call fcn.004032d0
lea ecx, [ebp - 0x834]
call fcn.00402b60
jmp case.0x563855.101
cmp dword [eax - 0xc], 0
jl 0x563dd5
push str.NetINTData:
push eax
call fcn.00528f4f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563803
sub ecx, eax
sar ecx, 1
jne 0x563803
push str.NetINTData:
lea ecx, [ebp - 0x18]
call fcn.00402f60
mov ecx, dword [ebp - 0x750]
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
mov dword [ebp - 0x74c], ecx
lea ecx, [ebp - 0x18]
call fcn.00402b60
push dword [ebp - 0x74c]
lea eax, [ebp - 0x7f8]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x808]
mov byte [ebp - 4], 0x18
call fcn.004032d0
lea ecx, [ebp - 0x7f8]
call fcn.00402b60
jmp case.0x563855.101
cmp dword [eax - 0xc], 0
jl 0x563dd5
movzx eax, word [eax]
lea ecx, [ebp - 0x750]
push 1
push 0
mov dword [ebp - 0x74c], eax
call fcn.00407960
push ecx
lea ecx, [ebp - 0x750]
call fcn.00407ab0
push dword [ebp - 0x74c]
call fcn.00529845
movzx eax, ax
add esp, 4
add eax, 0xffffff9c
cmp eax, 0x16
ja case.0x563855.101
movzx eax, byte [eax + 0x565cb0]
jmp dword [eax*4 + 0x565c88]
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x774]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x754], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x5638d4
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5638d4
push edx
call fcn.00403660
mov edx, dword [ebp - 0x74c]
add esp, 4
mov dword [ebp - 0x760], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5638c6
mov eax, dword [ebp - 0x754]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x760]
add eax, 0x10
mov dword [ebp - 0x774], eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x774]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
lea ecx, [edi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x563956
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563956
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x754], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x563946
mov edi, dword [ebp - 0x74c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x754]
add eax, 0x10
mov dword [ebp - 0x764], eax
mov edi, eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x764]
push dword [eax - 0xc]
push eax
call fcn.004035a0
mov edi, dword [ebp - 0x764]
jmp case.0x563855.101
xor edx, edx
lea ecx, [ebp - 0x750]
call fcn.0058c100
push dword [ebp - 0x750]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je case.0x563855.101
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x788]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x754], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563a0f
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563a0f
push edx
call fcn.00403660
mov edx, dword [ebp - 0x74c]
add esp, 4
mov dword [ebp - 0x760], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x563a01
mov eax, dword [ebp - 0x754]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x760]
add eax, 0x10
mov dword [ebp - 0x788], eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x788]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
lea ecx, [esi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x563a8f
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563a8f
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x754], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x563a81
mov esi, dword [ebp - 0x74c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x754]
lea esi, [eax + 0x10]
mov dword [ebp - 0x770], esi
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x770]
push dword [eax - 0xc]
push eax
call fcn.004035a0
mov esi, dword [ebp - 0x770]
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x780]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x754], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563b27
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563b27
push edx
call fcn.00403660
mov edx, dword [ebp - 0x74c]
add esp, 4
mov dword [ebp - 0x760], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x563b19
mov eax, dword [ebp - 0x754]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x760]
add eax, 0x10
mov dword [ebp - 0x780], eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x780]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x790]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x754], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563bb9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563bb9
push edx
call fcn.00403660
mov edx, dword [ebp - 0x74c]
add esp, 4
mov dword [ebp - 0x760], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x563bab
mov eax, dword [ebp - 0x754]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x760]
add eax, 0x10
mov dword [ebp - 0x790], eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x790]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x798]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x754], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563c4b
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563c4b
push edx
call fcn.00403660
mov edx, dword [ebp - 0x74c]
add esp, 4
mov dword [ebp - 0x760], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x563c3d
mov eax, dword [ebp - 0x754]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x760]
add eax, 0x10
mov dword [ebp - 0x798], eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x798]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
mov ecx, dword [ebp - 0x79c]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x754], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563cdd
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563cdd
push edx
call fcn.00403660
mov edx, dword [ebp - 0x74c]
add esp, 4
mov dword [ebp - 0x760], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x563ccf
mov eax, dword [ebp - 0x754]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x760]
add eax, 0x10
mov dword [ebp - 0x79c], eax
jmp case.0x563855.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x79c]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563855.101
mov edx, dword [ebp - 0x750]
lea ecx, [ebx - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x563855.101
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x563d53
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563d53
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x754], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x563d48
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x754]
add eax, 0x10
mov dword [ebp - 0x77c], eax
jmp 0x563d68
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x77c]
push dword [eax - 0xc]
push eax
call fcn.004035a0
mov ebx, dword [ebp - 0x77c]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x750]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563d92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x778]
inc eax
mov dword [ebp - 0x778], eax
cmp eax, dword [ebp - 0x7f4]
jge 0x563db2
mov ecx, dword [ebp - 0x75c]
jmp 0x563290
mov ebx, dword [ebp - 0x808]
mov edi, dword [ebp - 0x7a4]
mov esi, dword [ebp - 0x77c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x5643d0
mov edi, eax
test edi, edi
jns 0x563ddf
push 0x80070057
call fcn.00402740
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x563e02
push edi
lea ecx, [ebp - 0x77c]
call fcn.00402c20
mov esi, dword [ebp - 0x77c]
lea eax, [edi + 1]
push eax
push esi
call fcn.005299d2
add esp, 8
cmp edi, dword [esi - 8]
jg 0x563dd5
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov ecx, str.uninstall
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x563e4a
test dx, dx
je 0x563e46
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x563e4a
add eax, 4
add ecx, 4
test dx, dx
jne 0x563e24
xor eax, eax
jmp 0x563e4f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x564322
mov edi, dword [ebp - 0x774]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x563e92
xor edx, edx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x563e77
mov edx, 1
mov ecx, dword [0x621a1c]
test ecx, ecx
je 0x563e92
inc eax
push eax
push edi
push 0x20001
push dword [edx*4 + 0x621ebc]
call ecx
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x563ea5
mov ecx, 1
mov eax, dword [0x621a2c]
mov esi, dword [ebp - 0x764]
test eax, eax
je 0x563ec0
push 0
push esi
push dword [ecx*4 + 0x621ebc]
call eax
cmp dword [esi - 0xc], 0
jne 0x5640de
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563ee6
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x754], esi
mov byte [ebp - 4], 0x19
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x563f24
push 0x104
lea ecx, [ebp - 0x754]
call fcn.00402c20
mov esi, dword [ebp - 0x754]
push 0x104
push esi
push str._APPDATA_CanonIJ_Scan_Utility
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esi - 8]
push esi
call fcn.00528e72
add esp, 8
test eax, eax
js 0x563dd5
cmp eax, dword [esi - 8]
jg 0x563dd5
mov dword [esi - 0xc], eax
xor ecx, ecx
push esi
mov word [esi + eax*2], cx
lea eax, [ebp - 0x228]
push 0x105
push eax
call fcn.00529439
mov eax, dword [esi - 0xc]
add esp, 0xc
lea eax, [eax*2 + 2]
cmp eax, 0x20a
jae 0x56431d
xor ecx, ecx
mov word [ebp + eax - 0x228], cx
xor eax, eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov word [ebp - 0x22c], ax
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x240], eax
mov eax, 0x414
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x244], 3
mov dword [ebp - 0x23c], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564019
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x760], edi
mov byte [ebp - 4], 0x1a
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x564057
push 0x104
lea ecx, [ebp - 0x760]
call fcn.00402c20
mov edi, dword [ebp - 0x760]
push 0x104
push edi
push str._APPDATA_Canon
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [edi - 8]
push edi
call fcn.00528e72
add esp, 8
test eax, eax
js 0x563dd5
cmp eax, dword [edi - 8]
jg 0x563dd5
xor ecx, ecx
mov dword [edi - 0xc], eax
push edi
mov word [edi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x19
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5640b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x10
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5640d2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x764]
mov edi, dword [ebp - 0x774]
mov eax, dword [ebp - 0x7d4]
test eax, eax
je 0x5640f1
push eax
call fcn.0040d533
add esp, 4
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0xe
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564111
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x7b4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564134
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov edx, dword [ebp - 0x7bc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564157
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, ebx
mov edx, dword [ebp - 0x7b0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56417a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x7a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56419d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x7ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5641c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, ebx
mov edx, dword [ebp - 0x7a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5641e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
or ebx, 0xffffffff
mov edx, dword [ebp - 0x77c]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564209
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x79c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56422c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x798]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56424f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, ebx
mov edx, dword [ebp - 0x790]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564272
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x780]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564295
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x770]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5642b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x788]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5642db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5642f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x564316
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x565c61
call fcn.00529df2
mov ecx, str.install
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x564356
test dx, dx
je 0x564352
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x564356
add eax, 4
add ecx, 4
test dx, dx
jne 0x564330
xor eax, eax
jmp 0x56435b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5640d2
mov eax, str.update
mov cx, word [esi]
cmp cx, word [eax]
jne 0x56438e
test cx, cx
je 0x56438a
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x56438e
add esi, 4
add eax, 4
test cx, cx
jne 0x564368
xor eax, eax
jmp 0x564393
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5640d2
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5643ac
lea ecx, [eax + 1]
mov eax, dword [0x621a2c]
mov esi, dword [ebp - 0x764]
test eax, eax
je 0x5640d8
push 1
push esi
push dword [ecx*4 + 0x621ebc]
call eax
jmp 0x5640d8
cmp dword [edi - 0xc], 0
je 0x5648db
mov eax, dword [ebp - 0x7ac]
cmp dword [eax - 0xc], 0
je 0x5648db
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564406
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x754], edi
mov byte [ebp - 4], 0x1b
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564436
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x76c], eax
push 0x10
push 0
push 0
push 0x5e77f8
mov byte [ebp - 4], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
xor ecx, ecx
mov dword [ebp - 0x778], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x74c], ecx
lea ecx, [ebp - 0x248]
push ecx
push 0
push eax
mov dword [ebp - 0x248], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x564679
lea eax, [ebp - 0x76c]
push eax
push 9
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x778]
call fcn.00589db0
add esp, 8
call fcn.0041505f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x562f26
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x78c], esi
lea eax, [ebp - 0x76c]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x760]
push str.SYSTEMCurrentControlSetControlClass_
push eax
call fcn.00407d40
add esp, 0xc
lea eax, [ebp - 0x768]
mov byte [ebp - 4], 0x1e
push eax
push 0x20019
push 0
push dword [ebp - 0x760]
mov dword [ebp - 0x768], 0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x768]
test eax, eax
je 0x56456e
lea ecx, [ebp - 0x78c]
mov edx, str.DeviceID
push ecx
mov ecx, eax
call fcn.0058b990
mov esi, dword [ebp - 0x78c]
add esp, 4
mov eax, dword [ebp - 0x768]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x768], 0
test esi, esi
setne al
test eax, eax
je 0x562f26
push esi
push dword [ebp - 0x7a4]
call fcn.00529626
add esp, 8
test eax, eax
je 0x564610
mov byte [ebp - 4], 0x1d
or ecx, 0xffffffff
mov edx, dword [ebp - 0x760]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5645c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x1c
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5645e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x74c]
lea ecx, [ebp - 0x248]
inc eax
push ecx
push eax
push dword [ebp - 0x778]
mov dword [ebp - 0x74c], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x5644b5
jmp 0x56467c
lea eax, [ebp - 0x754]
push eax
push 0
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x778]
call fcn.00589db0
mov byte [ebp - 4], 0x1d
add esp, 8
mov edx, dword [ebp - 0x760]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x1c
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564671
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x754]
jmp 0x56467c
or esi, 0xffffffff
mov edx, dword [ebp - 0x764]
lea ecx, [edi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
mov dword [ebp - 0x18], edx
cmp ecx, edx
je 0x5646f5
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x75c], eax
jl 0x5646e6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5646e6
push ecx
call fcn.00403660
mov edx, dword [ebp - 0x75c]
add esp, 4
mov dword [ebp - 0x7b8], eax
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5646db
mov edi, dword [ebp - 0x18]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x7b8]
add eax, 0x10
mov dword [ebp - 0x764], eax
jmp 0x5646f5
push dword [edi - 0xc]
lea ecx, [ebp - 0x764]
push edi
call fcn.004035a0
lea eax, [ebp - 0x76c]
push eax
lea eax, [ebp - 0x75c]
push str.SYSTEMCurrentControlSetControlClass_
push eax
call fcn.00407d40
add esp, 0xc
push str.DeviceData
push eax
lea eax, [ebp - 0x784]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00407c60
add esp, 0xc
mov byte [ebp - 4], 0x21
mov ecx, esi
mov edx, dword [ebp - 0x75c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56474c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x794]
mov dword [ebp - 0x794], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x784]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x56484d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x760]
push ecx
push 0
push 0
push 0
push str.PushEventDataMFP
push eax
mov dword [ebp - 0x760], 0
call edi
test eax, eax
jne 0x5647df
push dword [ebp - 0x760]
lea ecx, [ebp - 0x7d4]
call fcn.0040bc90
lea eax, [ebp - 0x760]
push eax
push dword [ebp - 0x7d4]
push 0
push 0
push str.PushEventDataMFP
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x564837
mov eax, dword [ebp - 0x794]
lea ecx, [ebp - 0x760]
push ecx
push 0
push 0
push 0
push str.PushEventDataSFS
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x760], 0
call edi
test eax, eax
jne 0x564837
push dword [ebp - 0x760]
lea ecx, [ebp - 0x7d4]
call fcn.0040bc90
lea eax, [ebp - 0x760]
push eax
push dword [ebp - 0x7d4]
push 0
push 0
push str.PushEventDataSFS
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x794]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x794], 0
lea ecx, [ebp - 0x7d4]
call fcn.0058ab30
push 8
push str.pushscan
lea ecx, [ebp - 0x770]
call fcn.004035a0
mov byte [ebp - 4], 0x1c
mov ecx, esi
mov edx, dword [ebp - 0x784]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56488d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov ecx, esi
mov edx, dword [ebp - 0x76c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5648b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74c]
mov ecx, esi
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5648d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x7a4]
jmp 0x564a61
mov eax, dword [ebp - 0x7a8]
cmp dword [eax - 0xc], 0
je 0x564a61
mov eax, dword [ebp - 0x7b0]
cmp dword [eax - 0xc], 0
je 0x564a61
mov ecx, dword [ebp - 0x7bc]
cmp dword [ecx - 0xc], 0
je 0x564a61
mov eax, dword [ebp - 0x7b4]
cmp dword [eax - 0xc], 0
je 0x564a61
cmp dword [ebx - 0xc], 0
je 0x564a61
mov esi, dword [ebp - 0x764]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x564987
cmp dword [esi + 0xc], 0
jl 0x564978
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x564978
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x75c], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x56496d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x75c]
add eax, 0x10
mov dword [ebp - 0x764], eax
jmp 0x564987
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x764]
call fcn.004035a0
mov eax, dword [ebx - 0xc]
cdq
sub eax, edx
mov dword [ebp - 0x784], 0
sar eax, 1
mov dword [ebp - 0x75c], eax
test eax, eax
jle 0x564a46
xor esi, esi
mov dword [ebp - 0x74c], ebx
mov ecx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
test esi, esi
js 0x563dd5
cmp esi, dword [ebx - 0xc]
jg 0x563dd5
mov ax, word [ecx]
mov word [ebp - 0x18], ax
lea eax, [esi + 1]
test eax, eax
js 0x563dd5
cmp eax, dword [ebx - 0xc]
jg 0x563dd5
mov ax, word [ecx + 2]
mov word [ebp - 0x16], ax
xor eax, eax
push 0x10
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x18]
push eax
call fcn.00529bfc
add esp, 0xc
mov byte [ebp - 0x79d], al
lea eax, [ebp - 0x79d]
lea ecx, [ebp - 0x7d4]
push eax
call fcn.00407e20
mov eax, dword [ebp - 0x784]
add esi, 2
mov ecx, dword [ebp - 0x74c]
inc eax
add ecx, 4
mov dword [ebp - 0x784], eax
mov dword [ebp - 0x74c], ecx
cmp eax, dword [ebp - 0x75c]
jl 0x5649b1
lea ecx, [ebp - 0x7d4]
call fcn.0058ab30
push str.pushscan
lea ecx, [ebp - 0x770]
call fcn.00403020
mov dword [ebp - 0x7c8], 0
mov dword [ebp - 0x7c4], 0
mov dword [ebp - 0x7c0], 0
push 0x10
lea ecx, [ebp - 0x7c8]
mov byte [ebp - 4], 0x22
call fcn.00404ca0
mov esi, dword [ebp - 0x770]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x5651b4
js 0x564e5a
push str.error
push esi
call fcn.00528f4f
add esp, 8
test eax, eax
je 0x564e5a
sub eax, esi
sar eax, 1
js 0x564e5a
push 8
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x770]
call fcn.00407b60
push 0x10
push 0
push dword [eax]
call fcn.00529bfc
mov ecx, dword [ebp - 0x75c]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x758], eax
mov dword [ebp - 0x7f8], ecx
or edx, 0xffffffff
add ecx, 0xc
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x564b21
mov edx, dword [ebp - 0x7f8]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x758]
test eax, 0xff0000
jne 0x564beb
push 0
lea ecx, [ebp - 0x748]
call fcn.00555e80
mov eax, dword [ebp - 0x758]
mov byte [ebp - 4], 0x23
lea ecx, [eax - 0xff01]
cmp ecx, 0xb
ja case.default.0x564b4e
jmp dword [ecx*4 + 0x565cc8]
push 0x1fa8
jmp 0x564ba7
push 0x1fa9
jmp 0x564ba7
push 0x1fa6
jmp 0x564ba7
push 0x1fa7
jmp 0x564ba7
push 0x1fb5
jmp 0x564ba7
push 0x1fb6
jmp 0x564ba7
push 0x1fb7
jmp 0x564ba7
push 0x1fb8
jmp 0x564ba7
push 0x1fb9
jmp 0x564ba7
push 0x1fba
jmp 0x564ba7
push 0x1fbb
jmp 0x564ba7
push 0x1fbc
lea ecx, [ebp - 0x748]
call fcn.005525f0
mov eax, dword [ebp - 0x758]
mov ecx, 0xff04
cmp ecx, eax
lea ecx, [ebp - 0x748]
sbb eax, eax
and eax, 0xe
add eax, 0x23b3
mov dword [ebp - 0x594], eax
call fcn.005559d0
lea ecx, [ebp - 0x748]
mov byte [ebp - 4], 0x22
call fcn.00555b20
jmp 0x564c04
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0040fef6
mov edx, dword [ebp - 0x758]
mov ecx, eax
call fcn.00547e70
mov eax, dword [ebp - 0x7c8]
test eax, eax
je 0x564c17
push eax
call fcn.0040d533
add esp, 4
mov eax, dword [ebp - 0x7d4]
test eax, eax
je 0x564c2a
push eax
call fcn.0040d533
add esp, 4
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0xe
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564c4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x7b4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564c6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov edx, dword [ebp - 0x7bc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564c90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, ebx
mov edx, dword [ebp - 0x7b0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564cb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x7a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564cd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x7ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564cf9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 8
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564d19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, edi
mov ebx, dword [ebp - 0x77c]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564d3c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [ebp - 0x79c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564d5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x798]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564d82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, edi
mov edx, dword [ebp - 0x790]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564da5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, edi
mov edx, dword [ebp - 0x780]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564dc8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564de5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x788]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564e08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x764]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564e2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x774]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x564316
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x565c61
mov dword [ebp - method.CMap_class_CWnd___class_CWnd___class_CHwndRenderTarget___class_CHwndRenderTarget__.virtual_0], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___int__int_.0
mov dword [ebp - 0x7ec], 0
mov dword [ebp - 0x7e8], 0x11
mov dword [ebp - 0x7e4], 0
mov dword [ebp - 0x7e0], 0
mov dword [ebp - 0x7dc], 0
mov dword [ebp - 0x7d8], 0xa
push str.preferences
lea ecx, [ebp - 0x7f0]
mov byte [ebp - 4], 0x24
call fcn.004082c0
push str.mainoneclick
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xcfc
call fcn.004082c0
push str.auto
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce4
call fcn.004082c0
push str.photo
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce5
call fcn.004082c0
push str.document
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce6
call fcn.004082c0
push str.copy
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce7
call fcn.004082c0
push str.custom
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce8
call fcn.004082c0
push str.stitch
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xceb
call fcn.004082c0
push str.scangear
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xcea
call fcn.004082c0
push 0x5eab9c
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce9
call fcn.004082c0
push 0x5eaba4
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xd0a
call fcn.004082c0
push str.mail
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xd08
call fcn.004082c0
push str.settings
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xd09
call fcn.004082c0
push str.pushscan
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xcfb
call fcn.004082c0
push str.mainoneclick
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xcec
call fcn.004082c0
push str.pushscansettings
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xce4
call fcn.004082c0
push str.silent
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xcfb
call fcn.004082c0
push str.autopower
lea ecx, [ebp - 0x7f0]
mov dword [eax], 0xd03
call fcn.004082c0
mov dword [eax], 0xd04
push str.none
lea ecx, [ebp - 0x7f0]
call fcn.004082c0
mov dword [eax], 0xd07
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x565062
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x76c], eax
xor eax, eax
mov byte [ebp - 4], 0x25
push 0x2c
push eax
mov dword [ebp - 0x754], eax
lea eax, [ebp - 0x76c]
push esi
push eax
call fcn.0041761f
test eax, eax
je 0x565177
jmp 0x5650a0
mov eax, dword [ebp - 0x76c]
inc dword [ebp - 0x754]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x768], ecx
test ecx, ecx
js 0x563dd5
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x768]
or ecx, edx
jge 0x5650e9
push dword [ebp - 0x768]
lea ecx, [ebp - 0x76c]
call fcn.00402c20
mov eax, dword [ebp - 0x76c]
mov ecx, dword [ebp - 0x768]
inc ecx
push ecx
push eax
call fcn.005299d2
mov eax, dword [ebp - 0x76c]
add esp, 8
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax - 8]
jg 0x563dd5
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x76c]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7b8]
push eax
push dword [ebp - 0x76c]
lea ecx, [ebp - 0x7f0]
call fcn.004083f0
test eax, eax
je 0x565159
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x7c8]
mov dword [ebp - 0x75c], eax
lea eax, [ebp - 0x75c]
push eax
call fcn.004043b0
mov eax, dword [ebp - 0x754]
push 0x2c
push eax
push esi
lea eax, [ebp - 0x76c]
push eax
call fcn.0041761f
test eax, eax
jne 0x5650a0
mov byte [ebp - 4], 0x24
or ecx, 0xffffffff
mov edx, dword [ebp - 0x76c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56519b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x7f0]
mov dword [ebp - method.CMap_class_CWnd___class_CWnd___class_CHwndRenderTarget___class_CHwndRenderTarget__.virtual_0], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___int__int_.0
call fcn.00408370
mov eax, dword [ebp - 0x7c4]
mov ecx, dword [ebp - 0x7c8]
sub eax, ecx
test eax, 0xfffffffc
jne 0x5651eb
lea eax, [ebp - 0x75c]
mov dword [ebp - 0x7c4], ecx
push eax
lea ecx, [ebp - 0x7c8]
mov dword [ebp - 0x75c], 0xce4
call fcn.004043b0
mov eax, dword [ebp - 0x774]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x565239
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565218
mov dword [ebp - 0x74c], 1
mov edx, dword [0x621a1c]
test edx, edx
je 0x56523f
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x74c]
push 0x20001
push dword [eax*4 + 0x621ebc]
call edx
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x764]
cmp dword [eax - 0xc], 0
je 0x5653f3
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x75c], esp
push eax
mov dword [ebp - 0x18], eax
call fcn.00403660
mov ecx, dword [ebp - 0x75c]
add eax, 0x10
add esp, 4
xor edx, edx
mov dword [ecx], eax
lea ecx, [ebp - 0x760]
call fcn.00589f60
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x75c], esp
push dword [ebp - 0x18]
call fcn.00403660
mov ecx, dword [ebp - 0x75c]
add eax, 0x10
add esp, 4
mov edx, 1
mov dword [ecx], eax
lea ecx, [ebp - 0x78c]
call fcn.00589f60
add esp, 4
mov byte [ebp - 4], 0x27
push dword [ebp - 0x760]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56537a
push dword [ebp - 0x78c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56537a
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x74c], 0
cmp eax, 0x9fbf1
jne 0x5652fd
mov dword [ebp - 0x74c], 1
mov edx, dword [0x621a1c]
test edx, edx
je 0x56532d
mov eax, dword [ebp - 0x764]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x74c]
push 0x2000001
push dword [eax*4 + 0x621ebc]
call edx
mov eax, dword [ebp - 0x758]
xor ecx, ecx
cmp eax, 0x9fbf1
jne 0x56533b
mov ecx, 1
mov eax, dword [0x621a3c]
test eax, eax
je 0x56535c
push 0x2000001
push 0x2000000
push dword [ecx*4 + 0x621ebc]
call eax
mov eax, dword [0x621a3c]
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x56536f
mov ecx, 1
test eax, eax
je 0x5653a9
push 0x132e
jmp 0x56539b
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x56538d
mov ecx, 1
mov eax, dword [0x621a3c]
test eax, eax
je 0x5653a9
push 0x132f
push 0x10016
push dword [ecx*4 + 0x621ebc]
call eax
mov byte [ebp - 4], 0x26
or ecx, 0xffffffff
mov edx, dword [ebp - 0x78c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5653cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
or ecx, 0xffffffff
mov edx, dword [ebp - 0x760]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565423
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x565423
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x565406
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565429
push 0x132f
push 0x10016
push dword [eax*4 + 0x621ebc]
call ecx
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x79c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x56549f
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565456
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x565471
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x74c]
push 0x20006
push dword [eax*4 + 0x621ebc]
call edx
mov eax, dword [ebp - 0x7c8]
lea ecx, [ebp - 0x7c8]
mov dword [ebp - 0x7c4], eax
lea eax, [ebp - 0x75c]
push eax
mov dword [ebp - 0x75c], 0x1faa
call fcn.004043b0
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x788]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5654ed
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x5654cc
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x5654ed
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x74c]
push 0x6020001
push dword [eax*4 + 0x621ebc]
call edx
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x780]
cmp dword [eax - 0xc], 0
je 0x565827
mov dword [ebp - method.CMap_class_CWnd___class_CWnd___class_CHwndRenderTarget___class_CHwndRenderTarget__.virtual_0], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___int__int_.0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0x11
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x80c], 0xa
push str.auto
lea ecx, [ebp - 0x824]
mov byte [ebp - 4], 0x28
call fcn.004082c0
push str.jpeg
lea ecx, [ebp - 0x824]
mov dword [eax], 0x10eb
call fcn.004082c0
push 0x5eac2c
lea ecx, [ebp - 0x824]
mov dword [eax], 0x10e0
call fcn.004082c0
push 0x5eac34
lea ecx, [ebp - 0x824]
mov dword [eax], 0x10e1
call fcn.004082c0
push 0x5eac3c
lea ecx, [ebp - 0x824]
mov dword [eax], 0x10e2
call fcn.004082c0
push 0x5eab9c
lea ecx, [ebp - 0x824]
mov dword [eax], 0x10e3
call fcn.004082c0
push str.mpdf
lea ecx, [ebp - 0x824]
mov dword [eax], 0x10e5
call fcn.004082c0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 0
mov dword [ebp - 0x7fc], 0
mov dword [eax], 0x10e6
push 8
lea ecx, [ebp - 0x804]
mov byte [ebp - 4], 0x29
call fcn.00404ca0
call fcn.0041505f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x56562c
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x768], eax
push 0x2c
push 0
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x768]
push dword [ebp - 0x780]
push eax
call fcn.0041761f
test eax, eax
je 0x5656c9
mov esi, dword [ebp - 0x780]
xor edi, edi
lea ecx, [ebp - 0x768]
inc edi
call fcn.00407a50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7b8]
push eax
push dword [ebp - 0x768]
lea ecx, [ebp - 0x824]
call fcn.004083f0
test eax, eax
je 0x5656a9
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x804]
mov dword [ebp - 0x75c], eax
lea eax, [ebp - 0x75c]
push eax
call fcn.004043b0
push 0x2c
push edi
push esi
lea eax, [ebp - 0x768]
push eax
call fcn.0041761f
test eax, eax
jne 0x565662
mov esi, dword [ebp - 0x770]
mov edi, dword [ebp - 0x7a4]
mov edx, dword [ebp - 0x800]
xor eax, eax
sub edx, dword [ebp - 0x804]
sar edx, 2
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x754], edx
jne 0x5656f1
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565716
push edx
push 0x100ffff
push dword [eax*4 + 0x621ebc]
call ecx
mov ecx, dword [0x621a3c]
mov edx, dword [ebp - 0x754]
xor eax, eax
mov dword [ebp - 0x778], eax
test edx, edx
jle 0x5657a1
cmp edx, eax
jbe 0x565c7d
cmp dword [ebp - 0x758], 0x9fbf1
mov esi, dword [ebp - 0x804]
mov dword [ebp - 0x74c], 0
mov esi, dword [esi + eax*4]
mov dword [ebp - 0x75c], esi
mov esi, dword [ebp - 0x770]
jne 0x565763
mov dword [ebp - 0x74c], 1
test ecx, ecx
je 0x565794
push dword [ebp - 0x75c]
add eax, 0x1000001
push eax
mov eax, dword [ebp - 0x74c]
push dword [eax*4 + 0x621ebc]
call ecx
mov ecx, dword [0x621a3c]
mov eax, dword [ebp - 0x778]
mov edx, dword [ebp - 0x754]
inc eax
mov dword [ebp - 0x778], eax
cmp edx, eax
jg 0x565728
test edx, edx
je 0x5657d1
mov eax, dword [ebp - 0x804]
mov edx, dword [eax]
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5657be
mov eax, 1
test ecx, ecx
je 0x5657d1
push edx
push 0x1000000
push dword [eax*4 + 0x621ebc]
call ecx
mov byte [ebp - 4], 0x29
or ecx, 0xffffffff
mov edx, dword [ebp - 0x768]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5657f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x804]
test eax, eax
je 0x565808
push eax
call fcn.0040d533
add esp, 4
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x824]
mov dword [ebp - method.CMap_class_CWnd___class_CWnd___class_CHwndRenderTarget___class_CHwndRenderTarget__.virtual_0], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___int__int_.0
call fcn.00408370
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x790]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x565875
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565854
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x565875
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x74c]
push 0x20004
push dword [eax*4 + 0x621ebc]
call edx
mov edx, dword [0x621a1c]
mov eax, dword [ebp - 0x798]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x5658bd
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x5658a2
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x5658bd
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x74c]
push 0x20005
push dword [eax*4 + 0x621ebc]
call edx
mov edx, dword [ebp - 0x7c4]
mov eax, dword [ebp - 0x7c8]
sub edx, eax
sar edx, 2
mov dword [ebp - 0x754], edx
test edx, edx
je 0x565917
mov eax, dword [eax]
mov dword [ebp - 0x75c], eax
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5658f3
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565917
push dword [ebp - 0x75c]
push 0x10002
push dword [eax*4 + 0x621ebc]
call ecx
mov edx, dword [ebp - 0x754]
cmp edx, 1
jbe 0x5659d6
lea eax, [edx - 1]
mov dword [ebp - 0x75c], eax
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x56593c
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565960
push dword [ebp - 0x75c]
push 0x102ffff
push dword [eax*4 + 0x621ebc]
call ecx
mov edx, dword [ebp - 0x754]
mov eax, 1
mov dword [ebp - 0x778], eax
cmp edx, eax
jle 0x5659d6
cmp edx, eax
jbe 0x565c7d
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565997
mov dword [ebp - 0x74c], 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x5659cb
mov edx, dword [ebp - 0x7c8]
push dword [edx + eax*4]
add eax, 0x1020000
push eax
mov eax, dword [ebp - 0x74c]
push dword [eax*4 + 0x621ebc]
call ecx
mov eax, dword [ebp - 0x778]
mov edx, dword [ebp - 0x754]
inc eax
mov dword [ebp - 0x778], eax
cmp edx, eax
jg 0x565971
mov eax, dword [ebp - 0x7d0]
sub eax, dword [ebp - 0x7d4]
je 0x565a11
xor edx, edx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5659f7
mov edx, 1
mov ecx, dword [0x621a68]
test ecx, ecx
je 0x565a11
push eax
push dword [ebp - 0x7d4]
push dword [edx*4 + 0x621ebc]
call ecx
mov eax, dword [ebp - 0x7c8]
test eax, eax
je 0x565a24
push eax
call fcn.0040d533
add esp, 4
mov eax, dword [ebp - 0x7d4]
test eax, eax
je 0x565a37
push eax
call fcn.0040d533
add esp, 4
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0xe
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565a57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x7b4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565a7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov edx, dword [ebp - 0x7bc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565a9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov ecx, ebx
mov edx, dword [ebp - 0x7b0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565ac0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov edx, dword [ebp - 0x7a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565ae3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x7ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565b06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 8
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565b26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, edi
mov ebx, dword [ebp - 0x77c]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565b49
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [ebp - 0x79c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565b6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x798]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565b8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, edi
mov edx, dword [ebp - 0x790]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565bb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, edi
mov edx, dword [ebp - 0x780]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565bd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565bf2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x788]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565c15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x764]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565c38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x774]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x565c5c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
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.00527e5c
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00546d68
nop
out dx, al
cmp byte [esi], dl
pop esp
cmp byte [esi], dl
hlt