Function at 0x10050d2f
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100864ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e0
push esi
push edi
mov dword [ebp - 0x380], 0xd581
push 4
lea ecx, [ebp - 0x28c]
call fcn.10016b30
and dword [ebp - 4], 0
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x10], 0
jmp 0x10050d98
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10050db4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28c]
call fcn.10016b9d
mov dword [eax], 1
jmp 0x10050d91
mov dword [ebp - 0x10], 0
jmp 0x10050dc4
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10050dda
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x254], 0xb881
jmp 0x10050dbd
mov dword [ebp - 0x10], 0
jmp 0x10050dea
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10050e00
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc0], 0x97341720
jmp 0x10050de3
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x254]
inc eax
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x254], ecx
cmp dword [ebp - 0x120], 0
jne 0x10050e3d
cmp dword [ebp - 0xec], 9
jb 0x10050f2d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x254]
mov dword [ebp - 0x170], eax
push 2
lea ecx, [ebp - 0x28c]
call fcn.10016b9d
mov ecx, dword [ebp - 0x170]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x170]
mov dword [ebp + eax - 0xc0], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, 0x24891023
sub ecx, dword [ebp + eax - 0xc0]
mov dword [ebp - 0x1ec], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp + eax - 0xc0], ecx
cmp dword [ebp - 0x1ec], 0
jne 0x10050ebe
mov eax, 0x89a9b8fa
test eax, eax
jne 0x10050ebe
and dword [ebp - 0x16c], 0
jmp 0x10050ec8
mov dword [ebp - 0x16c], 1
mov esi, dword [ebp - 0xec]
add esi, dword [ebp - 0x16c]
push 4
pop eax
shl eax, 0
imul esi, dword [ebp + eax - 0x254]
push 2
lea ecx, [ebp - 0x28c]
call fcn.10016b9d
mov dword [eax], esi
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1b0]
cmp dword [ebp + eax - 0x254], ecx
jg 0x10050f11
mov dword [ebp - 0xf4], 1
jmp 0x10050f18
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 9
ja 0x10050f2d
mov dword [ebp - 0xfc], 1
jmp 0x10050f34
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x1b0]
cmp dword [ebp - 0xfc], eax
jle 0x10050f4e
mov dword [ebp - 0x178], 1
jmp 0x10050f55
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x210], eax
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x10050f79
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.10016b98
push 0
call fcn.1004f01c
pop ecx
push 1
lea eax, [ebp - 0x3ec]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004e872
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x398]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x398]
lea edi, [ebp - 0x280]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x23c], 0x2bfbd3ae
mov dword [ebp - 0x374], 0x927f
mov dword [ebp - 0x180], 2
mov dword [ebp - 0x90], 0
jmp 0x10050ff6
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jge 0x10051012
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x1f8], 0xffffffff
jmp 0x10050fe9
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1f8], 0xffffffe2
jmp 0x1005103d
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f8]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1f8], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1f8], 0xfffffff9
jg 0x1005112f
mov dword [ebp - 0x9c], 0
jmp 0x10051069
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x10051085
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x20c], 0
jmp 0x1005105c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f8]
mov dword [ebp - 0x328], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x20c]
cmp dword [ebp + eax - 0x20c], ecx
jg 0x100510bf
mov dword [ebp - 0x104], 1
jmp 0x100510c6
and dword [ebp - 0x104], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x104]
sub ecx, dword [ebp + eax - 0x20c]
cmp ecx, 0x96673e7e
ja 0x100510ed
mov dword [ebp - 0x1d0], 1
jmp 0x100510f4
and dword [ebp - 0x1d0], 0
push 0xfffffffffffffff7
pop eax
sub eax, dword [ebp - 0x1d0]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1f8]
jge 0x10051117
mov dword [ebp - 0x10c], 1
jmp 0x1005111e
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x23c], eax
jmp 0x10051024
mov eax, dword [ebp - 0x180]
inc eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0xd0], 3
mov dword [ebp - 0x54], 0xf6af1124
mov dword [ebp - 0x20], 0x912491e2
mov dword [ebp - 0x134], 0x9e56
mov dword [ebp - 0x8c], 0
jmp 0x1005117e
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x10051197
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x5c], 0x37b0
jmp 0x10051171
mov dword [ebp - 0x54], 0
jmp 0x100511a7
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xfffffff2
jl 0x1005148a
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x124], 0x25429297
cmp dword [ebp - 0x3c], 0
je 0x100511db
push 9
pop eax
test eax, eax
je 0x100511db
mov dword [ebp - 0x114], 1
jmp 0x100511e2
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0
jmp 0x100511fb
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10051485
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x20], 0
jmp 0x1005121f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10051480
mov dword [ebp - 0x4c], 0x89226c31
mov dword [ebp - 0xac], 0
jmp 0x10051249
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x10051265
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x340], 0xa2c6eb81
jmp 0x1005123c
mov dword [ebp - 0x4c], 0
jmp 0x10051275
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x10051460
mov dword [ebp - 0x244], 3
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x5c], 0
je 0x10051303
cmp dword [ebp - 0x3c], 0
jne 0x100512aa
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x3c]
jne 0x100512aa
and dword [ebp - 0x1b8], 0
jmp 0x100512b4
mov dword [ebp - 0x1b8], 1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x5c]
mov ecx, dword [ebp - 0x20]
sub eax, dword [ebp + ecx*4 - 0x5c]
cmp dword [ebp - 0x1b8], eax
jl 0x100512df
mov dword [ebp - 0x11c], 1
jmp 0x100512e6
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x124], eax
jmp 0x1005145b
mov dword [ebp - 0x1e0], 0x2e6c0b33
push 2
lea ecx, [ebp - 0x2e8]
call fcn.10016b30
mov dword [ebp - 4], 1
mov dword [ebp - 0x94], 0
jmp 0x1005133a
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x1005135c
push dword [ebp - 0x94]
lea ecx, [ebp - 0x2e8]
call fcn.10016b9d
mov dword [eax], 0x6d5d64f6
jmp 0x1005132d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x1e0], eax
je 0x1005138b
mov dword [ebp - 0x12c], 1
jmp 0x10051392
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x5c], 0x8129
cmp dword [ebp - 0x12c], 0x8129
jg 0x100513bf
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x5c], 0
je 0x100513bf
mov dword [ebp - 0x190], 1
jmp 0x100513c6
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0
jl 0x100513db
mov dword [ebp - 0x13c], 1
jmp 0x100513e2
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1c0], eax
push 1
lea ecx, [ebp - 0x2e8]
call fcn.10016b9d
mov ecx, dword [ebp - 0x1c0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c0]
add eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x244]
lea eax, [eax + ecx - 4]
neg eax
jmp 0x10051432
and dword [ebp - 0x198], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax - 0x340], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.10016b98
jmp 0x1005126e
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1005147b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x10051218
jmp 0x100511f4
jmp 0x100511a0
mov dword [ebp - 0x238], 0xfffffffa
mov dword [ebp - 0x58], 0xffffffe5
jmp 0x100514a4
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xfffffff2
jle 0x1005245a
mov dword [ebp - 0x70], 0x13dce9d0
mov dword [ebp - 0x14], 0xdd1e1e87
mov dword [ebp - 0xb8], 0x6373a4c9
mov dword [ebp - 0xa4], 0
jmp 0x100514df
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 3
jge 0x100514fb
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x3a4], 0xde574131
jmp 0x100514d2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x14], 0xffff
jb 0x1005151c
cmp dword [ebp - 0x14], 0
jne 0x1005151c
and dword [ebp - 0x144], 0
jmp 0x10051526
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x144], eax
jne 0x1005153d
mov dword [ebp - 0x1d8], 1
jmp 0x10051544
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0xab227d3
jge 0x1005155c
mov dword [ebp - 0x14c], 1
jmp 0x10051563
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
neg eax
cmp eax, 0xffffffff
jle 0x10051588
mov dword [ebp - 0x1a0], 1
jmp 0x1005158f
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1a0], eax
jle 0x100515a6
mov dword [ebp - 0x154], 1
jmp 0x100515ad
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x154]
jl 0x100515c4
mov dword [ebp - 0x1fc], 1
jmp 0x100515cb
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x14], eax
jg 0x100515eb
mov dword [ebp - 0x1c8], 1
jmp 0x100515f2
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 1
jge 0x10051607
mov dword [ebp - 0x15c], 1
jmp 0x1005160e
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x15c]
test eax, eax
jne 0x10051629
xor eax, eax
jne 0x10051629
and dword [ebp - 0x1a8], 0
jmp 0x10051633
mov dword [ebp - 0x1a8], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp + eax - 0x3a4], ecx
mov dword [ebp - 0x14], 0x19
jmp 0x10051656
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1c
jg 0x1005168f
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x1005168d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x22ea
push 0x24d3
push 0x18f2
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x1005164f
mov dword [ebp - 0xbc], 0xb51dba33
mov dword [ebp - 0x44], 0xab72b21a
mov dword [ebp - 0x2d0], 0x452a26f
mov dword [ebp - 0x2cc], 0x452a26f
mov dword [ebp - 0x2c8], 0x452a26f
mov dword [ebp - 0x2c4], 0x452a26f
lea ecx, [ebp - 0xb1]
call fcn.100091a3
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.10016bac
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x264]
call fcn.10016b72
mov dword [ebp - 4], 2
mov dword [ebp - 0x1e8], 0x586fd5d7
mov dword [ebp - 0x164], 6
mov dword [ebp - 0x234], 0x9b780f88
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x164]
inc eax
mov dword [ebp - 0x164], eax
xor eax, eax
add eax, 0xfffffc28
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x1e8], eax
mov esi, dword [ebp - 0x1e8]
push 0
lea ecx, [ebp - 0x264]
call fcn.10016b9d
cmp esi, dword [eax]
jge 0x1005176e
mov dword [ebp - 0xe4], 1
jmp 0x10051775
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 1
jl 0x1005178a
mov dword [ebp - 0xe8], 1
jmp 0x10051791
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xe8], eax
jg 0x100517ab
mov dword [ebp - 0xf0], 1
jmp 0x100517b2
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xf0]
jg 0x100517cc
mov dword [ebp - 0xf8], 1
jmp 0x100517d3
and dword [ebp - 0xf8], 0
push 2
lea ecx, [ebp - 0x264]
call fcn.10016b9d
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jg 0x100517f6
mov dword [ebp - 0x100], 1
jmp 0x100517fd
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x44], 3
jmp 0x10051819
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10051843
push dword [ebp - 0x44]
lea ecx, [ebp - 0x264]
call fcn.10016b9d
mov esi, eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x264]
call fcn.10016b9d
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10051812
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10016b98
mov dword [ebp - 0x74], 0
jmp 0x10051862
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x10051878
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x204], 0xea66
jmp 0x1005185b
mov dword [ebp - 0x70], 0
jmp 0x10051888
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffe9
jge 0x10052455
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x80], 0x7f39cee2
mov dword [ebp - 0x240], 0x33ecdc0f
mov dword [ebp - 0x230], 0x2a93
mov dword [ebp - 0x24], 0
jmp 0x100518cb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x100518e1
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x274], 9
jmp 0x100518c4
mov dword [ebp - 0x24], 0
jmp 0x100518f1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x10051907
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x294], 0x900b0881
jmp 0x100518ea
mov dword [ebp - 0x28], 0
jmp 0x10051917
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jg 0x10051c65
mov dword [ebp - 0x18], 0x256a9ef7
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x220], 0xa117216
mov dword [ebp - 0x60], 0x52b3395c
mov dword [ebp - 0x30c], 0x2d863e32
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x31c], 0x67519ba6
mov dword [ebp - 0x18], 2
jmp 0x1005196e
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10051b7a
mov dword [ebp - 0x88], 0xfffffffc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x18], 0xdd48
jge 0x100519a0
mov dword [ebp - 0x108], 1
jmp 0x100519a7
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x108]
add eax, 0x4fd5
mov dword [ebp - 0x110], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x110]
mov dword [ebp + eax - 0x294], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x110], eax
jl 0x100519e5
mov dword [ebp - 0x118], 1
jmp 0x100519ec
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x7fc0
jle 0x10051a04
mov dword [ebp - 0xe0], 1
jmp 0x10051a0b
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x10051a2c
mov dword [ebp - 0x128], 1
jmp 0x10051a33
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x220], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x294]
sub eax, 0x6717b38e
mov dword [ebp - 0x240], eax
xor eax, eax
inc eax
cmp eax, 0xffff
je 0x10051a70
mov dword [ebp - 0x224], 1
jmp 0x10051a77
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x32c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
cmp dword [ebp - 0x6c], eax
jne 0x10051a9e
mov dword [ebp - 0x130], 1
jmp 0x10051aa5
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x130], eax
je 0x10051abc
mov dword [ebp - 0x138], 1
jmp 0x10051ac3
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x274]
cmp eax, dword [ebp - 0x138]
jge 0x10051ae4
mov dword [ebp - 0x140], 1
jmp 0x10051aeb
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x80]
jge 0x10051b09
mov dword [ebp - 0x148], 1
jmp 0x10051b10
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x80]
imul ecx, dword [ebp - 0x148]
neg ecx
cmp dword [ebp + eax*4 - 0x274], ecx
jl 0x10051b34
mov dword [ebp - 0x258], 1
jmp 0x10051b3b
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x274]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
jmp 0x10051967
mov dword [ebp - 0x18], 2
jmp 0x10051b8a
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10051c60
push 2
lea ecx, [ebp - 0x350]
call fcn.10016b30
mov dword [ebp - 4], 3
mov dword [ebp - 0x344], 0x7d051992
mov dword [ebp - 0x78], 0
jmp 0x10051bc2
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x10051bde
push dword [ebp - 0x78]
lea ecx, [ebp - 0x350]
call fcn.10016b9d
mov dword [eax], 0x5d3c
jmp 0x10051bbb
mov dword [ebp - 0x60], 0
jmp 0x10051bee
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jg 0x10051c4c
mov dword [ebp - 0x2f8], 0x8f98
mov dword [ebp - 0x150], 0xffffffff
mov dword [ebp - 0x7c], 0
jmp 0x10051c18
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x10051c2e
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x3d4], 0xffffffff
jmp 0x10051c11
mov eax, dword [ebp - 0x150]
dec eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x274], 0
je 0x10051c4a
jmp 0x10051be7
jmp 0x10051be7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x350]
call fcn.10016b98
jmp 0x10051b83
jmp 0x10051910
mov dword [ebp - 0x64], 0xd
jmp 0x10051c75
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff6
jge 0x10052395
mov dword [ebp - 0x2bc], 0xda115252
mov dword [ebp - 0x2b8], 0xda115252
mov dword [ebp - 0x2b4], 0xda115252
mov dword [ebp - 0x2b0], 0xda115252
lea ecx, [ebp - 0xc1]
call fcn.100091a3
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x3c8]
call fcn.10016bac
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x360]
call fcn.10016b72
mov dword [ebp - 4], 4
mov dword [ebp - 0x98], 0x3b6182ea
push 3
lea ecx, [ebp - 0x360]
call fcn.10016b9d
and dword [eax], 0
mov dword [ebp - 0x98], 3
jmp 0x10051d16
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jl 0x10051d3a
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10051d38
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x10051d09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x360]
call fcn.10016b98
mov dword [ebp - 0x2c], 0xfffffff7
mov dword [ebp - 0x2c], 0
jmp 0x10051d60
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x10051d76
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x204], 0xb60e
jmp 0x10051d59
mov dword [ebp - 0xa0], 0xa61928c1
mov dword [ebp - 0xa0], 0
jmp 0x10051d99
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x10
jg 0x10051e6a
push 1
lea ecx, [ebp - 0x21c]
call fcn.10016b30
mov dword [ebp - 4], 5
mov dword [ebp - 0xa8], 0
jmp 0x10051dd3
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jge 0x10051df5
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x21c]
call fcn.10016b9d
mov dword [eax], 0xaa9ac70c
jmp 0x10051dc6
push 0
lea ecx, [ebp - 0x21c]
call fcn.10016b9d
mov dword [eax], 0xfffffff9
jmp 0x10051e2e
push 0
lea ecx, [ebp - 0x21c]
call fcn.10016b9d
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x158]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x21c]
call fcn.10016b9d
cmp dword [eax], 0x10
jge 0x10051e56
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x10051e54
push 0
call dword [sym.imp.KERNEL32.dll_EncodePointer]
jmp 0x10051e0a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.10016b98
jmp 0x10051d8c
mov dword [ebp - 0x2c], 0
jmp 0x10051e7a
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff2
jg 0x10052390
push 3
lea ecx, [ebp - 0xdc]
call fcn.10016b30
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], 0xba394643
mov dword [ebp - 0x174], 0xfffffffe
mov dword [ebp - 0x184], 0x15b45bea
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0x384], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x354], 1
push 2
lea ecx, [ebp - 0x370]
call fcn.10016b30
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], 0
jmp 0x10051efc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10051f18
push dword [ebp - 0x34]
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
mov dword [eax], 1
jmp 0x10051ef5
mov dword [ebp - 0x34], 0
jmp 0x10051f28
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10051f44
push dword [ebp - 0x34]
lea ecx, [ebp - 0x370]
call fcn.10016b9d
mov dword [eax], 0xb82aec7f
jmp 0x10051f21
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x10051f60
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov dword [ebp - 0x1c], 2
jmp 0x10051f70
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10052350
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x1bc], 0x684a08de
mov dword [ebp - 0x1cc], 0x369e
mov dword [ebp - 0xb0], 0
jmp 0x10051fb8
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x10051fd4
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x3e0], 0xb4ff5102
jmp 0x10051fab
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x50], 0
imul esi, dword [ebp - 0x50], 0xfffc
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
cmp esi, dword [eax]
jne 0x1005200d
mov dword [ebp - 0x160], 1
jmp 0x10052014
and dword [ebp - 0x160], 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [eax]
jge 0x100522ae
mov dword [ebp - 0x68], 0x95d
mov dword [ebp - 0x248], 0
push 2
lea ecx, [ebp - 0x2dc]
call fcn.10016b30
mov byte [ebp - 4], 8
mov dword [ebp - 0x30], 0
jmp 0x10052061
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10052077
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x22c], 0
jmp 0x1005205a
mov dword [ebp - 0x30], 0
jmp 0x10052087
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x100520a3
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2dc]
call fcn.10016b9d
mov dword [eax], 8
jmp 0x10052080
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x1c], eax
jle 0x100520c0
mov dword [ebp - 0x168], 1
jmp 0x100520c7
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 1
jle 0x10052251
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x17c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + eax - 0x22c], ecx
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
sub eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2ec], eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
cmp dword [ebp - 0x1c], 0xb03c3fa3
jne 0x1005214e
mov dword [ebp - 0x18c], 1
jmp 0x10052155
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x18c], eax
je 0x1005216c
mov dword [ebp - 0x194], 1
jmp 0x10052173
and dword [ebp - 0x194], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [eax]
jne 0x10052197
mov dword [ebp - 0x19c], 1
jmp 0x1005219e
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x19c], eax
jg 0x100521b8
mov dword [ebp - 0x1a4], 1
jmp 0x100521bf
and dword [ebp - 0x1a4], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
mov ecx, dword [ebp - 0x1a4]
cmp ecx, dword [eax]
jle 0x100521ef
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x22c], 0
jne 0x100521ef
and dword [ebp - 0x1ac], 0
jmp 0x100521f9
mov dword [ebp - 0x1ac], 1
mov esi, dword [ebp - 0x1ac]
sub esi, dword [ebp - 0xc8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
cmp esi, dword [eax]
jg 0x10052223
mov dword [ebp - 0x1b4], 1
jmp 0x1005222a
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1bc], eax
imul eax, dword [ebp - 0x1bc], 0xfffa
cmp eax, dword [ebp - 0x68]
jg 0x10052251
mov dword [ebp - 0x1c4], 1
jmp 0x10052258
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x248]
imul eax, dword [ebp - 0x1c4]
test eax, eax
jne 0x10052270
cmp dword [ebp - 0xc8], 0
push 1
lea ecx, [ebp - 0x2dc]
call fcn.10016b9d
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x22c]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10016b9d
mov dword [eax], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2dc]
call fcn.10016b98
jmp 0x1005234b
mov dword [ebp - 0x310], 1
or dword [ebp - 0x2a8], 0xffffffff
or dword [ebp - 0x2a4], 0xffffffff
or dword [ebp - 0x2a0], 0xffffffff
or dword [ebp - 0x29c], 0xffffffff
lea ecx, [ebp - 0xc9]
call fcn.100091a3
push eax
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x3c0]
call fcn.10016bac
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3b0]
call fcn.10016b72
mov dword [ebp - 0x364], 0xfffffff8
mov eax, dword [ebp - 0x1cc]
inc eax
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x10052340
push 0x2378
push 0
push 0x65a
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x3b0]
call fcn.10016b98
jmp 0x10051f69
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x370]
call fcn.10016b98
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10016b98
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1005238b
push 1
call fcn.1004f01c
pop ecx
jmp 0x10051e73
jmp 0x10051c6e
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x318], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x204]
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x320], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x204], 1
jbe 0x100523d9
mov dword [ebp - 0x1d4], 1
jmp 0x100523e0
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x1d4]
je 0x10052400
mov eax, 0xffff
test eax, eax
je 0x10052400
mov dword [ebp - 0x1dc], 1
jmp 0x10052407
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x1dc], eax
jle 0x10052421
mov dword [ebp - 0x1e4], 1
jmp 0x10052428
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x1e4], eax
jne 0x1005243f
mov dword [ebp - 0x268], 1
jmp 0x10052446
and dword [ebp - 0x268], 0
mov dword [ebp - 0xd0], 0xffffffff
jmp 0x10051881
jmp 0x1005149d
cmp dword [ebp - 0x280], 0
je 0x10052477
push 2
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
call dword [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret