Function at 0x10049102
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x80], 0
jmp 0x10049122
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x10049138
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x2c4], 1
jmp 0x1004911b
mov dword [ebp - 0x30], 0
jmp 0x10049148
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffe7
je 0x1004916b
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x10049169
push 0x1e99
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
jmp 0x10049141
mov dword [ebp - 0x30], 0
jmp 0x1004917b
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffec
jl 0x10049226
mov dword [ebp - 0x60], 0
jmp 0x10049195
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x100491ab
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x1ec], 0
jmp 0x1004918e
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x1ec], 0
jmp 0x100491d9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1ec]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1ec], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1ec], 0
jl 0x10049221
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x100491fd
push 0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004921f
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_SelectClipRgn]
jmp 0x100491be
jmp 0x10049174
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10049a2f
mov dword [ebp - 8], 1
mov dword [ebp - 0x20], 0x9f8d
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x48], 0xa3c3d214
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x90], 0xcf9e
mov dword [ebp - 0xe8], 0xe695ef2b
mov dword [ebp - 0x24], 0
jmp 0x1004927c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10049292
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1f0], 0xffffffff
jmp 0x10049275
mov dword [ebp - 0x24], 0
jmp 0x100492a2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x100492b8
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x2e8], 1
jmp 0x1004929b
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
jne 0x100493d3
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x20], eax
jne 0x100492d9
mov dword [ebp - 0x148], 1
jmp 0x100492e0
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x40], eax
jg 0x100492fd
mov dword [ebp - 0x17c], 1
jmp 0x10049304
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 8], 0
je 0x10049337
cmp dword [ebp - 8], 0
je 0x10049337
mov dword [ebp - 0xa0], 1
jmp 0x1004933e
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xa0], eax
jle 0x10049355
mov dword [ebp - 0x174], 1
jmp 0x1004935c
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x174], eax
je 0x10049373
mov dword [ebp - 0xa8], 1
jmp 0x1004937a
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xa8], eax
jg 0x10049391
mov dword [ebp - 0xb0], 1
jmp 0x10049398
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebp - 0xb0]
jge 0x100493b5
cmp dword [ebp - 0x40], 0
jne 0x100493b5
and dword [ebp - 0x184], 0
jmp 0x100493bf
mov dword [ebp - 0x184], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x184], eax
jg 0x100493d3
and dword [ebp - 0xb8], 0
jmp 0x100493dd
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x48], eax
jg 0x100493fa
mov dword [ebp - 0x18c], 1
jmp 0x10049401
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x18c]
imul eax, eax, 0xf89
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x406c
jle 0x10049441
mov dword [ebp - 0xc0], 1
jmp 0x10049448
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x40]
je 0x10049466
mov dword [ebp - 0x194], 1
jmp 0x1004946d
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 8]
jg 0x1004948e
cmp dword [ebp - 0x40], 0
je 0x1004948e
mov dword [ebp - 0xc8], 1
jmp 0x10049495
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0xc8], eax
jge 0x100494af
mov dword [ebp - 0x19c], 1
jmp 0x100494b6
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x19c], eax
jg 0x100494d0
mov dword [ebp - 0xd0], 1
jmp 0x100494d7
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xd0]
jne 0x100494ee
mov dword [ebp - 0x1a4], 1
jmp 0x100494f5
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0xd8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd8]
mov dword [ebp + eax - 0x1f0], ecx
mov eax, dword [ebp - 0xd8]
add eax, 0x75c2caab
imul eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x90]
jne 0x1004953a
mov dword [ebp - 0x1ac], 1
jmp 0x10049541
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0xe712
jle 0x10049559
mov dword [ebp - 0xe0], 1
jmp 0x10049560
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x48], eax
jg 0x1004957d
mov dword [ebp - 0x1b4], 1
jmp 0x10049584
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0x23c], 0xfffffffb
mov dword [ebp - 0x10c], 0x1abdf11c
mov dword [ebp - 0x1c8], 0xec6f
mov dword [ebp - 0x254], 0x763523e2
mov dword [ebp - 0x250], 0x763523e2
mov dword [ebp - 0x24c], 0x763523e2
mov dword [ebp - 0x248], 0x763523e2
mov dword [ebp - 0x74], 0
jmp 0x10049607
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x1004961d
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x2a4], 1
jmp 0x10049600
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004963a
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
je 0x10049657
mov eax, 0xb6084edc
test eax, eax
je 0x10049657
mov dword [ebp - 0x244], 1
jmp 0x1004965e
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x14], eax
jne 0x10049696
mov dword [ebp - 0x1bc], 1
jmp 0x1004969d
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x1bc], 0
jne 0x100496b2
mov dword [ebp - 0xf0], 1
jmp 0x100496b9
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xf0], eax
jl 0x100496d0
mov dword [ebp - 0x1c4], 1
jmp 0x100496d7
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xf8], eax
je 0x100496fa
mov dword [ebp - 0x1cc], 1
jmp 0x10049701
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
neg eax
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x238], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x238]
mov dword [ebp + eax - 0x2a4], ecx
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x274], eax
mov eax, 0x9552
test eax, eax
je 0x10049757
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2a4], 0
je 0x10049757
mov dword [ebp - 0x100], 1
jmp 0x1004975e
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x100], eax
jl 0x10049775
mov dword [ebp - 0x1d4], 1
jmp 0x1004977c
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1d4]
jle 0x10049796
cmp dword [ebp - 0x44], 0
jne 0x10049796
and dword [ebp - 0x170], 0
jmp 0x100497a0
mov dword [ebp - 0x170], 1
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x100497c6
xor eax, eax
inc eax
je 0x100497c6
mov dword [ebp - 0x1fc], 1
jmp 0x100497cd
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2bc], eax
imul eax, dword [ebp - 0x1c8], 0xc769
cmp eax, 0xffffffff
ja 0x100497f1
mov dword [ebp - 0x110], 1
jmp 0x100497f8
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x110]
cmp dword [ebp - 0x14], eax
jle 0x10049812
mov dword [ebp - 0x118], 1
jmp 0x10049819
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x1c8]
cmp dword [ebp - 0x118], eax
je 0x10049833
mov dword [ebp - 0x178], 1
jmp 0x1004983a
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x178]
mov dword [ebp + eax - 0x254], ecx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0xc], 0x60477862
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0xc], 0
jmp 0x10049898
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xfffffff3
jle 0x10049972
mov dword [ebp - 0x2c], 0x7c203980
mov dword [ebp - 0x2c], 0xffffffee
jmp 0x100498b9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x18
je 0x1004996d
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x1a8], 0xfffffff8
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x2c]
cmp eax, 2
jle 0x1004990f
mov eax, 0xc99c
test eax, eax
jne 0x1004990f
and dword [ebp - 0x120], 0
jmp 0x10049919
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x120]
cmp eax, 0xfffffffa
jle 0x10049934
mov dword [ebp - 0x204], 1
jmp 0x1004993b
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c0], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x1e4], ecx
jmp 0x100498b2
jmp 0x10049891
mov dword [ebp - 0xc], 3
jmp 0x10049982
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10049a0e
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x1e4], 0
je 0x100499b2
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x1e4], 0
je 0x100499b2
mov dword [ebp - 0x234], 1
jmp 0x100499b9
and dword [ebp - 0x234], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1e4]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x2053
sub edx, dword [ebp + ecx*4 - 0x1e4]
cmp dword [ebp + eax*4 - 0x1e4], edx
jle 0x100499f2
mov dword [ebp - 0x128], 1
jmp 0x100499f9
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax*4 - 0x1e4], ecx
jmp 0x1004997b
mov eax, dword [ebp - 0x20c]
movzx eax, byte [eax]
test eax, eax
je 0x10049a2a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x1004a48c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0xfffffff8
mov dword [ebp - 0x10], 0x2739425a
mov dword [ebp - 0x50], 0xdfe1db4d
mov dword [ebp - 0x68], 0
jmp 0x10049a5d
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x10049a73
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x2dc], 0xcb52c22a
jmp 0x10049a56
cmp dword [ebp - 4], 0xffffffff
jne 0x10049a85
mov dword [ebp - 0x140], 1
jmp 0x10049a8c
and dword [ebp - 0x140], 0
mov eax, 0x3467
test eax, eax
je 0x10049b04
cmp dword [ebp - 4], 0
cmp dword [ebp - 4], 0x6bc0
jle 0x10049aae
mov dword [ebp - 0x180], 1
jmp 0x10049ab5
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0xffffffff
jne 0x10049aca
mov dword [ebp - 0x130], 1
jmp 0x10049ad1
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x130], eax
jg 0x10049ae8
mov dword [ebp - 0x1c0], 1
jmp 0x10049aef
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 0
je 0x10049b04
mov dword [ebp - 0x138], 1
jmp 0x10049b0b
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xffffffff
jg 0x10049b20
mov dword [ebp - 0x188], 1
jmp 0x10049b27
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x188]
jne 0x10049b3e
mov dword [ebp - 0x1b0], 1
jmp 0x10049b45
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x1b0]
jg 0x10049b5f
mov dword [ebp - 0x98], 1
jmp 0x10049b66
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 4]
jne 0x10049b83
mov eax, 0x9d98
test eax, eax
jne 0x10049b83
and dword [ebp - 0x190], 0
jmp 0x10049b8d
mov dword [ebp - 0x190], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x190], eax
jne 0x10049ebd
mov dword [ebp - 0x18], 0xdd7582ba
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 4], 0
jne 0x10049bd2
mov dword [ebp - 0x198], 1
jmp 0x10049bd9
and dword [ebp - 0x198], 0
imul eax, dword [ebp - 0x18], 0x6a69
cmp eax, 0x5976
jl 0x10049bf3
mov dword [ebp - 0x150], 1
jmp 0x10049bfa
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
jl 0x10049c14
mov dword [ebp - 0x1d0], 1
jmp 0x10049c1b
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1d0], eax
jle 0x10049c32
mov dword [ebp - 0x158], 1
jmp 0x10049c39
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x158]
add eax, dword [ebp - 0x18]
cmp dword [ebp - 0x198], eax
jl 0x10049c59
mov dword [ebp - 0x160], 1
jmp 0x10049c60
and dword [ebp - 0x160], 0
imul eax, dword [ebp - 0x160], 0xffffffff
neg eax
cmp eax, 1
jne 0x10049c7a
mov dword [ebp - 0x1b8], 1
jmp 0x10049c81
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x18], eax
jg 0x10049c9e
mov dword [ebp - 0x168], 1
jmp 0x10049ca5
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x168], eax
jne 0x10049cbf
cmp dword [ebp - 0x10], 0
jne 0x10049cbf
and dword [ebp - 0x1a0], 0
jmp 0x10049cc9
mov dword [ebp - 0x1a0], 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1a0]
sub eax, dword [ebp - 0x10]
je 0x10049ce9
cmp dword [ebp - 0x10], 0
je 0x10049ce9
mov dword [ebp - 0x108], 1
jmp 0x10049cf0
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x108], eax
jne 0x10049d07
mov dword [ebp - 0x104], 1
jmp 0x10049d0e
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x50], 0
je 0x10049dfb
cmp dword [ebp - 0x10], 1
je 0x10049d33
mov dword [ebp - 0x22c], 1
jmp 0x10049d3a
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4572
jne 0x10049d55
mov dword [ebp - 0x114], 1
jmp 0x10049d5c
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x10]
je 0x10049d76
mov dword [ebp - 0x11c], 1
jmp 0x10049d7d
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 6
je 0x10049d92
mov dword [ebp - 0x124], 1
jmp 0x10049d99
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x124], eax
jl 0x10049db0
mov dword [ebp - 0x12c], 1
jmp 0x10049db7
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x12c], eax
jl 0x10049dd1
mov dword [ebp - 0x134], 1
jmp 0x10049dd8
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x134], 0x68d3
sub eax, ecx
je 0x10049dfb
mov dword [ebp - 0x144], 1
jmp 0x10049e02
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x144], eax
jne 0x10049e1c
mov dword [ebp - 0x14c], 1
jmp 0x10049e23
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x14c]
jl 0x10049e3d
mov dword [ebp - 0x154], 1
jmp 0x10049e44
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x154], eax
jl 0x10049e5b
mov dword [ebp - 0x15c], 1
jmp 0x10049e62
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2dc]
add eax, dword [ebp - 0x15c]
je 0x10049e8c
mov eax, 0x9e54
test eax, eax
je 0x10049e8c
mov dword [ebp - 0x164], 1
jmp 0x10049e93
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0x60cc19ab
je 0x10049eab
mov dword [ebp - 0x16c], 1
jmp 0x10049eb2
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x50], eax
jmp 0x10049f12
mov dword [ebp - 0x10], 0xfffffffc
jmp 0x10049ecd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10049ee9
mov dword [ebp - 0x240], 0x4863fccf
mov dword [ebp - 0x240], 0xabb57ddd
jmp 0x10049ec6
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10049f12
push 0
push 0x2132
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_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x1f4], 0x3859
mov dword [ebp - 0x4c], 0x898d
mov dword [ebp - 0x8c], 0x971db956
mov dword [ebp - 0xa4], 9
mov dword [ebp - 0xc4], 0x75df1563
mov dword [ebp - 0x28], 0
jmp 0x10049f5a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x10049f6d
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x78], 0x2124
jmp 0x10049f53
mov dword [ebp - 0x28], 0
jmp 0x10049f7d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x10049f93
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x294], 0xfffffff9
jmp 0x10049f76
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x294], ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x1f4]
cmp dword [ebp - 0xa4], eax
jle 0x10049fe5
mov dword [ebp - 0xac], 1
jmp 0x10049fec
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x78]
add ecx, dword [ebp - 0xac]
cmp dword [ebp + eax - 0x78], ecx
je 0x1004a014
mov dword [ebp - 0xb4], 1
jmp 0x1004a01b
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
cmp dword [ebp - 0xb4], eax
jne 0x1004a039
mov dword [ebp - 0xbc], 1
jmp 0x1004a040
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x4c], 0
jmp 0x1004a05c
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1004a0aa
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004a09b
push 0x12b4
push 0xa2f
push 0x1b51
push 0x945
push 0x4ab
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp + eax*4 - 0x78]
mov dword [ebp - 0xc4], eax
jmp 0x1004a055
mov eax, dword [ebp - 0x70]
mov dword [eax], 0xd
jmp 0x1004a0c0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0x14
jl 0x1004a48c
mov dword [ebp - 0x54], 0x33fcb50b
mov dword [ebp - 0x58], 0
jmp 0x1004a0e3
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x1004a0f9
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x2f8], 0xfffffffd
jmp 0x1004a0dc
mov dword [ebp - 0x54], 0
jmp 0x1004a109
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jg 0x1004a14d
mov dword [ebp - 0x7c], 0xfffffff7
mov dword [ebp - 0x7c], 0
jmp 0x1004a126
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jg 0x1004a14b
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x1004a149
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
jmp 0x1004a11f
jmp 0x1004a102
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x36], 0
mov dword [ebp - 0x25c], 0x624039b6
mov dword [ebp - 0x260], 0xb743d837
mov dword [ebp - 0x268], 0xfffffff8
mov dword [ebp - 0x270], 0x5e00fe1c
mov dword [ebp - 0x230], 0xf8067e3
mov dword [ebp - 0x278], 0x869ec427
mov dword [ebp - 0x210], 0x1fa147b8
mov dword [ebp - 0xcc], 7
mov dword [ebp - 0x280], 1
mov dword [ebp - 0x1f8], 0xe7ed6f18
mov dword [ebp - 0x228], 0xe6e2bfbd
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x5c], 0
jmp 0x1004a1e0
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1004a1f6
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x2b4], 0xffffffff
jmp 0x1004a1d9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b4]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2b4], eax
mov dword [ebp - 0x94], 0xf7b6fe6d
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x1004a403
mov dword [ebp - 0x218], 0x734cb441
mov dword [ebp - 0x1c], 0
jmp 0x1004a24e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004a261
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x64], 1
jmp 0x1004a247
mov dword [ebp - 0x1c], 0
jmp 0x1004a271
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004a284
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x6c], 1
jmp 0x1004a26a
cmp dword [ebp - 0x1f8], 0xfffc
ja 0x1004a3a7
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x200], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x208], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x6c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x6c], eax
mov eax, dword [ebp - 0x200]
cmp eax, dword [ebp - 0x208]
jle 0x1004a2df
mov dword [ebp - 0xd4], 1
jmp 0x1004a2e6
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x210]
cmp dword [ebp - 0xd4], eax
jge 0x1004a300
mov dword [ebp - 0xdc], 1
jmp 0x1004a307
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0xfff7
ja 0x1004a31f
mov dword [ebp - 0xe4], 1
jmp 0x1004a326
and dword [ebp - 0xe4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
imul eax, dword [ebp - 0xe4]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x64]
je 0x1004a351
mov dword [ebp - 0xec], 1
jmp 0x1004a358
and dword [ebp - 0xec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
imul eax, dword [ebp - 0xec]
cmp eax, 0xd660f181
ja 0x1004a37c
mov dword [ebp - 0xf4], 1
jmp 0x1004a383
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x218]
neg eax
sub eax, dword [ebp - 0xf4]
sub eax, 9
imul eax, eax, 0xf0e2
test eax, eax
jne 0x1004a3a7
and dword [ebp - 0x220], 0
jmp 0x1004a3b1
mov dword [ebp - 0x220], 1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
jne 0x1004a3d4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 0
jne 0x1004a3d4
and dword [ebp - 0xfc], 0
jmp 0x1004a3de
mov dword [ebp - 0xfc], 1
imul eax, dword [ebp - 0xfc], 0xfffffffe
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x1004a401
push 0
push 0
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileA]
jmp 0x1004a477
mov byte [ebp - 0x3b], 0
movzx eax, byte [ebp - 0x3b]
test eax, eax
je 0x1004a42a
push 0xd3b
push 0x56
push 0x7ea
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp dword [ebp - 0x230], 0
je 0x1004a45d
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004a45b
push 0
push 0xe84
push 0x26c8
push 0x115b
push 0x227a
call dword [sym.imp.GDI32.dll_CreateBitmap]
jmp 0x1004a477
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004a477
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004a487
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
jmp 0x1004a0b5
mov esp, ebp
pop ebp
ret