Function at 0x562f20
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 0x5b051f
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.00414e1f
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x562f70
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562fa1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562fd1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563001
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563031
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563061
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563091
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5630c1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5630f1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563121
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563151
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563181
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5631b1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5631e1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563211
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563241
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 0x563dfe
mov edi, dword [ebp - 0x764]
mov ebx, dword [ebp - 0x77c]
jmp 0x5632d0
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 0x5632fb
mov byte [ebp - 4], 0x10
lea edx, [eax - 0x10]
jmp 0x563dbb
js 0x563e15
cmp word [eax], 0x2d
je 0x563321
test edx, edx
js 0x563e15
cmp word [eax], 0x2f
je 0x563321
mov byte [ebp - 4], 0x10
lea edx, [eax - 0x10]
jmp 0x563dbb
mov ecx, 1
mov dword [ebp - 0x754], ecx
cmp edx, ecx
jge 0x56333c
mov ecx, edx
mov dword [ebp - 0x754], ecx
test edx, edx
jle 0x5633b8
sub edx, ecx
cmp dword [eax - 4], 1
mov dword [ebp - 0x760], edx
jle 0x56336a
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.00528d74
push eax
call fcn.00402df0
mov ecx, dword [ebp - 0x760]
add esp, 0x14
test ecx, ecx
js 0x563e15
mov eax, dword [ebp - 0x750]
cmp ecx, dword [eax - 8]
jg 0x563e15
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 0x563e15
push str.StiDevice:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563483
sub ecx, eax
sar ecx, 1
jne 0x563483
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 0x56342e
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.0x563895.101
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x563895.101
cmp dword [eax - 0xc], 0
jl 0x563e15
push str.StiEvent:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x56352c
sub ecx, eax
sar ecx, 1
jne 0x56352c
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 0x5634f5
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 0x563460
cmp dword [eax - 0xc], 0
jl 0x563e15
push str.NetDevice:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x5635d5
sub ecx, eax
sar ecx, 1
jne 0x5635d5
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 0x56359e
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 0x563460
cmp dword [eax - 0xc], 0
jl 0x563e15
push str.NetEvent:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x56367e
sub ecx, eax
sar ecx, 1
jne 0x56367e
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 0x563647
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 0x563460
cmp dword [eax - 0xc], 0
jl 0x563e15
push str.NetDSName:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563727
sub ecx, eax
sar ecx, 1
jne 0x563727
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 0x5636f0
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 0x563460
cmp dword [eax - 0xc], 0
jl 0x563e15
push str.NetAddress:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x5637b8
sub ecx, eax
sar ecx, 1
jne 0x5637b8
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.0x563895.101
cmp dword [eax - 0xc], 0
jl 0x563e15
push str.NetINTData:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x750]
test ecx, ecx
je 0x563843
sub ecx, eax
sar ecx, 1
jne 0x563843
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.0x563895.101
cmp dword [eax - 0xc], 0
jl 0x563e15
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.00529815
movzx eax, ax
add esp, 4
add eax, 0xffffff9c
cmp eax, 0x16
ja case.0x563895.101
movzx eax, byte [eax + 0x565cf0]
jmp dword [eax*4 + 0x565cc8]
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.0x563895.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563914
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563914
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 0x563906
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.0x563895.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x774]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563895.101
mov edx, dword [ebp - 0x750]
lea ecx, [edi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x563895.101
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x563996
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563996
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 0x563986
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.0x563895.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.0x563895.101
xor edx, edx
lea ecx, [ebp - 0x750]
call fcn.0058be00
push dword [ebp - 0x750]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je case.0x563895.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.0x563895.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563a4f
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563a4f
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 0x563a41
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.0x563895.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x788]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563895.101
mov edx, dword [ebp - 0x750]
lea ecx, [esi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x563895.101
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x563acf
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563acf
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 0x563ac1
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.0x563895.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.0x563895.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.0x563895.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563b67
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563b67
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 0x563b59
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.0x563895.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x780]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563895.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.0x563895.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563bf9
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563bf9
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 0x563beb
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.0x563895.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x790]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563895.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.0x563895.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563c8b
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563c8b
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 0x563c7d
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.0x563895.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x798]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563895.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.0x563895.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x74c], eax
jl 0x563d1d
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563d1d
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 0x563d0f
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.0x563895.101
mov eax, dword [ebp - 0x750]
lea ecx, [ebp - 0x79c]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x563895.101
mov edx, dword [ebp - 0x750]
lea ecx, [ebx - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x563895.101
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x563d93
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563d93
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 0x563d88
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 0x563da8
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 0x563dd2
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 0x563df2
mov ecx, dword [ebp - 0x75c]
jmp 0x5632d0
mov ebx, dword [ebp - 0x808]
mov edi, dword [ebp - 0x7a4]
mov esi, dword [ebp - 0x77c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x564410
mov edi, eax
test edi, edi
jns 0x563e1f
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 0x563e42
push edi
lea ecx, [ebp - 0x77c]
call fcn.00402c20
mov esi, dword [ebp - 0x77c]
lea eax, [edi + 1]
push eax
push esi
call fcn.005299a2
add esp, 8
cmp edi, dword [esi - 8]
jg 0x563e15
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 0x563e8a
test dx, dx
je 0x563e86
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x563e8a
add eax, 4
add ecx, 4
test dx, dx
jne 0x563e64
xor eax, eax
jmp 0x563e8f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x564362
mov edi, dword [ebp - 0x774]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x563ed2
xor edx, edx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x563eb7
mov edx, 1
mov ecx, dword [0x621a1c]
test ecx, ecx
je 0x563ed2
inc eax
push eax
push edi
push 0x20001
push dword [edx*4 + 0x621ebc]
call ecx
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x563ee5
mov ecx, 1
mov eax, dword [0x621a2c]
mov esi, dword [ebp - 0x764]
test eax, eax
je 0x563f00
push 0
push esi
push dword [ecx*4 + 0x621ebc]
call eax
cmp dword [esi - 0xc], 0
jne 0x56411e
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563f26
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 0x563f64
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.00528e42
add esp, 8
test eax, eax
js 0x563e15
cmp eax, dword [esi - 8]
jg 0x563e15
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.00529409
mov eax, dword [esi - 0xc]
add esp, 0xc
lea eax, [eax*2 + 2]
cmp eax, 0x20a
jae 0x56435d
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564059
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 0x564097
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.00528e42
add esp, 8
test eax, eax
js 0x563e15
cmp eax, dword [edi - 8]
jg 0x563e15
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 0x5640f5
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 0x564112
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 0x564131
push eax
call fcn.0040d50c
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 0x564151
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 0x564174
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 0x564197
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 0x5641ba
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 0x5641dd
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 0x564200
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 0x564223
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 0x564249
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 0x56426c
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 0x56428f
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 0x5642b2
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 0x5642d5
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 0x5642f8
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 0x56431b
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 0x564338
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 0x564356
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x565ca1
call fcn.00529dc2
mov ecx, str.install
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x564396
test dx, dx
je 0x564392
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x564396
add eax, 4
add ecx, 4
test dx, dx
jne 0x564370
xor eax, eax
jmp 0x56439b
sbb eax, eax
or eax, 1
test eax, eax
je 0x564112
mov eax, str.update
mov cx, word [esi]
cmp cx, word [eax]
jne 0x5643ce
test cx, cx
je 0x5643ca
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x5643ce
add esi, 4
add eax, 4
test cx, cx
jne 0x5643a8
xor eax, eax
jmp 0x5643d3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x564112
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5643ec
lea ecx, [eax + 1]
mov eax, dword [0x621a2c]
mov esi, dword [ebp - 0x764]
test eax, eax
je 0x564118
push 1
push esi
push dword [ecx*4 + 0x621ebc]
call eax
jmp 0x564118
cmp dword [edi - 0xc], 0
je 0x56491b
mov eax, dword [ebp - 0x7ac]
cmp dword [eax - 0xc], 0
je 0x56491b
call fcn.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564446
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564476
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 0x5646b9
lea eax, [ebp - 0x76c]
push eax
push 9
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x778]
call fcn.00589ae0
add esp, 8
call fcn.00414e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x562f66
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 0x5645ae
lea ecx, [ebp - 0x78c]
mov edx, str.DeviceID
push ecx
mov ecx, eax
call fcn.0058b690
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 0x562f66
push esi
push dword [ebp - 0x7a4]
call fcn.005295f6
add esp, 8
test eax, eax
je 0x564650
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 0x564605
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 0x564625
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 0x5644f5
jmp 0x5646bc
lea eax, [ebp - 0x754]
push eax
push 0
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x778]
call fcn.00589ae0
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 0x564691
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 0x5646b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x754]
jmp 0x5646bc
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 0x564735
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x75c], eax
jl 0x564726
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x564726
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 0x56471b
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 0x564735
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 0x56478c
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 0x56488d
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 0x56481f
push dword [ebp - 0x760]
lea ecx, [ebp - 0x7d4]
call fcn.0040bc60
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 0x564877
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 0x564877
push dword [ebp - 0x760]
lea ecx, [ebp - 0x7d4]
call fcn.0040bc60
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.0058a860
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 0x5648cd
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 0x5648f0
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 0x564910
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x7a4]
jmp 0x564aa1
mov eax, dword [ebp - 0x7a8]
cmp dword [eax - 0xc], 0
je 0x564aa1
mov eax, dword [ebp - 0x7b0]
cmp dword [eax - 0xc], 0
je 0x564aa1
mov ecx, dword [ebp - 0x7bc]
cmp dword [ecx - 0xc], 0
je 0x564aa1
mov eax, dword [ebp - 0x7b4]
cmp dword [eax - 0xc], 0
je 0x564aa1
cmp dword [ebx - 0xc], 0
je 0x564aa1
mov esi, dword [ebp - 0x764]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x5649c7
cmp dword [esi + 0xc], 0
jl 0x5649b8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5649b8
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 0x5649ad
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 0x5649c7
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 0x564a86
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 0x563e15
cmp esi, dword [ebx - 0xc]
jg 0x563e15
mov ax, word [ecx]
mov word [ebp - 0x18], ax
lea eax, [esi + 1]
test eax, eax
js 0x563e15
cmp eax, dword [ebx - 0xc]
jg 0x563e15
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.00529bcc
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 0x5649f1
lea ecx, [ebp - 0x7d4]
call fcn.0058a860
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 0x5651f4
js 0x564e9a
push str.error
push esi
call fcn.00528f1f
add esp, 8
test eax, eax
je 0x564e9a
sub eax, esi
sar eax, 1
js 0x564e9a
push 8
lea eax, [ebp - 0x75c]
push eax
lea ecx, [ebp - 0x770]
call fcn.00407b60
push 0x10
push 0
push dword [eax]
call fcn.00529bcc
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 0x564b61
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 0x564c2b
push 0
lea ecx, [ebp - 0x748]
call fcn.00555e50
mov eax, dword [ebp - 0x758]
mov byte [ebp - 4], 0x23
lea ecx, [eax - 0xff01]
cmp ecx, 0xb
ja case.default.0x564b8e
jmp dword [ecx*4 + 0x565d08]
push 0x1fa8
jmp 0x564be7
push 0x1fa9
jmp 0x564be7
push 0x1fa6
jmp 0x564be7
push 0x1fa7
jmp 0x564be7
push 0x1fb5
jmp 0x564be7
push 0x1fb6
jmp 0x564be7
push 0x1fb7
jmp 0x564be7
push 0x1fb8
jmp 0x564be7
push 0x1fb9
jmp 0x564be7
push 0x1fba
jmp 0x564be7
push 0x1fbb
jmp 0x564be7
push 0x1fbc
lea ecx, [ebp - 0x748]
call fcn.005525c0
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.005559a0
lea ecx, [ebp - 0x748]
mov byte [ebp - 4], 0x22
call fcn.00555af0
jmp 0x564c44
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0040fe2e
mov edx, dword [ebp - 0x758]
mov ecx, eax
call fcn.00547e40
mov eax, dword [ebp - 0x7c8]
test eax, eax
je 0x564c57
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [ebp - 0x7d4]
test eax, eax
je 0x564c6a
push eax
call fcn.0040d50c
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 0x564c8a
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 0x564cad
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 0x564cd0
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 0x564cf3
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 0x564d16
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 0x564d39
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 0x564d59
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 0x564d7c
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 0x564d9f
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 0x564dc2
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 0x564de5
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 0x564e08
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 0x564e25
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 0x564e48
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 0x564e6b
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 0x564356
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x565ca1
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5650a2
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.004173d4
test eax, eax
je 0x5651b7
jmp 0x5650e0
mov eax, dword [ebp - 0x76c]
inc dword [ebp - 0x754]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x768], ecx
test ecx, ecx
js 0x563e15
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x768]
or ecx, edx
jge 0x565129
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.005299a2
mov eax, dword [ebp - 0x76c]
add esp, 8
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax - 8]
jg 0x563e15
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 0x565199
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.004173d4
test eax, eax
jne 0x5650e0
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 0x5651db
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 0x56522b
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 0x565279
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565258
mov dword [ebp - 0x74c], 1
mov edx, dword [0x621a1c]
test edx, edx
je 0x56527f
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 0x565433
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.00589c90
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.00589c90
add esp, 4
mov byte [ebp - 4], 0x27
push dword [ebp - 0x760]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5653ba
push dword [ebp - 0x78c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5653ba
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x74c], 0
cmp eax, 0x9fbf1
jne 0x56533d
mov dword [ebp - 0x74c], 1
mov edx, dword [0x621a1c]
test edx, edx
je 0x56536d
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 0x56537b
mov ecx, 1
mov eax, dword [0x621a3c]
test eax, eax
je 0x56539c
push 0x2000001
push 0x2000000
push dword [ecx*4 + 0x621ebc]
call eax
mov eax, dword [0x621a3c]
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5653af
mov ecx, 1
test eax, eax
je 0x5653e9
push 0x132e
jmp 0x5653db
xor ecx, ecx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5653cd
mov ecx, 1
mov eax, dword [0x621a3c]
test eax, eax
je 0x5653e9
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 0x56540d
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 0x565463
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x565463
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x565446
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565469
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 0x5654df
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565496
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x5654b1
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 0x56552d
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x56550c
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x56552d
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 0x565867
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.00414e1f
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x56566c
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.004173d4
test eax, eax
je 0x565709
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 0x5656e9
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.004173d4
test eax, eax
jne 0x5656a2
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 0x565731
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565756
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 0x5657e1
cmp edx, eax
jbe 0x565cbd
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 0x5657a3
mov dword [ebp - 0x74c], 1
test ecx, ecx
je 0x5657d4
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 0x565768
test edx, edx
je 0x565811
mov eax, dword [ebp - 0x804]
mov edx, dword [eax]
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x5657fe
mov eax, 1
test ecx, ecx
je 0x565811
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 0x565835
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x804]
test eax, eax
je 0x565848
push eax
call fcn.0040d50c
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 0x5658b5
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x565894
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x5658b5
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 0x5658fd
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x5658e2
mov dword [ebp - 0x74c], 1
test edx, edx
je 0x5658fd
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 0x565957
mov eax, dword [eax]
mov dword [ebp - 0x75c], eax
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x565933
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565957
push dword [ebp - 0x75c]
push 0x10002
push dword [eax*4 + 0x621ebc]
call ecx
mov edx, dword [ebp - 0x754]
cmp edx, 1
jbe 0x565a16
lea eax, [edx - 1]
mov dword [ebp - 0x75c], eax
xor eax, eax
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x56597c
mov eax, 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x5659a0
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 0x565a16
cmp edx, eax
jbe 0x565cbd
cmp dword [ebp - 0x758], 0x9fbf1
mov dword [ebp - 0x74c], 0
jne 0x5659d7
mov dword [ebp - 0x74c], 1
mov ecx, dword [0x621a3c]
test ecx, ecx
je 0x565a0b
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 0x5659b1
mov eax, dword [ebp - 0x7d0]
sub eax, dword [ebp - 0x7d4]
je 0x565a51
xor edx, edx
cmp dword [ebp - 0x758], 0x9fbf1
jne 0x565a37
mov edx, 1
mov ecx, dword [0x621a68]
test ecx, ecx
je 0x565a51
push eax
push dword [ebp - 0x7d4]
push dword [edx*4 + 0x621ebc]
call ecx
mov eax, dword [ebp - 0x7c8]
test eax, eax
je 0x565a64
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [ebp - 0x7d4]
test eax, eax
je 0x565a77
push eax
call fcn.0040d50c
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 0x565a97
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 0x565aba
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 0x565add
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 0x565b00
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 0x565b23
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 0x565b46
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 0x565b66
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 0x565b89
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 0x565bac
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 0x565bcf
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 0x565bf2
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 0x565c15
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 0x565c32
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 0x565c55
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 0x565c78
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 0x565c9c
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.00527e2c
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00546d3a
nop
cmp dword cs:[esi], edx
pushfd
cmp byte [esi], dl
xor al, 0x3d
push esi
add byte [ecx + 0x6900563b], al
cmp dl, byte [esi]
mov dh, 0x39
push esi
add bh, ch
cmp dl, byte [esi]
adc edi, dword [esi + edx*2]
add byte [ebp - 1375709636], ah
cmp eax, 0x9000056
add dword [ecx], ecx
or dword [edx], eax
or dword [ecx], ecx
add ecx, dword [ecx]
or dword [eax + 151259401], eax
or dword [ecx], ecx
or dword [esi], eax
pop es
or byte [eax + case.0x564b8e.65281], dl
pushfd
dec ebx
push esi
add byte [ebx - 0x55ffa9b5], ah
dec ebx
push esi
add byte [ecx - 0x47ffa9b5], dh
dec ebx
push esi
add byte [edi - 0x39ffa9b5], bh
dec ebx
push esi
add ch, cl
dec ebx
push esi
add ah, dl
dec ebx
push esi
add bl, bl
dec ebx
push esi
add dl, ah
dec ebx
push esi
add ah, cl
int3