Function at 0x562a80
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 0x5ae35f
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x614040]
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 - 0x750], ecx
call fcn.00414eab
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x562ad0
push 0x80004005
call fcn.00402740
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x76c], eax
mov dword [ebp - 4], 0
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562b01
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x75c], eax
mov byte [ebp - 4], 1
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562b31
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], 2
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562b61
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x768], esi
mov byte [ebp - 4], 3
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562b91
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x778], eax
mov byte [ebp - 4], 4
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562bc1
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], 5
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562bf1
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], 6
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562c21
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x794], eax
mov byte [ebp - 4], 7
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562c51
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x774], eax
mov byte [ebp - 4], 8
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562c81
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x79c], edi
mov byte [ebp - 4], 9
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562cb1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7a4], eax
mov byte [ebp - 4], 0xa
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562ce1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7a0], eax
mov byte [ebp - 4], 0xb
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562d11
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], 0xc
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562d41
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], 0xd
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562d71
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], 0xe
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x562da1
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x800], ebx
mov dword [ebp - 0x7cc], 0
mov dword [ebp - 0x7c8], 0
mov dword [ebp - 0x7c4], 0
push 0x20
lea ecx, [ebp - 0x7cc]
mov byte [ebp - 4], 0x10
call fcn.00407e80
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x7ec]
mov dword [ebp - 0x7ec], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x754], ecx
mov dword [ebp - 0x770], eax
cmp dword [ebp - 0x7ec], eax
jle 0x56395e
mov edi, dword [ebp - 0x75c]
mov ebx, dword [ebp - 0x774]
jmp 0x562e30
push dword [ecx + eax*4]
lea ecx, [ebp - 0x748]
call fcn.00402f60
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x748]
mov edx, dword [eax - 0xc]
test edx, edx
jne 0x562e5b
mov byte [ebp - 4], 0x10
lea edx, [eax - 0x10]
jmp 0x56391b
js 0x563975
cmp word [eax], 0x2d
je 0x562e81
test edx, edx
js 0x563975
cmp word [eax], 0x2f
je 0x562e81
mov byte [ebp - 4], 0x10
lea edx, [eax - 0x10]
jmp 0x56391b
mov ecx, 1
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
jge 0x562e9c
mov ecx, edx
mov dword [ebp - 0x74c], ecx
test edx, edx
jle 0x562f18
sub edx, ecx
cmp dword [eax - 4], 1
mov dword [ebp - 0x758], edx
jle 0x562eca
push dword [eax - 0xc]
lea ecx, [ebp - 0x748]
call fcn.00402c90
mov eax, dword [ebp - 0x748]
mov edx, dword [ebp - 0x758]
mov ecx, dword [ebp - 0x74c]
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 - 0x758]
add esp, 0x14
test ecx, ecx
js 0x563975
mov eax, dword [ebp - 0x748]
cmp ecx, dword [eax - 8]
jg 0x563975
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x748]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x748]
cmp dword [eax - 0xc], 0
jl 0x563975
push str.StiDevice:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x562fe3
sub ecx, eax
sar ecx, 1
jne 0x562fe3
push str.StiDevice:
lea ecx, [ebp - 0x77c]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
mov edx, dword [ebp - 0x77c]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x744], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x562f8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x744]
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x79c]
mov byte [ebp - 4], 0x12
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x828]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg case.0x5633f5.101
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp case.0x5633f5.101
cmp dword [eax - 0xc], 0
jl 0x563975
push str.StiEvent:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x56308c
sub ecx, eax
sar ecx, 1
jne 0x56308c
push str.StiEvent:
lea ecx, [ebp - 0x784]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
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 - 0x744], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563055
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x744]
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7a4]
mov byte [ebp - 4], 0x13
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x824]
jmp 0x562fc0
cmp dword [eax - 0xc], 0
jl 0x563975
push str.NetDevice:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x563135
sub ecx, eax
sar ecx, 1
jne 0x563135
push str.NetDevice:
lea ecx, [ebp - 0x760]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
mov edx, dword [ebp - 0x760]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x744], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5630fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x744]
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7a0]
mov byte [ebp - 4], 0x14
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x834]
jmp 0x562fc0
cmp dword [eax - 0xc], 0
jl 0x563975
push str.NetEvent:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x5631de
sub ecx, eax
sar ecx, 1
jne 0x5631de
push str.NetEvent:
lea ecx, [ebp - 0x78c]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
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 - 0x744], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5631a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x744]
lea eax, [ebp - 0x820]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7a8]
mov byte [ebp - 4], 0x15
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x820]
jmp 0x562fc0
cmp dword [eax - 0xc], 0
jl 0x563975
push str.NetDSName:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x563287
sub ecx, eax
sar ecx, 1
jne 0x563287
push str.NetDSName:
lea ecx, [ebp - 0x764]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
mov edx, dword [ebp - 0x764]
add edx, 0xfffffff0
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [edx + 0xc]
mov dword [ebp - 0x744], ecx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563250
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x744]
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7b4]
mov byte [ebp - 4], 0x16
call fcn.004032d0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x830]
jmp 0x562fc0
cmp dword [eax - 0xc], 0
jl 0x563975
push str.NetAddress:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x563318
sub ecx, eax
sar ecx, 1
jne 0x563318
push str.NetAddress:
lea ecx, [ebp - 0x7b0]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
mov dword [ebp - 0x744], ecx
lea ecx, [ebp - 0x7b0]
call fcn.00402b60
push dword [ebp - 0x744]
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x7ac]
mov byte [ebp - 4], 0x17
call fcn.004032d0
lea ecx, [ebp - 0x82c]
call fcn.00402b60
jmp case.0x5633f5.101
cmp dword [eax - 0xc], 0
jl 0x563975
push str.NetINTData:
push eax
call fcn.00528f1f
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x748]
test ecx, ecx
je 0x5633a3
sub ecx, eax
sar ecx, 1
jne 0x5633a3
push str.NetINTData:
lea ecx, [ebp - 0x18]
call fcn.00402f60
mov ecx, dword [ebp - 0x748]
mov eax, dword [eax]
mov ecx, dword [ecx - 0xc]
sub ecx, dword [eax - 0xc]
mov dword [ebp - 0x744], ecx
lea ecx, [ebp - 0x18]
call fcn.00402b60
push dword [ebp - 0x744]
lea eax, [ebp - 0x7f0]
push eax
lea ecx, [ebp - 0x748]
call fcn.00407b60
push eax
lea ecx, [ebp - 0x800]
mov byte [ebp - 4], 0x18
call fcn.004032d0
lea ecx, [ebp - 0x7f0]
call fcn.00402b60
jmp case.0x5633f5.101
cmp dword [eax - 0xc], 0
jl 0x563975
movzx eax, word [eax]
lea ecx, [ebp - 0x748]
push 1
push 0
mov dword [ebp - 0x744], eax
call fcn.00407960
push ecx
lea ecx, [ebp - 0x748]
call fcn.00407ab0
push dword [ebp - 0x744]
call fcn.00529815
movzx eax, ax
add esp, 4
add eax, 0xffffff9c
cmp eax, 0x16
ja case.0x5633f5.101
movzx eax, byte [eax + 0x565850]
jmp dword [eax*4 + 0x565828]
mov edx, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x76c]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x744], eax
jl 0x563474
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563474
push edx
call fcn.00403660
mov edx, dword [ebp - 0x744]
add esp, 4
mov dword [ebp - 0x758], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x563466
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x758]
add eax, 0x10
mov dword [ebp - 0x76c], eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x76c]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
lea ecx, [edi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x744], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x5634f6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5634f6
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x74c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x5634e6
mov edi, dword [ebp - 0x744]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x74c]
add eax, 0x10
mov dword [ebp - 0x75c], eax
mov edi, eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x75c]
push dword [eax - 0xc]
push eax
call fcn.004035a0
mov edi, dword [ebp - 0x75c]
jmp case.0x5633f5.101
xor edx, edx
lea ecx, [ebp - 0x748]
call fcn.00589dc0
push dword [ebp - 0x748]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je case.0x5633f5.101
mov edx, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x780]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x744], eax
jl 0x5635af
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5635af
push edx
call fcn.00403660
mov edx, dword [ebp - 0x744]
add esp, 4
mov dword [ebp - 0x758], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5635a1
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x758]
add eax, 0x10
mov dword [ebp - 0x780], eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x780]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
lea ecx, [esi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x744], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x56362f
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x56362f
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x74c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x563621
mov esi, dword [ebp - 0x744]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x74c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x768], esi
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x768]
push dword [eax - 0xc]
push eax
call fcn.004035a0
mov esi, dword [ebp - 0x768]
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x778]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x744], eax
jl 0x5636c7
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5636c7
push edx
call fcn.00403660
mov edx, dword [ebp - 0x744]
add esp, 4
mov dword [ebp - 0x758], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5636b9
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x758]
add eax, 0x10
mov dword [ebp - 0x778], eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x778]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x788]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x744], eax
jl 0x563759
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x563759
push edx
call fcn.00403660
mov edx, dword [ebp - 0x744]
add esp, 4
mov dword [ebp - 0x758], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x56374b
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x758]
add eax, 0x10
mov dword [ebp - 0x788], eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x788]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x790]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x744], eax
jl 0x5637eb
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5637eb
push edx
call fcn.00403660
mov edx, dword [ebp - 0x744]
add esp, 4
mov dword [ebp - 0x758], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5637dd
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x758]
add eax, 0x10
mov dword [ebp - 0x790], eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x790]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x794]
add edx, 0xfffffff0
add ecx, 0xfffffff0
mov dword [ebp - 0x74c], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x744], eax
jl 0x56387d
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x56387d
push edx
call fcn.00403660
mov edx, dword [ebp - 0x744]
add esp, 4
mov dword [ebp - 0x758], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x56386f
mov eax, dword [ebp - 0x74c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x758]
add eax, 0x10
mov dword [ebp - 0x794], eax
jmp case.0x5633f5.101
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x794]
push dword [eax - 0xc]
push eax
call fcn.004035a0
jmp case.0x5633f5.101
mov edx, dword [ebp - 0x748]
lea ecx, [ebx - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x744], ecx
cmp edx, ecx
je case.0x5633f5.101
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x5638f3
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x5638f3
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x74c], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x5638e8
mov eax, dword [ebp - 0x744]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x74c]
add eax, 0x10
mov dword [ebp - 0x774], eax
jmp 0x563908
mov eax, dword [ebp - 0x748]
lea ecx, [ebp - 0x774]
push dword [eax - 0xc]
push eax
call fcn.004035a0
mov ebx, dword [ebp - 0x774]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x748]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563932
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x770]
inc eax
mov dword [ebp - 0x770], eax
cmp eax, dword [ebp - 0x7ec]
jge 0x563952
mov ecx, dword [ebp - 0x754]
jmp 0x562e30
mov ebx, dword [ebp - 0x800]
mov edi, dword [ebp - 0x79c]
mov esi, dword [ebp - 0x774]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x563f70
mov edi, eax
test edi, edi
jns 0x56397f
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 0x5639a2
push edi
lea ecx, [ebp - 0x774]
call fcn.00402c20
mov esi, dword [ebp - 0x774]
lea eax, [edi + 1]
push eax
push esi
call fcn.005299a2
add esp, 8
cmp edi, dword [esi - 8]
jg 0x563975
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 0x5639ea
test dx, dx
je 0x5639e6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5639ea
add eax, 4
add ecx, 4
test dx, dx
jne 0x5639c4
xor eax, eax
jmp 0x5639ef
sbb eax, eax
or eax, 1
test eax, eax
jne 0x563ec2
mov edi, dword [ebp - 0x76c]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x563a32
xor edx, edx
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x563a17
mov edx, 1
mov ecx, dword [0x61fa1c]
test ecx, ecx
je 0x563a32
inc eax
push eax
push edi
push 0x20001
push dword [edx*4 + 0x61feb8]
call ecx
xor ecx, ecx
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x563a45
mov ecx, 1
mov eax, dword [0x61fa2c]
mov esi, dword [ebp - 0x75c]
test eax, eax
je 0x563a60
push 0
push esi
push dword [ecx*4 + 0x61feb8]
call eax
cmp dword [esi - 0xc], 0
jne 0x563c7e
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563a86
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x74c], 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 0x563ac4
push 0x104
lea ecx, [ebp - 0x74c]
call fcn.00402c20
mov esi, dword [ebp - 0x74c]
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 0x563975
cmp eax, dword [esi - 8]
jg 0x563975
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 0x563ebd
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.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563bb9
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x758], 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 0x563bf7
push 0x104
lea ecx, [ebp - 0x758]
call fcn.00402c20
mov edi, dword [ebp - 0x758]
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 0x563975
cmp eax, dword [edi - 8]
jg 0x563975
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 0x563c55
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 0x563c72
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x75c]
mov edi, dword [ebp - 0x76c]
mov eax, dword [ebp - 0x7cc]
test eax, eax
je 0x563c91
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 0x563cb1
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 - 0x7ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563cd4
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 - 0x7b4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563cf7
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 - 0x7a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563d1a
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 - 0x7a0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563d3d
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 - 0x7a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563d60
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 - 0x79c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563d83
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 - 0x774]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563da9
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 - 0x794]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563dcc
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 - 0x790]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563def
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 - 0x788]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563e12
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 - 0x778]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563e35
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 - 0x768]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563e58
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 - 0x780]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x563e7b
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 0x563e98
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 0x563eb6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x565801
call fcn.00529dc2
mov ecx, str.install
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x563ef6
test dx, dx
je 0x563ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x563ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x563ed0
xor eax, eax
jmp 0x563efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x563c72
mov eax, str.update
mov cx, word [esi]
cmp cx, word [eax]
jne 0x563f2e
test cx, cx
je 0x563f2a
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x563f2e
add esi, 4
add eax, 4
test cx, cx
jne 0x563f08
xor eax, eax
jmp 0x563f33
sbb eax, eax
or eax, 1
test eax, eax
jne 0x563c72
xor ecx, ecx
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x563f4c
lea ecx, [eax + 1]
mov eax, dword [0x61fa2c]
mov esi, dword [ebp - 0x75c]
test eax, eax
je 0x563c78
push 1
push esi
push dword [ecx*4 + 0x61feb8]
call eax
jmp 0x563c78
cmp dword [edi - 0xc], 0
je 0x56447b
mov eax, dword [ebp - 0x7a4]
cmp dword [eax - 0xc], 0
je 0x56447b
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563fa6
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x74c], edi
mov byte [ebp - 4], 0x1b
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x563fd6
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x764], eax
push 0x10
push 0
push 0
push 0x5e57f8
mov byte [ebp - 4], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
xor ecx, ecx
mov dword [ebp - 0x770], 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 - 0x744], 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 0x564219
lea eax, [ebp - 0x764]
push eax
push 9
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x770]
call fcn.00587cc0
add esp, 8
call fcn.00414eab
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x562ac6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x784], esi
lea eax, [ebp - 0x764]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x758]
push str.SYSTEMCurrentControlSetControlClass_
push eax
call fcn.00407d40
add esp, 0xc
lea eax, [ebp - 0x760]
mov byte [ebp - 4], 0x1e
push eax
push 0x20019
push 0
push dword [ebp - 0x758]
mov dword [ebp - 0x760], 0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x760]
test eax, eax
je 0x56410e
lea ecx, [ebp - 0x784]
mov edx, str.DeviceID
push ecx
mov ecx, eax
call fcn.00589660
mov esi, dword [ebp - 0x784]
add esp, 4
mov eax, dword [ebp - 0x760]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x760], 0
test esi, esi
setne al
test eax, eax
je 0x562ac6
push esi
push dword [ebp - 0x79c]
call fcn.005295f6
add esp, 8
test eax, eax
je 0x5641b0
mov byte [ebp - 4], 0x1d
or ecx, 0xffffffff
mov edx, dword [ebp - 0x758]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564165
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 0x564185
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x744]
lea ecx, [ebp - 0x248]
inc eax
push ecx
push eax
push dword [ebp - 0x770]
mov dword [ebp - 0x744], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x564055
jmp 0x56421c
lea eax, [ebp - 0x74c]
push eax
push 0
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x770]
call fcn.00587cc0
mov byte [ebp - 4], 0x1d
add esp, 8
mov edx, dword [ebp - 0x758]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5641f1
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 0x564211
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x74c]
jmp 0x56421c
or esi, 0xffffffff
mov edx, dword [ebp - 0x75c]
lea ecx, [edi - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x744], ecx
mov dword [ebp - 0x18], edx
cmp ecx, edx
je 0x564295
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x754], eax
jl 0x564286
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x564286
push ecx
call fcn.00403660
mov edx, dword [ebp - 0x754]
add esp, 4
mov dword [ebp - 0x7b0], eax
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x56427b
mov edi, dword [ebp - 0x18]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x7b0]
add eax, 0x10
mov dword [ebp - 0x75c], eax
jmp 0x564295
push dword [edi - 0xc]
lea ecx, [ebp - 0x75c]
push edi
call fcn.004035a0
lea eax, [ebp - 0x764]
push eax
lea eax, [ebp - 0x754]
push str.SYSTEMCurrentControlSetControlClass_
push eax
call fcn.00407d40
add esp, 0xc
push str.DeviceData
push eax
lea eax, [ebp - 0x77c]
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 - 0x754]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5642ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x78c]
mov dword [ebp - 0x78c], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x77c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x78c]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5643ed
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x758]
push ecx
push 0
push 0
push 0
push str.PushEventDataMFP
push eax
mov dword [ebp - 0x758], 0
call edi
test eax, eax
jne 0x56437f
push dword [ebp - 0x758]
lea ecx, [ebp - 0x7cc]
call fcn.0040bc60
lea eax, [ebp - 0x758]
push eax
push dword [ebp - 0x7cc]
push 0
push 0
push str.PushEventDataMFP
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x5643d7
mov eax, dword [ebp - 0x78c]
lea ecx, [ebp - 0x758]
push ecx
push 0
push 0
push 0
push str.PushEventDataSFS
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x758], 0
call edi
test eax, eax
jne 0x5643d7
push dword [ebp - 0x758]
lea ecx, [ebp - 0x7cc]
call fcn.0040bc60
lea eax, [ebp - 0x758]
push eax
push dword [ebp - 0x7cc]
push 0
push 0
push str.PushEventDataSFS
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x78c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x78c], 0
lea ecx, [ebp - 0x7cc]
call fcn.00588990
push 8
push str.pushscan
lea ecx, [ebp - 0x768]
call fcn.004035a0
mov byte [ebp - 4], 0x1c
mov ecx, esi
mov edx, dword [ebp - 0x77c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56442d
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 - 0x764]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564450
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x744]
mov ecx, esi
mov byte [ebp - 4], 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564470
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x79c]
jmp 0x564603
mov eax, dword [ebp - 0x7a0]
cmp dword [eax - 0xc], 0
je 0x564603
mov eax, dword [ebp - 0x7a8]
cmp dword [eax - 0xc], 0
je 0x564603
mov ecx, dword [ebp - 0x7b4]
cmp dword [ecx - 0xc], 0
je 0x564603
mov eax, dword [ebp - 0x7ac]
cmp dword [eax - 0xc], 0
je 0x564603
cmp dword [ebx - 0xc], 0
je 0x564603
mov esi, dword [ebp - 0x75c]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x564527
cmp dword [esi + 0xc], 0
jl 0x564518
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x564518
push edx
call fcn.00403660
add esp, 4
mov dword [ebp - 0x754], eax
or ecx, 0xffffffff
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x56450d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x754]
add eax, 0x10
mov dword [ebp - 0x75c], eax
jmp 0x564527
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x75c]
call fcn.004035a0
mov eax, dword [ebx - 0xc]
cdq
sub eax, edx
mov dword [ebp - 0x77c], 0
sar eax, 1
mov dword [ebp - 0x754], eax
test eax, eax
jle 0x5645e6
xor esi, esi
mov dword [ebp - 0x744], ebx
mov ecx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
test esi, esi
js 0x563975
cmp esi, dword [ebx - 0xc]
jg 0x563975
mov ax, word [ecx]
mov word [ebp - 0x18], ax
lea eax, [esi + 1]
test eax, eax
js 0x563975
cmp eax, dword [ebx - 0xc]
jg 0x563975
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 - 0x795], al
lea eax, [ebp - 0x795]
lea ecx, [ebp - 0x7cc]
push eax
call fcn.00407e20
mov eax, dword [ebp - 0x77c]
add esi, 2
mov ecx, dword [ebp - 0x744]
inc eax
add ecx, 4
mov dword [ebp - 0x77c], eax
mov dword [ebp - 0x744], ecx
cmp eax, dword [ebp - 0x754]
jl 0x564551
lea ecx, [ebp - 0x7cc]
call fcn.00588990
push 8
push str.pushscan
lea ecx, [ebp - 0x768]
call fcn.004035a0
mov dword [ebp - 0x7c0], 0
mov dword [ebp - 0x7bc], 0
mov dword [ebp - 0x7b8], 0
push 0x10
lea ecx, [ebp - 0x7c0]
mov byte [ebp - 4], 0x22
call fcn.00404c50
mov esi, dword [ebp - 0x768]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x564d54
js 0x5649fc
push str.error
push esi
call fcn.00528f1f
add esp, 8
test eax, eax
je 0x5649fc
sub eax, esi
sar eax, 1
js 0x5649fc
push 8
lea eax, [ebp - 0x754]
push eax
lea ecx, [ebp - 0x768]
call fcn.00407b60
push 0x10
push 0
push dword [eax]
call fcn.00529bcc
mov ecx, dword [ebp - 0x754]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x750], eax
mov dword [ebp - 0x7f0], ecx
or edx, 0xffffffff
add ecx, 0xc
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5646c3
mov edx, dword [ebp - 0x7f0]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x750]
test eax, 0xff0000
jne 0x56478d
push 0
lea ecx, [ebp - 0x740]
call fcn.00555a90
mov eax, dword [ebp - 0x750]
mov byte [ebp - 4], 0x23
lea ecx, [eax - 0xff01]
cmp ecx, 0xb
ja case.default.0x5646f0
jmp dword [ecx*4 + 0x565868]
push 0x1fa8
jmp 0x564749
push 0x1fa9
jmp 0x564749
push 0x1fa6
jmp 0x564749
push 0x1fa7
jmp 0x564749
push 0x1fb5
jmp 0x564749
push 0x1fb6
jmp 0x564749
push 0x1fb7
jmp 0x564749
push 0x1fb8
jmp 0x564749
push 0x1fb9
jmp 0x564749
push 0x1fba
jmp 0x564749
push 0x1fbb
jmp 0x564749
push 0x1fbc
lea ecx, [ebp - 0x740]
call fcn.005522e0
mov eax, dword [ebp - 0x750]
mov ecx, 0xff04
cmp ecx, eax
lea ecx, [ebp - 0x740]
sbb eax, eax
and eax, 0xe
add eax, 0x23b3
mov dword [ebp - 0x58c], eax
call fcn.005555f0
lea ecx, [ebp - 0x740]
mov byte [ebp - 4], 0x22
call fcn.00555740
jmp 0x5647a6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0040fe0e
mov edx, dword [ebp - 0x750]
mov ecx, eax
call fcn.00547e20
mov eax, dword [ebp - 0x7c0]
test eax, eax
je 0x5647b9
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [ebp - 0x7cc]
test eax, eax
je 0x5647cc
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 0x5647ec
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 - 0x7ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56480f
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 - 0x7b4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564832
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 - 0x7a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564855
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 - 0x7a0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564878
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 - 0x7a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56489b
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 0x5648bb
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 - 0x774]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5648de
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 - 0x794]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564901
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 - 0x790]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564924
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 - 0x788]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564947
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 - 0x778]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56496a
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 0x564987
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 - 0x780]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5649aa
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 - 0x75c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5649cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x76c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x563eb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
jmp 0x565801
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 - 0x7e4], 0
mov dword [ebp - 0x7e0], 0x11
mov dword [ebp - 0x7dc], 0
mov dword [ebp - 0x7d8], 0
mov dword [ebp - 0x7d4], 0
mov dword [ebp - 0x7d0], 0xa
push str.preferences
lea ecx, [ebp - 0x7e8]
mov byte [ebp - 4], 0x24
call fcn.004082c0
push str.mainoneclick
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xcfc
call fcn.004082c0
push str.auto
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce4
call fcn.004082c0
push str.photo
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce5
call fcn.004082c0
push str.document
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce6
call fcn.004082c0
push str.copy
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce7
call fcn.004082c0
push str.custom
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce8
call fcn.004082c0
push str.stitch
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xceb
call fcn.004082c0
push str.scangear
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xcea
call fcn.004082c0
push 0x5e8b94
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce9
call fcn.004082c0
push 0x5e8b9c
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xd0a
call fcn.004082c0
push str.mail
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xd08
call fcn.004082c0
push str.settings
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xd09
call fcn.004082c0
push str.pushscan
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xcfb
call fcn.004082c0
push str.mainoneclick
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xcec
call fcn.004082c0
push str.pushscansettings
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xce4
call fcn.004082c0
push str.silent
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xcfb
call fcn.004082c0
push str.autopower
lea ecx, [ebp - 0x7e8]
mov dword [eax], 0xd03
call fcn.004082c0
mov dword [eax], 0xd04
push str.none
lea ecx, [ebp - 0x7e8]
call fcn.004082c0
mov dword [eax], 0xd07
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x564c04
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x764], eax
xor eax, eax
mov byte [ebp - 4], 0x25
push 0x2c
push eax
mov dword [ebp - 0x74c], eax
lea eax, [ebp - 0x764]
push esi
push eax
call fcn.0041743e
test eax, eax
je 0x564d17
jmp 0x564c40
mov eax, dword [ebp - 0x764]
inc dword [ebp - 0x74c]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x760], ecx
test ecx, ecx
js 0x563975
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, dword [ebp - 0x760]
or ecx, edx
jge 0x564c89
push dword [ebp - 0x760]
lea ecx, [ebp - 0x764]
call fcn.00402c20
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x760]
inc ecx
push ecx
push eax
call fcn.005299a2
mov eax, dword [ebp - 0x764]
add esp, 8
mov ecx, dword [ebp - 0x760]
cmp ecx, dword [eax - 8]
jg 0x563975
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x764]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7b0]
push eax
push dword [ebp - 0x764]
lea ecx, [ebp - 0x7e8]
call fcn.004083f0
test eax, eax
je 0x564cf9
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x7c0]
mov dword [ebp - 0x754], eax
lea eax, [ebp - 0x754]
push eax
call fcn.00404360
mov eax, dword [ebp - 0x74c]
push 0x2c
push eax
push esi
lea eax, [ebp - 0x764]
push eax
call fcn.0041743e
test eax, eax
jne 0x564c40
mov byte [ebp - 4], 0x24
or ecx, 0xffffffff
mov edx, dword [ebp - 0x764]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564d3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x7e8]
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 - 0x7bc]
mov ecx, dword [ebp - 0x7c0]
sub eax, ecx
test eax, 0xfffffffc
jne 0x564d8b
lea eax, [ebp - 0x754]
mov dword [ebp - 0x7bc], ecx
push eax
lea ecx, [ebp - 0x7c0]
mov dword [ebp - 0x754], 0xce4
call fcn.00404360
mov eax, dword [ebp - 0x76c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x564dd9
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x744], 0
jne 0x564db8
mov dword [ebp - 0x744], 1
mov edx, dword [0x61fa1c]
test edx, edx
je 0x564ddf
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x744]
push 0x20001
push dword [eax*4 + 0x61feb8]
call edx
mov edx, dword [0x61fa1c]
mov eax, dword [ebp - 0x75c]
cmp dword [eax - 0xc], 0
je 0x564f93
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x754], esp
push eax
mov dword [ebp - 0x18], eax
call fcn.00403660
mov ecx, dword [ebp - 0x754]
add eax, 0x10
add esp, 4
xor edx, edx
mov dword [ecx], eax
lea ecx, [ebp - 0x758]
call fcn.00587dc0
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x754], esp
push dword [ebp - 0x18]
call fcn.00403660
mov ecx, dword [ebp - 0x754]
add eax, 0x10
add esp, 4
mov edx, 1
mov dword [ecx], eax
lea ecx, [ebp - 0x784]
call fcn.00587dc0
add esp, 4
mov byte [ebp - 4], 0x27
push dword [ebp - 0x758]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x564f1a
push dword [ebp - 0x784]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x564f1a
mov eax, dword [ebp - 0x750]
mov dword [ebp - 0x744], 0
cmp eax, 0x9fbf1
jne 0x564e9d
mov dword [ebp - 0x744], 1
mov edx, dword [0x61fa1c]
test edx, edx
je 0x564ecd
mov eax, dword [ebp - 0x75c]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x744]
push 0x2000001
push dword [eax*4 + 0x61feb8]
call edx
mov eax, dword [ebp - 0x750]
xor ecx, ecx
cmp eax, 0x9fbf1
jne 0x564edb
mov ecx, 1
mov eax, dword [0x61fa38]
test eax, eax
je 0x564efc
push 0x2000001
push 0x2000000
push dword [ecx*4 + 0x61feb8]
call eax
mov eax, dword [0x61fa38]
xor ecx, ecx
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x564f0f
mov ecx, 1
test eax, eax
je 0x564f49
push 0x132e
jmp 0x564f3b
xor ecx, ecx
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x564f2d
mov ecx, 1
mov eax, dword [0x61fa38]
test eax, eax
je 0x564f49
push 0x132f
push 0x10016
push dword [ecx*4 + 0x61feb8]
call eax
mov byte [ebp - 4], 0x26
or ecx, 0xffffffff
mov edx, dword [ebp - 0x784]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564f6d
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 - 0x758]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x564fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x564fc3
xor eax, eax
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x564fa6
mov eax, 1
mov ecx, dword [0x61fa38]
test ecx, ecx
je 0x564fc9
push 0x132f
push 0x10016
push dword [eax*4 + 0x61feb8]
call ecx
mov edx, dword [0x61fa1c]
mov eax, dword [ebp - 0x794]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x56503f
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x744], 0
jne 0x564ff6
mov dword [ebp - 0x744], 1
test edx, edx
je 0x565011
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x744]
push 0x20006
push dword [eax*4 + 0x61feb8]
call edx
mov eax, dword [ebp - 0x7c0]
lea ecx, [ebp - 0x7c0]
mov dword [ebp - 0x7bc], eax
lea eax, [ebp - 0x754]
push eax
mov dword [ebp - 0x754], 0x1faa
call fcn.00404360
mov edx, dword [0x61fa1c]
mov eax, dword [ebp - 0x780]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x56508d
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x744], 0
jne 0x56506c
mov dword [ebp - 0x744], 1
test edx, edx
je 0x56508d
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x744]
push 0x6020001
push dword [eax*4 + 0x61feb8]
call edx
mov edx, dword [0x61fa1c]
mov eax, dword [ebp - 0x778]
cmp dword [eax - 0xc], 0
je 0x5653c7
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 - 0x818], 0
mov dword [ebp - 0x814], 0x11
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x804], 0xa
push str.auto
lea ecx, [ebp - 0x81c]
mov byte [ebp - 4], 0x28
call fcn.004082c0
push str.jpeg
lea ecx, [ebp - 0x81c]
mov dword [eax], 0x10eb
call fcn.004082c0
push 0x5e8c24
lea ecx, [ebp - 0x81c]
mov dword [eax], 0x10e0
call fcn.004082c0
push 0x5e8c2c
lea ecx, [ebp - 0x81c]
mov dword [eax], 0x10e1
call fcn.004082c0
push 0x5e8c34
lea ecx, [ebp - 0x81c]
mov dword [eax], 0x10e2
call fcn.004082c0
push 0x5e8b94
lea ecx, [ebp - 0x81c]
mov dword [eax], 0x10e3
call fcn.004082c0
push str.mpdf
lea ecx, [ebp - 0x81c]
mov dword [eax], 0x10e5
call fcn.004082c0
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f4], 0
mov dword [eax], 0x10e6
push 8
lea ecx, [ebp - 0x7fc]
mov byte [ebp - 4], 0x29
call fcn.00404c50
call fcn.00414eab
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x5651cc
push 0x80004005
call fcn.00402740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x760], eax
push 0x2c
push 0
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x760]
push dword [ebp - 0x778]
push eax
call fcn.0041743e
test eax, eax
je 0x565269
mov esi, dword [ebp - 0x778]
xor edi, edi
lea ecx, [ebp - 0x760]
inc edi
call fcn.00407a50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7b0]
push eax
push dword [ebp - 0x760]
lea ecx, [ebp - 0x81c]
call fcn.004083f0
test eax, eax
je 0x565249
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x7fc]
mov dword [ebp - 0x754], eax
lea eax, [ebp - 0x754]
push eax
call fcn.00404360
push 0x2c
push edi
push esi
lea eax, [ebp - 0x760]
push eax
call fcn.0041743e
test eax, eax
jne 0x565202
mov esi, dword [ebp - 0x768]
mov edi, dword [ebp - 0x79c]
mov edx, dword [ebp - 0x7f8]
xor eax, eax
sub edx, dword [ebp - 0x7fc]
sar edx, 2
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x74c], edx
jne 0x565291
mov eax, 1
mov ecx, dword [0x61fa38]
test ecx, ecx
je 0x5652b6
push edx
push 0x100ffff
push dword [eax*4 + 0x61feb8]
call ecx
mov ecx, dword [0x61fa38]
mov edx, dword [ebp - 0x74c]
xor eax, eax
mov dword [ebp - 0x770], eax
test edx, edx
jle 0x565341
cmp edx, eax
jbe 0x56581d
cmp dword [ebp - 0x750], 0x9fbf1
mov esi, dword [ebp - 0x7fc]
mov dword [ebp - 0x744], 0
mov esi, dword [esi + eax*4]
mov dword [ebp - 0x754], esi
mov esi, dword [ebp - 0x768]
jne 0x565303
mov dword [ebp - 0x744], 1
test ecx, ecx
je 0x565334
push dword [ebp - 0x754]
add eax, 0x1000001
push eax
mov eax, dword [ebp - 0x744]
push dword [eax*4 + 0x61feb8]
call ecx
mov ecx, dword [0x61fa38]
mov eax, dword [ebp - 0x770]
mov edx, dword [ebp - 0x74c]
inc eax
mov dword [ebp - 0x770], eax
cmp edx, eax
jg 0x5652c8
test edx, edx
je 0x565371
mov eax, dword [ebp - 0x7fc]
mov edx, dword [eax]
xor eax, eax
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x56535e
mov eax, 1
test ecx, ecx
je 0x565371
push edx
push 0x1000000
push dword [eax*4 + 0x61feb8]
call ecx
mov byte [ebp - 4], 0x29
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 0x565395
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x7fc]
test eax, eax
je 0x5653a8
push eax
call fcn.0040d50c
add esp, 4
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x81c]
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 [0x61fa1c]
mov eax, dword [ebp - 0x788]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x565415
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x744], 0
jne 0x5653f4
mov dword [ebp - 0x744], 1
test edx, edx
je 0x565415
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x744]
push 0x20004
push dword [eax*4 + 0x61feb8]
call edx
mov edx, dword [0x61fa1c]
mov eax, dword [ebp - 0x790]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x56545d
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x744], 0
jne 0x565442
mov dword [ebp - 0x744], 1
test edx, edx
je 0x56545d
inc ecx
push ecx
push eax
mov eax, dword [ebp - 0x744]
push 0x20005
push dword [eax*4 + 0x61feb8]
call edx
mov edx, dword [ebp - 0x7bc]
mov eax, dword [ebp - 0x7c0]
sub edx, eax
sar edx, 2
mov dword [ebp - 0x74c], edx
test edx, edx
je 0x5654b7
mov eax, dword [eax]
mov dword [ebp - 0x754], eax
xor eax, eax
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x565493
mov eax, 1
mov ecx, dword [0x61fa38]
test ecx, ecx
je 0x5654b7
push dword [ebp - 0x754]
push 0x10002
push dword [eax*4 + 0x61feb8]
call ecx
mov edx, dword [ebp - 0x74c]
cmp edx, 1
jbe 0x565576
lea eax, [edx - 1]
mov dword [ebp - 0x754], eax
xor eax, eax
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x5654dc
mov eax, 1
mov ecx, dword [0x61fa38]
test ecx, ecx
je 0x565500
push dword [ebp - 0x754]
push 0x102ffff
push dword [eax*4 + 0x61feb8]
call ecx
mov edx, dword [ebp - 0x74c]
mov eax, 1
mov dword [ebp - 0x770], eax
cmp edx, eax
jle 0x565576
cmp edx, eax
jbe 0x56581d
cmp dword [ebp - 0x750], 0x9fbf1
mov dword [ebp - 0x744], 0
jne 0x565537
mov dword [ebp - 0x744], 1
mov ecx, dword [0x61fa38]
test ecx, ecx
je 0x56556b
mov edx, dword [ebp - 0x7c0]
push dword [edx + eax*4]
add eax, 0x1020000
push eax
mov eax, dword [ebp - 0x744]
push dword [eax*4 + 0x61feb8]
call ecx
mov eax, dword [ebp - 0x770]
mov edx, dword [ebp - 0x74c]
inc eax
mov dword [ebp - 0x770], eax
cmp edx, eax
jg 0x565511
mov eax, dword [ebp - 0x7c8]
sub eax, dword [ebp - 0x7cc]
je 0x5655b1
xor edx, edx
cmp dword [ebp - 0x750], 0x9fbf1
jne 0x565597
mov edx, 1
mov ecx, dword [0x61fa64]
test ecx, ecx
je 0x5655b1
push eax
push dword [ebp - 0x7cc]
push dword [edx*4 + 0x61feb8]
call ecx
mov eax, dword [ebp - 0x7c0]
test eax, eax
je 0x5655c4
push eax
call fcn.0040d50c
add esp, 4
mov eax, dword [ebp - 0x7cc]
test eax, eax
je 0x5655d7
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 0x5655f7
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 - 0x7ac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56561a
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 - 0x7b4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56563d
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 - 0x7a8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565660
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 - 0x7a0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565683
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 - 0x7a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5656a6
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 0x5656c6
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 - 0x774]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5656e9
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 - 0x794]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56570c
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 - 0x790]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x56572f
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 - 0x788]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565752
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 - 0x778]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x565775
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 0x565792
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 - 0x780]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5657b5
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 - 0x75c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5657d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x76c]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x5657fc
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
invalid