Function at 0x4085ce
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x408780
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
movzx eax, byte [eax]
test eax, eax
je 0x40875d
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x408689
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x408689
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
jne 0x408689
and dword [ebp - 0x238], 0
jmp 0x408693
mov dword [ebp - 0x238], 1
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0x5e31
jl 0x4086b8
mov dword [ebp - 0x130], 1
jmp 0x4086bf
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x130]
jge 0x4086db
mov dword [ebp - 0x1b4], 1
jmp 0x4086e2
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0
ja 0x4086f7
mov dword [ebp - 0x1bc], 1
jmp 0x4086fe
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp dword [ebp - 0x1bc], eax
jl 0x408717
mov dword [ebp - 0x1ac], 1
jmp 0x40871e
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x1ac]
sub eax, 0xcd43
mov ecx, dword [ebp - 0x4c]
cmp eax, dword [ecx]
jne 0x408741
mov dword [ebp - 0xf4], 1
jmp 0x408748
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, 0x18ab
mov ecx, dword [ebp - 0x1e0]
mov dword [ecx], eax
jmp 0x40877b
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x40877b
push 0x2633
push 0x1080
push 0
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
jmp 0x409dee
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x200], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
movzx eax, byte [eax]
test eax, eax
je 0x409725
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x190], 0x94b2ab76
mov dword [ebp - 0x170], 1
push 2
lea ecx, [ebp - 0x2a4]
call fcn.00422862
mov dword [ebp - 0x6c], 0
jmp 0x40882d
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x408849
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2a4]
call fcn.00422927
mov dword [eax], 0xfffffff8
jmp 0x408826
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffffa
jb 0x408861
mov dword [ebp - 0x10c], 1
jmp 0x408868
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x50], 0
je 0x408883
mov eax, 0xe4b7
test eax, eax
je 0x408883
mov dword [ebp - 0xfc], 1
jmp 0x40888a
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x50], eax
je 0x40889e
mov dword [ebp - 0x154], 1
jmp 0x4088a5
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xfffffffe
jne 0x4088ba
mov dword [ebp - 0x104], 1
jmp 0x4088c1
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
imul eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x50]
jle 0x4088eb
mov dword [ebp - 0x168], 1
jmp 0x4088f2
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x168], eax
jge 0x408909
mov dword [ebp - 0x1a8], 1
jmp 0x408910
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x1a8]
jl 0x40892a
mov dword [ebp - 0x114], 1
jmp 0x408931
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x40895a
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x408958
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
jmp 0x4089a9
mov dword [ebp - 0x34], 0
jmp 0x40896a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x408986
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2a4]
call fcn.00422927
mov dword [eax], 0x700d62e6
jmp 0x408963
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x4089a9
push 0
push 0x119e
push 0xe86
push 0x1dd7
call dword [sym.imp.KERNEL32.dll_RaiseException]
lea ecx, [ebp - 0x2a4]
call fcn.00422922
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0x318], 0xffffffff
mov dword [ebp - 0xbc], 4
push 2
lea ecx, [ebp - 0x2bc]
call fcn.00422862
mov dword [ebp - 0x10], 0
jmp 0x408a07
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x408a1d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x3a0], 0xf0ea
jmp 0x408a00
mov dword [ebp - 0x10], 0
jmp 0x408a2d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x408a49
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2bc]
call fcn.00422927
mov dword [eax], 0x999d94b4
jmp 0x408a26
mov dword [ebp - 0x10], 0
jmp 0x408a59
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x408a6f
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x38c], 0xffffffff
jmp 0x408a52
mov dword [ebp - 0xa0], 0
jmp 0x408a88
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jg 0x408b09
mov dword [ebp - 0x31c], 0x5121
mov dword [ebp - 0x348], 0xffffffff
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x2fc], 0xfffffff6
mov dword [ebp - 0x32c], 0x5b054dbb
mov dword [ebp - 0x74], 0
jmp 0x408ad3
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x408ae9
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x3c8], 9
jmp 0x408acc
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x38c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x38c], eax
jmp 0x408a7b
mov dword [ebp - 0xbc], 0
jmp 0x408b22
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xffffffff
jl 0x408b91
push 2
lea ecx, [ebp - 0x2d4]
call fcn.00422862
mov dword [ebp - 0x7c], 0
jmp 0x408b48
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x408b64
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2d4]
call fcn.00422927
mov dword [eax], 0xc58f5537
jmp 0x408b41
push 1
lea ecx, [ebp - 0x2d4]
call fcn.00422927
mov esi, eax
push 0
lea ecx, [ebp - 0x2bc]
call fcn.00422927
mov ecx, dword [esi]
mov dword [eax], ecx
lea ecx, [ebp - 0x2d4]
call fcn.00422922
jmp 0x408b15
lea ecx, [ebp - 0x2bc]
call fcn.00422922
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x368], 0x48d327cb
mov dword [ebp - 0x364], 0x48d327cb
mov dword [ebp - 0x360], 0x48d327cb
mov dword [ebp - 0x35c], 0x48d327cb
mov dword [ebp - 0x378], 0x8fc558ba
mov dword [ebp - 0x11c], 2
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x408c07
push 0
push 0x1aa6
push 0x8aa
push 0x1f72
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
mov eax, dword [ebp - 0x11c]
dec eax
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0xc], 7
push 2
lea ecx, [ebp - 0x298]
call fcn.00422862
push 3
lea ecx, [ebp - 0x2ec]
call fcn.00422862
mov dword [ebp - 0xcc], 0x38425739
push 1
lea ecx, [ebp - 0x1c8]
call fcn.00422862
mov dword [ebp - 0x334], 7
mov dword [ebp - 4], 0
jmp 0x408c72
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x408c8e
push dword [ebp - 4]
lea ecx, [ebp - 0x298]
call fcn.00422927
mov dword [eax], 0xcb61d225
jmp 0x408c6b
mov dword [ebp - 4], 0
jmp 0x408c9e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x408cba
push dword [ebp - 4]
lea ecx, [ebp - 0x2ec]
call fcn.00422927
mov dword [eax], 0x50faeb38
jmp 0x408c97
mov dword [ebp - 4], 0
jmp 0x408cca
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x408ce6
push dword [ebp - 4]
lea ecx, [ebp - 0x1c8]
call fcn.00422927
mov dword [eax], 0xe2e4ed
jmp 0x408cc3
mov dword [ebp - 4], 0
jmp 0x408cf6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x408d0c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x398], 0xfffffffd
jmp 0x408cef
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
je 0x408d20
mov dword [ebp - 0x198], 1
jmp 0x408d27
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 1
jg 0x408d3c
mov dword [ebp - 0x124], 1
jmp 0x408d43
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
sub eax, 0x16
cmp eax, dword [ebp - 0xc]
jne 0x408d5d
mov dword [ebp - 0x178], 1
jmp 0x408d64
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x178]
cmp eax, dword [ebp - 0xc]
jg 0x408d7f
mov dword [ebp - 0x12c], 1
jmp 0x408d86
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x12c]
jl 0x408d9d
mov dword [ebp - 0xc4], 1
jmp 0x408da4
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x2ec]
call fcn.00422927
mov ecx, dword [ebp - 0xc4]
mov dword [eax], ecx
cmp dword [ebp - 0xc4], 0xfffffffc
jae 0x408dce
mov dword [ebp - 0x1b8], 1
jmp 0x408dd5
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1b8], eax
je 0x408dec
mov dword [ebp - 0x134], 1
jmp 0x408df3
and dword [ebp - 0x134], 0
push 1
lea ecx, [ebp - 0x298]
call fcn.00422927
mov dword [eax], 0x66c93ee3
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x66c93ee3
jne 0x408e2a
mov dword [ebp - 0x250], 1
jmp 0x408e31
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x344], eax
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00422927
mov esi, eax
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00422927
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x408e69
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00422927
push 0
lea ecx, [ebp - 0x1c8]
call fcn.00422927
mov ecx, dword [ebp - 0xc]
cmp dword [eax], ecx
je 0x408e89
mov dword [ebp - 0x180], 1
jmp 0x408e90
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x408eb1
cmp dword [ebp - 0xcc], 0
jne 0x408eb1
and dword [ebp - 0x13c], 0
jmp 0x408ebb
mov dword [ebp - 0x13c], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x13c]
mov dword [ebp + eax - 0x398], ecx
mov dword [ebp - 0xc], 0
jmp 0x408ede
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jg 0x408f03
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x408f01
push 0x224c
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x408ed7
lea ecx, [ebp - 0x1c8]
call fcn.00422922
lea ecx, [ebp - 0x2ec]
call fcn.00422922
lea ecx, [ebp - 0x298]
call fcn.00422922
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x54], 0xffffffff
push 1
lea ecx, [ebp - 0x2b0]
call fcn.00422862
mov dword [ebp - 0xec], 0xfffffff8
mov dword [ebp - 0x280], 1
mov dword [ebp - 0xac], 0
jmp 0x408f71
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 1
jge 0x408f93
push dword [ebp - 0xac]
lea ecx, [ebp - 0x2b0]
call fcn.00422927
mov dword [eax], 0xc405b401
jmp 0x408f64
cmp dword [ebp - 0x54], 0
je 0x408fd2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1a0], eax
push 0
lea ecx, [ebp - 0x2b0]
call fcn.00422927
mov ecx, dword [ebp - 0x1a0]
mov dword [eax], ecx
cmp dword [ebp - 0x1a0], 0
je 0x408fd2
cmp dword [ebp - 0x54], 0
je 0x408fd2
mov dword [ebp - 0x188], 1
jmp 0x408fd9
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x54], 0
jle 0x408ff4
mov dword [ebp - 0x144], 1
jmp 0x408ffb
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x144], eax
jge 0x409012
mov dword [ebp - 0x14c], 1
jmp 0x409019
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x188]
cmp eax, dword [ebp - 0x14c]
jg 0x409033
mov dword [ebp - 0x1b0], 1
jmp 0x40903a
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x409068
push 0
push 0
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [ebp - 0x2b0]
call fcn.00422922
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x84], 1
push 2
lea ecx, [ebp - 0x340]
call fcn.00422862
mov dword [ebp - 0x18], 0
jmp 0x4090a6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x4090c2
push dword [ebp - 0x18]
lea ecx, [ebp - 0x340]
call fcn.00422927
mov dword [eax], 0x20fe6e32
jmp 0x40909f
mov dword [ebp - 0x18], 0
jmp 0x4090d2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x4090e8
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3b8], 0
jmp 0x4090cb
mov dword [ebp - 0x84], 0
jmp 0x409101
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xfffffff7
jg 0x40922e
mov dword [ebp - 0x268], 0xce1e2c0d
mov dword [ebp - 0x264], 0xce1e2c0d
mov dword [ebp - 0x260], 0xce1e2c0d
mov dword [ebp - 0x25c], 0xce1e2c0d
mov dword [ebp - 0x308], 6
mov dword [ebp - 0x8c], 0x96c7979b
mov dword [ebp - 0x258], 0xfffffffc
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x268], 1
jmp 0x409182
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x268]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x268], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x268], 0
jl 0x4091fa
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0x310], 0
mov dword [ebp - 0xb8], 1
jmp 0x4091bf
mov eax, dword [ebp - 0xb8]
dec eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jl 0x4091e1
mov dword [ebp - 0xf0], 0x7e71f09a
mov eax, dword [ebp - 0xf0]
dec eax
mov dword [ebp - 0xf0], eax
jmp 0x4091b2
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x4091f5
push 0
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
jmp 0x409167
mov dword [ebp - 0x8c], 0
jmp 0x409213
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xfffffff3
jle 0x409229
cmp dword [ebp - 0x258], 0
je 0x409227
jmp 0x409229
jmp 0x409206
jmp 0x4090f4
lea ecx, [ebp - 0x340]
call fcn.00422922
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x5c], 0x9dada439
mov dword [ebp - 0xb4], 0
jmp 0x409265
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x409281
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x24c], 1
jmp 0x409258
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x40929f
push 0x2633
push 0x1080
push 0
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
mov dword [ebp - 0x5c], 0
jmp 0x4092af
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jg 0x409415
xor eax, eax
je 0x4093e9
mov eax, dword [ebp - 0x5c]
cmp dword [ebp + eax*4 - 0x24c], 0
je 0x4093d0
mov dword [ebp - 0xc0], 0xfffffff7
mov dword [ebp - 0x94], 0
jmp 0x4092f5
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x409311
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0xd8], 0
jmp 0x4092e8
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xd8], 2
jmp 0x40933f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xd8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd8], 0
jl 0x409394
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd8]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xd8]
mov eax, dword [ebp + eax*4 - 0x24c]
mov dword [ebp + ecx*4 - 0x24c], eax
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x409392
push 0
push 0
push 0x1c11
call dword [sym.imp.USER32.dll_SetPropA]
jmp 0x409324
mov dword [ebp - 0xc0], 2
jmp 0x4093ad
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jl 0x4093ce
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x4093cc
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x4093a0
jmp 0x4093e7
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
jmp 0x4093fb
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24c], 0
je 0x4093fb
jmp 0x409415
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24c], 0
je 0x409410
jmp 0x4092a8
jmp 0x4092a8
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x64], 0
jmp 0x40943d
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x409453
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x26c], 0
jmp 0x409436
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x26c], 0
je 0x409488
mov dword [ebp - 0x220], 0x98a59c17
mov dword [ebp - 0x27c], 0xffffffff
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x27c], eax
jmp 0x409559
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x24], 0xffffffe4
jmp 0x40949f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffee
je 0x40951e
push 1
lea ecx, [ebp - 0x2c8]
call fcn.00422862
mov dword [ebp - 0x9c], 0
jmp 0x4094cb
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jge 0x4094ea
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x2c8]
call fcn.00422927
and dword [eax], 0
jmp 0x4094be
push 0
lea ecx, [ebp - 0x2c8]
call fcn.00422927
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x100]
mov dword [ecx], eax
lea ecx, [ebp - 0x2c8]
call fcn.00422922
jmp 0x409498
mov dword [ebp - 0x24], 0
jmp 0x40952e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 8
jle 0x409559
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x409557
push 0
push 0x119e
push 0xe86
push 0x1dd7
call dword [sym.imp.KERNEL32.dll_RaiseException]
jmp 0x409527
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x58], 0x9b55bb2c
mov dword [ebp - 0x58], 0
jmp 0x40957c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xf
je 0x4095ab
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x68], 0xb
jmp 0x409599
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffed
je 0x4095a9
cmp dword [ebp - 0x58], 0
je 0x4095a7
jmp 0x4095a9
jmp 0x409592
jmp 0x409575
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x70], 0x928c176b
mov dword [ebp - 0x70], 0
jmp 0x4095ce
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x11
jl 0x4096b6
mov dword [ebp - 0x80], 8
push 4
lea ecx, [ebp - 0x2f8]
call fcn.00422862
mov dword [ebp - 0x78], 0
jmp 0x4095fc
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 4
jge 0x409618
push dword [ebp - 0x78]
lea ecx, [ebp - 0x2f8]
call fcn.00422927
mov dword [eax], 0xfffffffc
jmp 0x4095f5
mov dword [ebp - 0x80], 0x18
jmp 0x409628
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffffa
jg 0x4096a6
push 1
lea ecx, [ebp - 0x2e0]
call fcn.00422862
mov dword [ebp - 0x88], 0
jmp 0x409654
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x409676
push dword [ebp - 0x88]
lea ecx, [ebp - 0x2e0]
call fcn.00422927
mov dword [eax], 0x5d811f07
jmp 0x409647
push 0
lea ecx, [ebp - 0x2e0]
call fcn.00422927
mov esi, eax
push 2
lea ecx, [ebp - 0x2f8]
call fcn.00422927
mov ecx, dword [esi]
mov dword [eax], ecx
lea ecx, [ebp - 0x2e0]
call fcn.00422922
jmp 0x409621
lea ecx, [ebp - 0x2f8]
call fcn.00422922
jmp 0x4095c7
mov eax, dword [ebp - 0x108]
mov dword [eax], 0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x230]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x1d0]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x1d4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xc8]
cmp eax, dword [ecx]
jle 0x409707
mov dword [ebp - 0x110], 1
jmp 0x40970e
and dword [ebp - 0x110], 0
imul eax, dword [ebp - 0x110], 0xf71d
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jmp 0x409dee
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x330], 0xfffffffb
push 4
lea ecx, [ebp - 0x374]
call fcn.00422862
mov dword [ebp - 0x90], 0
jmp 0x40975c
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jge 0x40977e
push dword [ebp - 0x90]
lea ecx, [ebp - 0x374]
call fcn.00422927
mov dword [eax], 0xfcfbce00
jmp 0x40974f
mov dword [ebp - 0x3c], 0xffffffe2
jmp 0x40978e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x16
je 0x409990
push 2
lea ecx, [ebp - 0x28c]
call fcn.00422862
mov dword [ebp - 0x14], 0
jmp 0x4097b5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x4097cb
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3b0], 0x9c3f
jmp 0x4097ae
mov dword [ebp - 0x14], 0
jmp 0x4097db
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x4097f7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28c]
call fcn.00422927
mov dword [eax], 0x23371247
jmp 0x4097d4
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x3b0], 0
jne 0x409815
or eax, 0xffffffff
jne 0x409815
and dword [ebp - 0x120], 0
jmp 0x40981f
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x118], eax
push 0
lea ecx, [ebp - 0x28c]
call fcn.00422927
mov ecx, dword [ebp - 0x118]
mov dword [eax], ecx
cmp dword [ebp - 0x118], 0xfff6
ja 0x409856
mov dword [ebp - 0x128], 1
jmp 0x40985d
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x128]
jg 0x409877
mov dword [ebp - 0xe8], 1
jmp 0x40987e
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0xe8]
je 0x4098b3
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x4098ae
push 0
push 0
push 0
push 0
push 0
push 0
push 0x9ee
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40996d
mov dword [ebp - 0x37c], 0xe012d2c8
mov dword [ebp - 0x304], 7
mov dword [ebp - 0x314], 0xd40a1650
mov dword [ebp - 0x30c], 0x1a7a81a8
push 3
lea ecx, [ebp - 0x358]
call fcn.00422862
mov dword [ebp - 0x138], 0x25189d9e
mov dword [ebp - 0x98], 0
jmp 0x40990b
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jge 0x40992d
push dword [ebp - 0x98]
lea ecx, [ebp - 0x358]
call fcn.00422927
mov dword [eax], 0xf84255eb
jmp 0x4098fe
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x409955
push 0xfe0
push 0x835
push 0xa40
push 0xee5
push 0
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x138]
dec eax
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x358]
call fcn.00422922
cmp dword [ebp - 0x3c], 0
je 0x409980
lea ecx, [ebp - 0x28c]
call fcn.00422922
jmp 0x409990
lea ecx, [ebp - 0x28c]
call fcn.00422922
jmp 0x409787
lea ecx, [ebp - 0x374]
call fcn.00422922
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1fc], eax
push 4
lea ecx, [ebp - 0x160]
call fcn.00422862
mov dword [ebp - 8], 0xfffffffb
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x60], 1
mov dword [ebp - 0xa8], 0
jmp 0x4099e9
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 4
jge 0x409a0b
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x160]
call fcn.00422927
mov dword [eax], 4
jmp 0x4099dc
mov dword [ebp - 8], 3
jmp 0x409a1b
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x409ccd
mov dword [ebp - 0x44], 0xd013d0bb
push 2
lea ecx, [ebp - 0xe4]
call fcn.00422862
mov dword [ebp - 0xb0], 0
jmp 0x409a52
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 2
jge 0x409a74
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xe4]
call fcn.00422927
mov dword [eax], 0xfffffffd
jmp 0x409a45
push dword [ebp - 8]
lea ecx, [ebp - 0x160]
call fcn.00422927
cmp dword [eax], 0
je 0x409bfa
push 0
lea ecx, [ebp - 0x160]
call fcn.00422927
push dword [ebp - 8]
lea ecx, [ebp - 0x160]
call fcn.00422927
mov dword [ebp - 0x140], eax
push dword [ebp - 8]
lea ecx, [ebp - 0x160]
call fcn.00422927
mov ecx, dword [ebp - 0x140]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x140]
cmp dword [eax], 0
je 0x409b16
push dword [ebp - 8]
lea ecx, [ebp - 0x160]
call fcn.00422927
cmp dword [eax], 0
jne 0x409af1
cmp dword [ebp - 8], 0
jne 0x409af1
and dword [ebp - 0x148], 0
jmp 0x409afb
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x409b16
mov dword [ebp - 0x150], 1
jmp 0x409b1d
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x44], eax
mov esi, dword [ebp - 0x44]
push 1
lea ecx, [ebp - 0xe4]
call fcn.00422927
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0xe4]
call fcn.00422927
add esi, dword [eax]
cmp esi, dword [ebp - 8]
jg 0x409b59
mov dword [ebp - 0x164], 1
jmp 0x409b60
and dword [ebp - 0x164], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.00422927
mov ecx, dword [ebp - 0x164]
add ecx, dword [eax]
jne 0x409b83
mov dword [ebp - 0xd0], 1
jmp 0x409b8a
and dword [ebp - 0xd0], 0
push 1
lea ecx, [ebp - 0xe4]
call fcn.00422927
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
cmp dword [ebp - 0xd0], 0
je 0x409bac
cmp dword [ebp - 8], 0
cmp dword [ebp - 8], 0x4128
jne 0x409bc1
mov dword [ebp - 0x16c], 1
jmp 0x409bc8
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x16c]
cmp dword [ebp - 8], eax
jle 0x409be2
mov dword [ebp - 0x174], 1
jmp 0x409be9
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x20], eax
jne 0x409c22
mov dword [ebp - 0x1e4], 0xffffffff
cmp dword [ebp - 0x1e4], 0
je 0x409c1d
lea ecx, [ebp - 0xe4]
call fcn.00422922
jmp 0x409ccd
jmp 0x409cbd
mov dword [ebp - 0x1ec], 0xd37f4a1d
mov dword [ebp - 0x44], 1
jmp 0x409c3c
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x409cb3
mov dword [ebp - 0x20], 1
jmp 0x409c52
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x409cb1
push dword [ebp - 0x44]
lea ecx, [ebp - 0xe4]
call fcn.00422927
cmp dword [eax], 0
je 0x409c6d
jmp 0x409cb1
mov dword [ebp - 0x1c], 3
jmp 0x409c7d
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x409caf
push dword [ebp - 0x20]
lea ecx, [ebp - 0xe4]
call fcn.00422927
and dword [eax], 0
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x409cad
push 0x1309
push 0
call dword [sym.imp.USER32.dll_CharUpperBuffW]
jmp 0x409c76
jmp 0x409c4b
jmp 0x409c35
mov dword [ebp - 0x1ec], 0xfffffffe
lea ecx, [ebp - 0xe4]
call fcn.00422922
jmp 0x409a14
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x1c], eax
jle 0x409ce8
mov dword [ebp - 0x17c], 1
jmp 0x409cef
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x17c], eax
jle 0x409d06
mov dword [ebp - 0x184], 1
jmp 0x409d0d
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x184], eax
jne 0x409d24
mov dword [ebp - 0x18c], 1
jmp 0x409d2b
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18c]
jne 0x409d4b
cmp dword [ebp - 0x1c], 0
jne 0x409d4b
and dword [ebp - 0x194], 0
jmp 0x409d55
mov dword [ebp - 0x194], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x194]
jge 0x409d7b
push 0
lea ecx, [ebp - 0x160]
call fcn.00422927
cmp dword [eax], 0
jne 0x409d7b
and dword [ebp - 0x19c], 0
jmp 0x409d85
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
sub eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x60]
jne 0x409d9f
mov dword [ebp - 0x1a4], 1
jmp 0x409da6
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x160]
call fcn.00422922
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
mov ecx, dword [ecx]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret