Function at 0x1004cf38
Capabilities:
Check os version
Create process on windows
Extract resource via kernel32 functions
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076834
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ec
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004f4b9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x2c], 0x9fe387fb
mov dword [ebp - 0xc4], 0
jmp 0x1004cf8c
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 3
jge 0x1004cfa8
mov eax, dword [ebp - 0xc4]
mov dword [ebp + eax*4 - 0x358], 0xffffffff
jmp 0x1004cf7f
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x358], ecx
mov dword [ebp - 0x2c], 0
jmp 0x1004cfc8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x1004d0b7
mov dword [ebp - 0x30c], 0x54c97515
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x358], 0
jae 0x1004cff8
mov dword [ebp - 0x2a8], 1
jmp 0x1004cfff
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x358]
add eax, dword [ebp - 0x2a8]
cmp eax, 0x67e6aa14
jg 0x1004d022
mov dword [ebp - 0x304], 1
jmp 0x1004d029
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
neg eax
add eax, 0x18d9
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp + ecx*4 - 0x358], eax
je 0x1004d05a
mov dword [ebp - 0x2e8], 1
jmp 0x1004d061
and dword [ebp - 0x2e8], 0
cmp dword [ebp - 0x2e8], 0xfffffffc
jl 0x1004d076
mov dword [ebp - 0x118], 1
jmp 0x1004d07d
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x358]
cmp dword [ebp - 0x118], eax
jle 0x1004d09b
mov dword [ebp - 0x25c], 1
jmp 0x1004d0a2
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x25c]
mov dword [ebp + eax*4 - 0x358], ecx
jmp 0x1004cfc1
mov dword [ebp - 0x74], 9
mov dword [ebp - 0x35c], 0x1852
mov dword [ebp - 0x70], 0xfffffffe
mov dword [ebp - 0xcc], 0
jmp 0x1004d0e8
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 3
jge 0x1004d104
mov eax, dword [ebp - 0xcc]
mov dword [ebp + eax*4 - 0x4e0], 0x47dc4b4e
jmp 0x1004d0db
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x70], 2
jmp 0x1004d11d
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x1004d13b
mov eax, dword [ebp - 0x70]
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax*4 - 0x4e0]
mov dword [ebp + ecx - 0x4e0], eax
jmp 0x1004d116
mov dword [ebp - 0x280], 0
push 2
lea ecx, [ebp - 0x324]
call fcn.1001737c
and dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x428]
call fcn.1001737c
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x1004d177
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1004d193
push dword [ebp - 0x44]
lea ecx, [ebp - 0x324]
call fcn.1001740a
mov dword [eax], 0xdf99ff60
jmp 0x1004d170
mov dword [ebp - 0x44], 0
jmp 0x1004d1a3
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x1004d1bf
push dword [ebp - 0x44]
lea ecx, [ebp - 0x428]
call fcn.1001740a
mov dword [eax], 1
jmp 0x1004d19c
push 1
lea ecx, [ebp - 0x324]
call fcn.1001740a
and dword [eax], 0
jmp 0x1004d1f5
push 1
lea ecx, [ebp - 0x324]
call fcn.1001740a
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x120]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x324]
call fcn.1001740a
cmp dword [eax], 0x11
jge 0x1004d48b
mov dword [ebp - 0x39c], 0xec79cf18
mov dword [ebp - 0x49c], 0x6887e0
mov dword [ebp - 0x4a8], 1
mov dword [ebp - 0x284], 0xc73f
mov dword [ebp - 0xa8], 0
jmp 0x1004d24c
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 3
jge 0x1004d268
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x330], 0
jmp 0x1004d23f
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x330], 3
jmp 0x1004d293
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x330]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x330], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x330], 0x1c
jne 0x1004d479
mov dword [ebp - 0xbc], 0xfffffffd
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x330], 0
je 0x1004d2d8
mov dword [ebp - 0x4c8], 0xffffffff
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
jmp 0x1004d2f7
mov byte [ebp - 0x5f], 0
movzx eax, byte [ebp - 0x5f]
test eax, eax
je 0x1004d2ec
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x39c], 0
je 0x1004d2f7
jmp 0x1004d27a
xor eax, eax
jne 0x1004d42d
push 1
lea ecx, [ebp - 0x324]
call fcn.1001740a
cmp dword [eax], 0
jne 0x1004d424
cmp dword [ebp - 0xbc], 0x4e401d93
je 0x1004d32d
mov dword [ebp - 0x264], 1
jmp 0x1004d334
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x264]
jge 0x1004d34e
mov dword [ebp - 0x128], 1
jmp 0x1004d355
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0xebdb
je 0x1004d36d
mov dword [ebp - 0x26c], 1
jmp 0x1004d374
and dword [ebp - 0x26c], 0
push 1
lea ecx, [ebp - 0x428]
call fcn.1001740a
mov ecx, dword [ebp - 0x26c]
cmp ecx, dword [eax]
je 0x1004d397
mov dword [ebp - 0x130], 1
jmp 0x1004d39e
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0xf27142b6
ja 0x1004d3b6
mov dword [ebp - 0x274], 1
jmp 0x1004d3bd
and dword [ebp - 0x274], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp - 0x274]
sub esi, dword [ebp + eax - 0x330]
push 1
lea ecx, [ebp - 0x324]
call fcn.1001740a
mov eax, dword [eax]
lea eax, [esi + eax - 0xe10d]
test eax, eax
jbe 0x1004d3f5
mov dword [ebp - 0x138], 1
jmp 0x1004d3fc
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x9390dfc1
jbe 0x1004d414
mov dword [ebp - 0x3a4], 1
jmp 0x1004d41b
and dword [ebp - 0x3a4], 0
mov eax, 0x80a3888a
test eax, eax
je 0x1004d42d
and dword [ebp - 0x27c], 0
jmp 0x1004d437
mov dword [ebp - 0x27c], 1
cmp dword [ebp - 0x27c], 6
jbe 0x1004d44c
mov dword [ebp - 0x140], 1
jmp 0x1004d453
and dword [ebp - 0x140], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x330]
add esi, dword [ebp - 0x140]
push 1
lea ecx, [ebp - 0x428]
call fcn.1001740a
mov dword [eax], esi
jmp 0x1004d27a
mov eax, dword [ebp - 0x284]
inc eax
mov dword [ebp - 0x284], eax
jmp 0x1004d1d1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.10017405
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.10017405
mov dword [ebp - 0xd0], 0
push 2
lea ecx, [ebp - 0x434]
call fcn.1001737c
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0xe4]
call fcn.1001737c
mov byte [ebp - 4], 3
mov dword [ebp - 0x28c], 0x2aa61fc2
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x3c], 0
jmp 0x1004d4fc
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1004d515
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x434]
call fcn.1001740a
and dword [eax], 0
jmp 0x1004d4f5
mov dword [ebp - 0x3c], 0
jmp 0x1004d525
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1004d541
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xe4]
call fcn.1001740a
mov dword [eax], 0x25d16df2
jmp 0x1004d51e
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
and dword [eax], 0
jmp 0x1004d577
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
cmp dword [eax], 1
jg 0x1004d5ac
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
push dword [eax]
lea ecx, [ebp - 0x434]
call fcn.1001740a
cmp dword [eax], 0
je 0x1004d5aa
jmp 0x1004d5ac
jmp 0x1004d553
mov dword [ebp - 0x28c], 0xffffffff
mov esi, dword [ebp - 0x28c]
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
cmp dword [eax], esi
jle 0x1004d5d9
mov dword [ebp - 0x3ac], 1
jmp 0x1004d5e0
and dword [ebp - 0x3ac], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.1001740a
imul esi, dword [eax], 0xfa31
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
cmp esi, dword [eax]
jge 0x1004d610
mov dword [ebp - 0x150], 1
jmp 0x1004d617
and dword [ebp - 0x150], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.1001740a
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
je 0x1004d63a
mov dword [ebp - 0x3b4], 1
jmp 0x1004d641
and dword [ebp - 0x3b4], 0
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
mov ecx, dword [ebp - 0xe8]
cmp dword [eax], ecx
jle 0x1004d671
mov dword [ebp - 0x294], 1
jmp 0x1004d678
and dword [ebp - 0x294], 0
push 1
lea ecx, [ebp - 0x434]
call fcn.1001740a
mov ecx, dword [ebp - 0x294]
cmp ecx, dword [eax]
je 0x1004d69b
mov dword [ebp - 0x158], 1
jmp 0x1004d6a2
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x158], eax
jg 0x1004d6bc
mov dword [ebp - 0x29c], 1
jmp 0x1004d6c3
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x29c], eax
jge 0x1004d6dd
mov dword [ebp - 0x160], 1
jmp 0x1004d6e4
and dword [ebp - 0x160], 0
push 1
lea ecx, [ebp - 0xe4]
call fcn.1001740a
mov ecx, dword [ebp - 0x160]
mov dword [eax], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.10017405
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.10017405
mov dword [ebp - 0x1c8], 0x3b8c105a
mov dword [ebp - 0x4b0], 0xe0cf5720
mov byte [ebp - 0x5e], 0
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x1004d746
push 0
push 0x19db
push 0
call dword [sym.imp.GDI32.dll_GetRegionData]
mov byte [ebp - 0x68], 0
movzx eax, byte [ebp - 0x68]
test eax, eax
je 0x1004d768
push 0x1d75
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x1d8], 0x6bc22736
mov dword [ebp - 0x18], 0x2e08
mov dword [ebp - 0x98], 0xb0befcdf
mov dword [ebp - 0x4c], 0xc1dfe936
mov dword [ebp - 0x94], 1
mov dword [ebp - 0xfc], 0xc0de450b
mov dword [ebp - 0x3d0], 1
mov dword [ebp - 0xb0], 0
jmp 0x1004d7c1
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 4
jge 0x1004d7dd
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x470], 0x80095520
jmp 0x1004d7b4
push 6
pop eax
test eax, eax
je 0x1004d89c
cmp dword [ebp - 0x18], 0
je 0x1004d800
cmp dword [ebp - 0x18], 0
je 0x1004d800
mov dword [ebp - 0x2a4], 1
jmp 0x1004d807
and dword [ebp - 0x2a4], 0
cmp dword [ebp - 0x2a4], 0xffffffff
jl 0x1004d822
cmp dword [ebp - 0x18], 0
je 0x1004d822
mov dword [ebp - 0x168], 1
jmp 0x1004d829
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x1004d84c
or eax, 0xffffffff
jne 0x1004d84c
and dword [ebp - 0x2ac], 0
jmp 0x1004d856
mov dword [ebp - 0x2ac], 1
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfc9b
jg 0x1004d874
mov dword [ebp - 0x170], 1
jmp 0x1004d87b
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x1004d89c
mov dword [ebp - 0x2b4], 1
jmp 0x1004d8a3
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x1004d8c4
mov dword [ebp - 0x178], 1
jmp 0x1004d8cb
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x178], eax
jge 0x1004d8e2
mov dword [ebp - 0x3bc], 1
jmp 0x1004d8e9
and dword [ebp - 0x3bc], 0
mov eax, 0x1466
sub eax, dword [ebp - 0x18]
imul eax, eax, 5
cmp dword [ebp - 0x18], eax
jl 0x1004d905
mov dword [ebp - 0x2bc], 1
jmp 0x1004d90c
and dword [ebp - 0x2bc], 0
cmp dword [ebp - 0x2bc], 6
jg 0x1004d921
mov dword [ebp - 0x180], 1
jmp 0x1004d928
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x18]
jg 0x1004d947
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x1004d947
and dword [ebp - 0x2d4], 0
jmp 0x1004d951
mov dword [ebp - 0x2d4], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp + eax - 0x470], ecx
mov dword [ebp - 0x18], 0x17
jmp 0x1004d974
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff5
jge 0x1004dc75
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x188], 0x4499c77e
mov dword [ebp - 0x78], 0x5493a50e
mov dword [ebp - 0x1c0], 0xff24264a
mov dword [ebp - 0x2cc], 0xdfef28ed
mov dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
sub eax, 0xb
je 0x1004d9d4
mov eax, 0xa8b1460d
test eax, eax
je 0x1004d9d4
mov dword [ebp - 0x2dc], 1
jmp 0x1004d9db
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfffffff7
jle 0x1004d9f6
mov dword [ebp - 0x190], 1
jmp 0x1004d9fd
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x190], eax
jl 0x1004da1a
cmp dword [ebp - 0x24], 0
je 0x1004da1a
mov dword [ebp - 0x2e4], 1
jmp 0x1004da21
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x2e4]
neg eax
cmp dword [ebp - 0x4c], eax
jg 0x1004da3a
mov dword [ebp - 0x198], 1
jmp 0x1004da41
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
sub eax, 0x456014ef
sub eax, dword [ebp - 0x24]
cmp eax, 0xc53a
jge 0x1004da62
mov dword [ebp - 0x2ec], 1
jmp 0x1004da69
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x2ec], eax
jle 0x1004da83
mov dword [ebp - 0x1a0], 1
jmp 0x1004da8a
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1a0], eax
jl 0x1004daa1
mov dword [ebp - 0x2f4], 1
jmp 0x1004daa8
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x2f4], eax
jne 0x1004dab9
cmp dword [ebp - 0x18], 0
jne 0x1004dad1
cmp dword [ebp - 0x24], 0
jne 0x1004dad1
mov eax, 0x98934eca
test eax, eax
jne 0x1004dad1
and dword [ebp - 0x2fc], 0
jmp 0x1004dadb
mov dword [ebp - 0x2fc], 1
mov eax, dword [ebp - 0x2fc]
sub eax, dword [ebp - 0x1c0]
cmp eax, dword [ebp - 0x18]
jge 0x1004db08
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x470], 0
je 0x1004db08
mov dword [ebp - 0x1ac], 1
jmp 0x1004db0f
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0x206cbc8c
jl 0x1004db27
mov dword [ebp - 0x1b0], 1
jmp 0x1004db2e
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0x29ef
je 0x1004db46
mov dword [ebp - 0x268], 1
jmp 0x1004db4d
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x268]
jg 0x1004db64
mov dword [ebp - 0x1b8], 1
jmp 0x1004db6b
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1c0]
cmp dword [ebp - 0x94], eax
jg 0x1004db9d
mov dword [ebp - 0x270], 1
jmp 0x1004dba4
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0xfc]
test eax, eax
je 0x1004dbd2
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x94], eax
jmp 0x1004dc5c
mov dword [ebp - 0x4c], 0
jmp 0x1004dbe2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jg 0x1004dc30
mov dword [ebp - 0x24], 0
jmp 0x1004dbf8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x1004dc14
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + eax*4 - 0x470]
mov dword [ebp + ecx*4 - 0x470], eax
jmp 0x1004dbf1
mov byte [ebp - 0x57], 0
movzx eax, byte [ebp - 0x57]
test eax, eax
je 0x1004dc2e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1004dbdb
mov dword [ebp - 0x78], 3
jmp 0x1004dc40
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x1004dc5c
mov byte [ebp - 0x66], 0
movzx eax, byte [ebp - 0x66]
test eax, eax
je 0x1004dc5a
push 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
jmp 0x1004dc39
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1004dc70
push 0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
jmp 0x1004d96d
mov dword [ebp - 0xf0], 0x245c
mov dword [ebp - 0x1e0], 0x1031c36b
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x80], 0
jmp 0x1004dca0
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffff7
jl 0x1004dd01
mov dword [ebp - 0xc8], 0
jmp 0x1004dcbf
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 1
jge 0x1004dcdb
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x3d8], 2
jmp 0x1004dcb2
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x3d8], ecx
mov byte [ebp - 0x65], 0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x1004dcff
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1004dc99
push 1
lea ecx, [ebp - 0x460]
call fcn.1001737c
mov dword [ebp - 4], 4
mov dword [ebp - 0x2f0], 0x53b
mov dword [ebp - 0xb8], 0
jmp 0x1004dd38
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 1
jge 0x1004dd57
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x460]
call fcn.1001740a
or dword [eax], 0xffffffff
jmp 0x1004dd2b
mov dword [ebp - 0x1c8], 0x67d9
cmp dword [ebp - 0x1c8], 0xc4ae
je 0x1004dd79
mov dword [ebp - 0x2c8], 1
jmp 0x1004dd80
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x2c8], eax
jg 0x1004dd97
mov dword [ebp - 0x3e0], 1
jmp 0x1004dd9e
and dword [ebp - 0x3e0], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x280]
cmp dword [ebp - 0xd0], eax
jge 0x1004ddd6
mov dword [ebp - 0x1d0], 1
jmp 0x1004dddd
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1d0], eax
je 0x1004ddf4
mov dword [ebp - 0x278], 1
jmp 0x1004ddfb
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
jne 0x1004de22
cmp dword [ebp - 0xf0], 0
jne 0x1004de22
and dword [ebp - 0x308], 0
jmp 0x1004de2c
mov dword [ebp - 0x308], 1
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
imul eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x280]
sub ecx, eax
je 0x1004de64
cmp dword [ebp - 0xf0], 0
je 0x1004de64
mov dword [ebp - 0x1e8], 1
jmp 0x1004de6b
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x2d0], eax
push 0
lea ecx, [ebp - 0x460]
call fcn.1001740a
mov ecx, dword [ebp - 0x2d0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2f0]
cmp dword [ebp - 0x2d0], eax
jle 0x1004dea9
mov dword [ebp - 0x1f0], 1
jmp 0x1004deb0
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 3
je 0x1004dec5
mov dword [ebp - 0x288], 1
jmp 0x1004decc
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x288], eax
jge 0x1004dee3
mov dword [ebp - 0x1f8], 1
jmp 0x1004deea
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
sub eax, 0x3331e340
je 0x1004df4a
cmp dword [ebp - 0x2f0], 0
je 0x1004df4a
cmp dword [ebp - 0xd0], 0
je 0x1004df4a
mov dword [ebp - 0x3c4], 0x5ce4ec6f
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x3c4], 0
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x1004df45
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1004dfe0
mov dword [ebp - 0x48c], 0xfffffffe
mov dword [ebp - 0x494], 0x85aa1ede
mov dword [ebp - 0x474], 0x81b1d0b8
mov dword [ebp - 0xd8], 0xf61160dd
mov dword [ebp - 0x394], 4
mov dword [ebp - 0x4a4], 1
mov dword [ebp - 0x4ac], 0xc0f86f4c
mov dword [ebp - 0x4b4], 6
mov dword [ebp - 0x200], 0xfffffffc
mov eax, dword [ebp - 0x200]
dec eax
mov dword [ebp - 0x200], eax
mov dword [ebp - 0xd8], 0
jmp 0x1004dfca
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 5
jg 0x1004dfe0
cmp dword [ebp - 0x394], 0
je 0x1004dfde
jmp 0x1004dfe0
jmp 0x1004dfbd
mov byte [ebp - 0x67], 0
movzx eax, byte [ebp - 0x67]
test eax, eax
je 0x1004e006
push 0x2277
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x460]
call fcn.10017405
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x14], 2
push 1
lea ecx, [ebp - 0x400]
call fcn.1001737c
mov dword [ebp - 4], 5
mov dword [ebp - 0x378], 0x954a4377
mov dword [ebp - 0x4bc], 0x1a7dfae3
mov dword [ebp - 0x30], 0
jmp 0x1004e05d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004e079
push dword [ebp - 0x30]
lea ecx, [ebp - 0x400]
call fcn.1001740a
mov dword [eax], 0xf3b1ad31
jmp 0x1004e056
mov dword [ebp - 0x30], 0
jmp 0x1004e089
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1004e09f
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x3f0], 0xd0cd8a6c
jmp 0x1004e082
cmp dword [ebp - 0x14], 0
je 0x1004e0be
mov dword [ebp - 0x368], 2
mov dword [ebp - 0x368], 0xb4ffb87
jmp 0x1004e3c4
push 2
lea ecx, [ebp - 0x10c]
call fcn.1001737c
mov byte [ebp - 4], 6
mov dword [ebp - 0xf4], 0xcbadbefc
mov dword [ebp - 0x9c], 0
jmp 0x1004e0f2
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x1004e111
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
and dword [eax], 0
jmp 0x1004e0e5
mov dword [ebp - 0x14], 1
jmp 0x1004e121
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004e3b5
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x370], 0x2535b5b0
mov dword [ebp - 0x10], 0
jmp 0x1004e14c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004e168
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1004e166
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
jmp 0x1004e145
mov dword [ebp - 0x10], 1
jmp 0x1004e178
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004e3b0
mov dword [ebp - 0x3c8], 0xffffffff
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
cmp dword [eax], 0
jne 0x1004e217
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4d0], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
cmp dword [eax], 0x586f
jl 0x1004e1d9
cmp dword [ebp - 0x10], 0
je 0x1004e1d9
mov dword [ebp - 0x290], 1
jmp 0x1004e1e0
and dword [ebp - 0x290], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
mov eax, dword [eax]
cmp eax, dword [ebp - 0x290]
jne 0x1004e1fc
cmp dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10c]
call fcn.1001740a
cmp dword [eax], 0
jne 0x1004e217
and dword [ebp - 0x208], 0
jmp 0x1004e221
mov dword [ebp - 0x208], 1
mov esi, dword [ebp - 0x14]
imul esi, dword [ebp - 0x208]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
mov dword [eax], esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
cmp dword [ebp - 0x10], 1
jg 0x1004e25b
mov dword [ebp - 0x2d8], 1
jmp 0x1004e262
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x2d8]
neg eax
cmp eax, 0x9080
jge 0x1004e27d
mov dword [ebp - 0x210], 1
jmp 0x1004e284
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x210]
cmp eax, 0x36fb
jl 0x1004e29a
cmp dword [ebp - 0x10], 0
jne 0x1004e2aa
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1004e2aa
and dword [ebp - 0x298], 0
jmp 0x1004e2b4
mov dword [ebp - 0x298], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x298]
cmp eax, dword [ebp - 0xf4]
jle 0x1004e2d1
mov dword [ebp - 0x218], 1
jmp 0x1004e2d8
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x218], eax
jle 0x1004e2ef
mov dword [ebp - 0x300], 1
jmp 0x1004e2f6
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x300]
sub eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x14], eax
jg 0x1004e313
mov dword [ebp - 0x220], 1
jmp 0x1004e31a
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
shl eax, 2
test eax, eax
jne 0x1004e32e
cmp dword [ebp - 0xf4], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10c]
call fcn.1001740a
mov dword [eax], 1
cmp dword [ebp - 0x3c8], 0xfffffff9
jl 0x1004e357
mov dword [ebp - 0xf8], 1
jmp 0x1004e35e
and dword [ebp - 0xf8], 0
push 0
lea ecx, [ebp - 0x400]
call fcn.1001740a
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
cmp dword [ebp - 0xf8], 0
je 0x1004e391
cmp dword [ebp - 0x370], 0
je 0x1004e391
mov dword [ebp - 0x2a0], 1
jmp 0x1004e398
and dword [ebp - 0x2a0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp + eax - 0x3f0], ecx
jmp 0x1004e171
jmp 0x1004e11a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c]
call fcn.10017405
push 0
lea ecx, [ebp - 0x400]
call fcn.1001740a
cmp dword [eax], 0xffffffff
jne 0x1004e3e2
mov dword [ebp - 0x228], 1
jmp 0x1004e3e9
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x228], 0xbd28a218
jb 0x1004e401
mov dword [ebp - 0x2e0], 1
jmp 0x1004e408
and dword [ebp - 0x2e0], 0
push 4
pop eax
shl eax, 1
imul eax, dword [ebp + eax - 0x3f0], 0x49f7
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x3f0]
add ecx, dword [ebp - 0x2e0]
imul ecx, ecx, 0xfea2
cmp eax, ecx
jg 0x1004e441
mov dword [ebp - 0x230], 1
jmp 0x1004e448
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x14], eax
push 0
lea ecx, [ebp - 0x400]
call fcn.1001740a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3f0]
mov dword [ebp - 0x3f4], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x3f4]
mov dword [ebp + eax - 0x3f0], ecx
mov dword [ebp - 0x378], 0x94c655e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x400]
call fcn.10017405
mov dword [ebp - 0x28], 0x7cf2
push 2
lea ecx, [ebp - 0x8c]
call fcn.1001737c
mov dword [ebp - 4], 7
mov dword [ebp - 0x40], 0x3fe662db
mov dword [ebp - 0x38], 0x43ddca27
mov dword [ebp - 0x54], 0xfffe
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xc0], 0
jmp 0x1004e4ed
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 2
jge 0x1004e50f
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov dword [eax], 0xfe30f587
jmp 0x1004e4e0
mov eax, 0x7276
test eax, eax
je 0x1004e5f3
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4e8], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4f0], eax
mov eax, 0xffff
cmp eax, 0x4ef2
jbe 0x1004e553
mov dword [ebp - 0x3cc], 1
jmp 0x1004e55a
and dword [ebp - 0x3cc], 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x28], eax
jge 0x1004e57b
mov dword [ebp - 0x110], 1
jmp 0x1004e582
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x110]
je 0x1004e59d
xor eax, eax
je 0x1004e59d
mov dword [ebp - 0x238], 1
jmp 0x1004e5a4
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1004e5d1
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
cmp dword [eax], 0
je 0x1004e5d1
mov dword [ebp - 0x2f8], 1
jmp 0x1004e5d8
and dword [ebp - 0x2f8], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov ecx, dword [ebp - 0x2f8]
sub ecx, dword [eax]
jne 0x1004e602
xor eax, eax
jne 0x1004e602
cmp dword [ebp - 0x38], 0
jne 0x1004e602
and dword [ebp - 0x240], 0
jmp 0x1004e60c
mov dword [ebp - 0x240], 1
mov eax, dword [ebp - 0x240]
add eax, 0x437
imul eax, eax, 0xffff
test eax, eax
jne 0x1004e630
cmp dword [ebp - 0x28], 0
jne 0x1004e630
and dword [ebp - 0x380], 0
jmp 0x1004e63a
mov dword [ebp - 0x380], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x54], eax
jle 0x1004e65e
mov dword [ebp - 0x41c], 1
jmp 0x1004e665
and dword [ebp - 0x41c], 0
mov esi, dword [ebp - 0x28]
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001740a
cmp esi, dword [eax]
jne 0x1004e685
mov dword [ebp - 0x2b0], 1
jmp 0x1004e68c
and dword [ebp - 0x2b0], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov ecx, dword [ebp - 0x2b0]
cmp ecx, dword [eax]
jle 0x1004e6af
mov dword [ebp - 0x248], 1
jmp 0x1004e6b6
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x248]
dec eax
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x38]
add esi, 4
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov dword [eax], esi
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
cmp dword [eax], 0
jne 0x1004e6f9
mov eax, 0x8f9e
test eax, eax
jne 0x1004e6f9
and dword [ebp - 0x250], 0
jmp 0x1004e703
mov dword [ebp - 0x250], 1
mov esi, dword [ebp - 0x28]
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001740a
cmp esi, dword [eax]
jne 0x1004e725
xor eax, eax
inc eax
jne 0x1004e725
and dword [ebp - 0x2c0], 0
jmp 0x1004e72f
mov dword [ebp - 0x2c0], 1
cmp dword [ebp - 0x2c0], 0
jle 0x1004e744
mov dword [ebp - 0x2b8], 1
jmp 0x1004e74b
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x2b8]
jl 0x1004e765
mov dword [ebp - 0x258], 1
jmp 0x1004e76c
and dword [ebp - 0x258], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov ecx, dword [ebp - 0x258]
cmp ecx, dword [eax]
je 0x1004e78f
mov dword [ebp - 0x2c4], 1
jmp 0x1004e796
and dword [ebp - 0x2c4], 0
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov esi, dword [eax]
add esi, dword [ebp - 0x38]
push 1
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov ecx, dword [ebp - 0x2c4]
sub ecx, dword [eax]
sub esi, ecx
mov dword [ebp - 0x260], esi
push 0
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov ecx, dword [ebp - 0x260]
mov dword [eax], ecx
cmp dword [ebp - 0x260], 0xaef2d6a3
jne 0x1004e7f2
mov dword [ebp - 0x1a8], 1
jmp 0x1004e7f9
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x1004e81a
cmp dword [ebp - 0x64], 0
je 0x1004e81a
mov dword [ebp - 0x1a4], 1
jmp 0x1004e821
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0x93d3b28c
jb 0x1004e837
cmp dword [ebp - 0x40], 0
je 0x1004e942
mov dword [ebp - 0x390], 0xfffffffc
mov dword [ebp - 0x54], 0x17
jmp 0x1004e851
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x20
jle 0x1004e940
mov dword [ebp - 0x388], 0xfedea8f4
mov byte [ebp - 0x69], 0
movzx eax, byte [ebp - 0x69]
test eax, eax
je 0x1004e87f
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
mov dword [ebp - 0x28], 0x13
jmp 0x1004e88f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3a
jg 0x1004e93b
mov dword [ebp - 0x40], 0
jmp 0x1004e8a9
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jg 0x1004e936
mov dword [ebp - 0x64], 0
jmp 0x1004e8c3
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jg 0x1004e931
push dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov esi, eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
call fcn.1001740a
mov ecx, dword [esi]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 1
jge 0x1004e8fd
mov dword [ebp - 0x1b4], 1
jmp 0x1004e904
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x388]
cmp eax, dword [ebp - 0x1b4]
jl 0x1004e91e
mov dword [ebp - 0x3d4], 1
jmp 0x1004e925
and dword [ebp - 0x3d4], 0
mov dword [ebp - 0x390], 0
jmp 0x1004e8bc
jmp 0x1004e8a2
jmp 0x1004e888
jmp 0x1004e84a
jmp 0x1004e956
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x1004e956
push 0
call dword [sym.imp.USER32.dll_GetMenuItemCount]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10017405
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0xb4], eax
push 2
lea ecx, [ebp - 0x318]
call fcn.1001737c
mov dword [ebp - 4], 8
push 4
lea ecx, [ebp - 0x440]
call fcn.1001737c
mov byte [ebp - 4], 9
mov dword [ebp - 0x48], 0
jmp 0x1004e9a6
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1004e9c2
push dword [ebp - 0x48]
lea ecx, [ebp - 0x318]
call fcn.1001740a
mov dword [eax], 0xdf99ff60
jmp 0x1004e99f
mov dword [ebp - 0x48], 0
jmp 0x1004e9d2
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x1004e9ee
push dword [ebp - 0x48]
lea ecx, [ebp - 0x440]
call fcn.1001740a
mov dword [eax], 1
jmp 0x1004e9cb
push 1
lea ecx, [ebp - 0x318]
call fcn.1001740a
and dword [eax], 0
jmp 0x1004ea24
push 1
lea ecx, [ebp - 0x318]
call fcn.1001740a
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x318]
call fcn.1001740a
cmp dword [eax], 0x11
jge 0x1004ecba
mov dword [ebp - 0x398], 0xec79cf18
mov dword [ebp - 0x4e4], 0x6887e0
mov dword [ebp - 0x480], 1
mov dword [ebp - 0x204], 0xc73f
mov dword [ebp - 0xd4], 0
jmp 0x1004ea7b
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 3
jge 0x1004ea97
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x33c], 0
jmp 0x1004ea6e
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x33c], 3
jmp 0x1004eac2
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x33c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x33c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x33c], 0x1c
jne 0x1004eca8
mov dword [ebp - 0xa0], 0xfffffffd
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x33c], 0
je 0x1004eb07
mov dword [ebp - 0x4b8], 0xffffffff
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
jmp 0x1004eb26
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x1004eb1b
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x398], 0
je 0x1004eb26
jmp 0x1004eaa9
xor eax, eax
jne 0x1004ec5c
push 1
lea ecx, [ebp - 0x318]
call fcn.1001740a
cmp dword [eax], 0
jne 0x1004ec53
cmp dword [ebp - 0xa0], 0x4e401d93
je 0x1004eb5c
mov dword [ebp - 0x1c4], 1
jmp 0x1004eb63
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x1c4]
jge 0x1004eb7d
mov dword [ebp - 0x1cc], 1
jmp 0x1004eb84
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0xebdb
je 0x1004eb9c
mov dword [ebp - 0x1d4], 1
jmp 0x1004eba3
and dword [ebp - 0x1d4], 0
push 1
lea ecx, [ebp - 0x440]
call fcn.1001740a
mov ecx, dword [ebp - 0x1d4]
cmp ecx, dword [eax]
je 0x1004ebc6
mov dword [ebp - 0x1dc], 1
jmp 0x1004ebcd
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 0xf27142b6
ja 0x1004ebe5
mov dword [ebp - 0x1e4], 1
jmp 0x1004ebec
and dword [ebp - 0x1e4], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp - 0x1e4]
sub esi, dword [ebp + eax - 0x33c]
push 1
lea ecx, [ebp - 0x318]
call fcn.1001740a
mov eax, dword [eax]
lea eax, [esi + eax - 0xe10d]
test eax, eax
jbe 0x1004ec24
mov dword [ebp - 0x1ec], 1
jmp 0x1004ec2b
and dword [ebp - 0x1ec], 0
cmp dword [ebp - 0x1ec], 0x9390dfc1
jbe 0x1004ec43
mov dword [ebp - 0x3dc], 1
jmp 0x1004ec4a
and dword [ebp - 0x3dc], 0
mov eax, 0x80a3888a
test eax, eax
je 0x1004ec5c
and dword [ebp - 0x1f4], 0
jmp 0x1004ec66
mov dword [ebp - 0x1f4], 1
cmp dword [ebp - 0x1f4], 6
jbe 0x1004ec7b
mov dword [ebp - 0x1fc], 1
jmp 0x1004ec82
and dword [ebp - 0x1fc], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x33c]
add esi, dword [ebp - 0x1fc]
push 1
lea ecx, [ebp - 0x440]
call fcn.1001740a
mov dword [eax], esi
jmp 0x1004eaa9
mov eax, dword [ebp - 0x204]
inc eax
mov dword [ebp - 0x204], eax
jmp 0x1004ea00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x440]
call fcn.10017405
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.10017405
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x20], 0xfffffffa
mov dword [ebp - 0xac], 7
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x3c0], 0x4418f7f2
mov dword [ebp - 0x488], 1
mov dword [ebp - 0x50], 0
jmp 0x1004ed23
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004ed36
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1c], 0x261f
jmp 0x1004ed1c
mov dword [ebp - 0x50], 0
jmp 0x1004ed46
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004ed5c
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0xa4], 0xccc89593
jmp 0x1004ed3f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1c]
cmp dword [ebp + eax - 0x1c], ecx
jl 0x1004ed93
mov dword [ebp - 0x418], 1
jmp 0x1004ed9a
and dword [ebp - 0x418], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
imul eax, dword [ebp - 0xec]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xa4], eax
cmp dword [ebp - 0xec], 0x23703acb
je 0x1004edd0
mov dword [ebp - 0x20c], 1
jmp 0x1004edd7
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20c], eax
jne 0x1004edee
mov dword [ebp - 0x214], 1
jmp 0x1004edf5
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x20], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x20], eax
je 0x1004ee19
mov dword [ebp - 0x21c], 1
jmp 0x1004ee20
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
neg eax
jne 0x1004ee36
mov dword [ebp - 0x224], 1
jmp 0x1004ee3d
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0x9f08664a
jb 0x1004ee55
mov dword [ebp - 0x3a8], 1
jmp 0x1004ee5c
and dword [ebp - 0x3a8], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x4d4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0x78ef8a6e
jg 0x1004ee84
mov dword [ebp - 0x22c], 1
jmp 0x1004ee8b
and dword [ebp - 0x22c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x22c], eax
jle 0x1004eea9
mov dword [ebp - 0x234], 1
jmp 0x1004eeb0
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
imul eax, dword [ebp - 0x234]
test eax, eax
je 0x1004eee1
push 0xfffffffffffffffb
pop eax
test eax, eax
je 0x1004eee1
mov dword [ebp - 0x23c], 1
jmp 0x1004eee8
and dword [ebp - 0x23c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp eax, dword [ebp - 0x23c]
jle 0x1004ef06
mov dword [ebp - 0x3e4], 1
jmp 0x1004ef0d
and dword [ebp - 0x3e4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x490], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x20], eax
jge 0x1004ef38
mov dword [ebp - 0x3b0], 1
jmp 0x1004ef3f
and dword [ebp - 0x3b0], 0
push 7
pop eax
cmp eax, 6
je 0x1004ef53
mov dword [ebp - 0x244], 1
jmp 0x1004ef5a
and dword [ebp - 0x244], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
imul eax, dword [ebp - 0x244]
test eax, eax
je 0x1004f037
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x20], 0
jmp 0x1004ef8d
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004f035
mov dword [ebp - 0x24c], 0x1ce43c7d
mov dword [ebp - 0x3b8], 1
mov byte [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x1004efcd
push 0
push 0
push 0x2060
push 0x984
push 0
call dword [sym.imp.USER32.dll_InsertMenuW]
mov eax, dword [ebp - 0x20]
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax*4 - 0x1c]
mov dword [ebp + ecx - 0xa4], eax
mov eax, dword [ebp - 0x414]
inc eax
cmp eax, dword [ebp - 0x24c]
jge 0x1004effc
mov dword [ebp - 0x254], 1
jmp 0x1004f003
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x254], eax
jle 0x1004f01d
mov dword [ebp - 0x114], 1
jmp 0x1004f024
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x3b8], eax
jmp 0x1004ef86
jmp 0x1004f0af
mov dword [ebp - 0x11c], 0x6104dbc0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xa4], 1
mov eax, dword [ebp - 0x20]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xa4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x4ec], eax
cmp dword [ebp - 0xac], 0
jne 0x1004f09c
mov dword [ebp - 0x124], 1
jmp 0x1004f0a3
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0xb4]
mov dword [eax], 0
jmp 0x1004f0ce
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xb4]
cmp dword [eax], 5
jg 0x1004f4b7
mov dword [ebp - 0x34c], 0xd6c0
mov dword [ebp - 0x348], 0xd6c0
mov dword [ebp - 0x344], 0xd6c0
mov dword [ebp - 0x340], 0xd6c0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x454], 2
mov dword [ebp - 0x450], 2
mov dword [ebp - 0x44c], 2
mov dword [ebp - 0x448], 2
lea ecx, [ebp - 0xfd]
call fcn.100088c3
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.10017419
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x410]
call fcn.100173db
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x37c], 0xbf3f0790
mov dword [ebp - 0x34], 0
jmp 0x1004f18a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1004f47b
mov dword [ebp - 0x374], 0x8eb0
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x34c], 0
je 0x1004f42e
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x7c], 3
jmp 0x1004f1da
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x1004f42c
mov dword [ebp - 0x90], 0x34bf8f0a
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x90], 0
jmp 0x1004f21b
cmp dword [ebp - 0x90], 3
jg 0x1004f410
mov dword [ebp - 0x364], 0x643747c9
cmp dword [ebp - 0x34], 0xfffc
je 0x1004f247
mov dword [ebp - 0x360], 1
jmp 0x1004f24e
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x34c]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x34c], 0xfffffff7
jl 0x1004f277
mov dword [ebp - 0x12c], 1
jmp 0x1004f27e
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x12c], eax
jne 0x1004f298
mov dword [ebp - 0x134], 1
jmp 0x1004f29f
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x134], eax
jge 0x1004f2b9
mov dword [ebp - 0x13c], 1
jmp 0x1004f2c0
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 0
jl 0x1004f2d5
mov dword [ebp - 0x144], 1
jmp 0x1004f2dc
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x34c]
cmp dword [ebp - 0x14c], eax
je 0x1004f30c
cmp dword [ebp - 0x364], 0
jne 0x1004f30c
and dword [ebp - 0x154], 0
jmp 0x1004f316
mov dword [ebp - 0x154], 1
cmp dword [ebp - 0x154], 0xfffffffb
jle 0x1004f32f
xor eax, eax
je 0x1004f32f
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x18c]
cmp dword [ebp - 0x15c], eax
jne 0x1004f350
push 2
lea ecx, [ebp - 0x410]
call fcn.1001740a
cmp dword [eax], 0
je 0x1004f427
jmp 0x1004f1d3
jmp 0x1004f1d3
jmp 0x1004f46a
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x1004f454
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov byte [ebp - 0x5c], 0
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x1004f46a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov eax, dword [ebp - 0x37c]
mov dword [ebp - 0x194], eax
jmp 0x1004f183
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x34c]
push 2
lea ecx, [ebp - 0x410]
call fcn.1001740a
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x410]
call fcn.10017405
mov eax, dword [ebp - 0x384]
cmp dword [eax], 0
je 0x1004f4b2
jmp 0x1004f4b7
jmp 0x1004f0bd
jmp 0x1004f4df
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x19c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret