Function at 0x10051166
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x39c
push esi
push edi
mov dword [ebp - 0x1c], 0xbb7ab61b
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x2a0], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1005119c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x100511b2
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x244], 1
jmp 0x10051195
mov dword [ebp - 0x20], 0
jmp 0x100511c2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x100511d5
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2c], 1
jmp 0x100511bb
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2c], 1
jmp 0x100511fa
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
jl 0x100513d8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x14], 0
jmp 0x10051222
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x100512e5
mov dword [ebp - 0x260], 0x1c17
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp + eax*4 - 0x244], 0
cmp dword [ebp - 0x14], 0x7563
jle 0x1005125d
mov dword [ebp - 0x19c], 1
jmp 0x10051264
and dword [ebp - 0x19c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov eax, dword [ebp + eax*4 - 0x244]
cmp dword [ebp - 0x19c], eax
jg 0x10051289
mov dword [ebp - 0x230], 1
jmp 0x10051290
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x260]
cmp dword [ebp - 0x230], eax
jge 0x100512aa
mov dword [ebp - 0x238], 1
jmp 0x100512b1
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0
jmp 0x100512ca
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100512e0
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x244], 1
jmp 0x100512c3
jmp 0x1005121b
mov dword [ebp - 0x14], 0
jmp 0x100512f5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x100513d3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3062a4b1
jl 0x1005132e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp + eax*4 - 0x244], 8
je 0x1005132e
mov dword [ebp - 0x290], 1
jmp 0x10051335
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jle 0x1005134c
cmp dword [ebp - 0x1c], 0
jne 0x1005134c
and dword [ebp - 0x154], 0
jmp 0x10051356
mov dword [ebp - 0x154], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
mov eax, dword [ebp + eax*4 - 0x244]
cmp eax, dword [ebp - 0x154]
jg 0x1005137b
mov dword [ebp - 0x1b8], 1
jmp 0x10051382
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x298]
cmp dword [ebp - 0x1b8], eax
je 0x1005139c
mov dword [ebp - 0xec], 1
jmp 0x100513a3
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0xffff
je 0x100513bb
mov dword [ebp - 0x1c0], 1
jmp 0x100513c2
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x2a0], eax
jmp 0x100512ee
jmp 0x100511e5
push 1
lea eax, [ebp - 0x38c]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004c034
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x368]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x368]
lea edi, [ebp - 0x2c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], 0x2b165808
mov dword [ebp - 4], 0xe229
mov dword [ebp - 0x1c8], 0x17ab6dad
mov dword [ebp - 0x4c], 9
mov dword [ebp - 0xa0], 0x57863718
mov dword [ebp - 0x34], 6
mov dword [ebp - 0xa8], 0
jmp 0x10051450
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1005146c
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0xb0], 0xfffffffc
jmp 0x10051443
mov eax, dword [ebp - 0x1c8]
cmp dword [ebp - 0x3c], eax
jg 0x10051483
mov dword [ebp - 0xf4], 1
jmp 0x1005148a
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xf4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100514ba
mov dword [ebp - 0x2a8], 1
jmp 0x100514c1
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c8]
lea eax, [eax + ecx - 0xa55fa29]
neg eax
imul eax, dword [ebp - 4]
cmp eax, 9
jae 0x100514e8
mov dword [ebp - 0xfc], 1
jmp 0x100514ef
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 1
jge 0x10051504
mov dword [ebp - 0x1d0], 1
jmp 0x1005150b
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1d0]
jg 0x10051522
mov dword [ebp - 0x104], 1
jmp 0x10051529
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x104]
jl 0x10051540
mov dword [ebp - 0x1d8], 1
jmp 0x10051547
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1d8], eax
jl 0x1005155e
mov dword [ebp - 0x2b0], 1
jmp 0x10051565
and dword [ebp - 0x2b0], 0
mov dword [ebp - 0x3c], 0x84edc022
mov dword [ebp - 0x4c], 0
jmp 0x1005157c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x1005199f
mov dword [ebp - 0x80], 5
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x1e8], 0x7ee0456b
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x8c], 0
jmp 0x100515c4
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x100515e0
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x144], 0xb1cb454
jmp 0x100515b7
mov dword [ebp - 0x34], 1
jmp 0x100515f0
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1005199a
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x208], 0xfa57a880
mov dword [ebp - 0x24], 0
jmp 0x1005161e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x10051634
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x340], 0
jmp 0x10051617
mov dword [ebp - 0x24], 0
jmp 0x10051644
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1005165a
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xb4], 0x3bc6c2db
jmp 0x1005163d
mov dword [ebp - 4], 1
jmp 0x1005166a
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10051979
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
push 4
pop ecx
imul ecx, ecx, 3
imul eax, dword [ebp + ecx - 0x340]
cmp eax, dword [ebp - 0x90]
jle 0x100516a0
mov dword [ebp - 0x2b8], 1
jmp 0x100516a7
and dword [ebp - 0x2b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
imul eax, dword [ebp - 0x90]
sub eax, 0x5c2bbbb3
je 0x100516dd
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x340], 0
je 0x100516dd
mov dword [ebp - 0x10c], 1
jmp 0x100516e4
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x340]
sub eax, dword [ebp - 0x10c]
cmp eax, 0xfffb
jb 0x10051709
mov dword [ebp - 0x1e0], 1
jmp 0x10051710
and dword [ebp - 0x1e0], 0
push 9
pop eax
sub eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x80]
sub ecx, eax
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
test ecx, ecx
je 0x1005173e
cmp dword [ebp - 0x90], 0
je 0x1005173e
mov dword [ebp - 0x114], 1
jmp 0x10051745
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x90], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x98]
add eax, 3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
dec eax
jne 0x100517a4
cmp dword [ebp - 0x98], 0
jne 0x100517a4
and dword [ebp - 0x11c], 0
jmp 0x100517ae
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp - 0x1f0]
jl 0x100517d8
mov dword [ebp - 0x124], 1
jmp 0x100517df
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp eax, dword [ebp - 0x124]
jl 0x100517fd
mov dword [ebp - 0x1f8], 1
jmp 0x10051804
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x1f8], eax
je 0x1005181e
mov dword [ebp - 0x12c], 1
jmp 0x10051825
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0xfffc
ja 0x1005183d
mov dword [ebp - 0x200], 1
jmp 0x10051844
and dword [ebp - 0x200], 0
cmp dword [ebp - 0x200], 0x676e
jg 0x1005185c
mov dword [ebp - 0x134], 1
jmp 0x10051863
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0xb0], ecx
jg 0x10051896
mov dword [ebp - 0x13c], 1
jmp 0x1005189d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x13c]
jg 0x100518b4
mov dword [ebp - 0x210], 1
jmp 0x100518bb
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x98]
cmp dword [ebp + eax*4 - 0xb0], ecx
jle 0x100518d9
mov dword [ebp - 0x288], 1
jmp 0x100518e0
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xb0]
mov dword [ebp - 0x32c], eax
xor eax, eax
inc eax
je 0x10051903
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x144], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x210], eax
jge 0x10051924
mov dword [ebp - 0x218], 1
jmp 0x1005192b
and dword [ebp - 0x218], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x144]
cmp dword [ebp - 0x218], eax
jl 0x1005194c
mov dword [ebp - 0x29c], 1
jmp 0x10051953
and dword [ebp - 0x29c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0xe808e27f
jmp 0x10051663
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10051995
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
jmp 0x100515e9
jmp 0x10051575
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x2d8], 0xffffffff
mov dword [ebp - 0x14c], 0xfffffffa
mov dword [ebp - 0x88], 0
jmp 0x100519d3
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 4
jge 0x100519ef
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x39c], 0xfffffff6
jmp 0x100519c6
mov dword [ebp - 0x68], 0xffffffed
jmp 0x100519ff
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x19
je 0x10051ae9
mov dword [ebp - 0x27c], 0x2c36544d
mov dword [ebp - 0x2e0], 0xfffffff8
mov dword [ebp - 0xcc], 0xf340
mov dword [ebp - 0x9c], 0
jmp 0x10051a40
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jge 0x10051a5c
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0xc8], 0xfffffff9
jmp 0x10051a33
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x27c], eax
jne 0x10051a73
mov dword [ebp - 0x2bc], 1
jmp 0x10051a7a
and dword [ebp - 0x2bc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov ecx, dword [ebp - 0xcc]
neg ecx
mov edx, dword [ebp - 0xcc]
dec edx
mov dword [ebp - 0xcc], edx
cmp ecx, eax
jl 0x10051aa9
cmp dword [ebp - 0x14c], 0
je 0x10051ac7
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
cmp dword [ebp - 0x14c], eax
jl 0x10051ac7
and dword [ebp - 0x220], 0
jmp 0x10051ad1
mov dword [ebp - 0x220], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x220]
mov dword [ebp + eax - 0xc8], ecx
jmp 0x100519f8
mov dword [ebp - 0x5c], 0xea5d6c05
mov dword [ebp - 0x50], 0x25e7
mov dword [ebp - 0x300], 0x4d073ff8
cmp dword [ebp - 0x50], 0
je 0x10051b26
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10051b24
push 1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10051b99
mov dword [ebp - 0x94], 0
jmp 0x10051b3f
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x10051b5b
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x2ec], 1
jmp 0x10051b32
mov dword [ebp - 0x50], 0
jmp 0x10051b6b
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jg 0x10051b99
mov dword [ebp - 0x228], 9
mov eax, dword [ebp - 0x228]
inc eax
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x2ec], 0
je 0x10051b97
jmp 0x10051b99
jmp 0x10051b64
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10051bbd
push 0
push 0x12eb
push 0
push 0
push 0x134d
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x5c], 0xffffffec
jmp 0x10051bcd
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x19
jle 0x1005272b
mov dword [ebp - 0x344], 0xfffffffb
mov dword [ebp - 0x34c], 0x19ac
mov dword [ebp - 0x2d4], 0xad744d02
mov dword [ebp - 0x320], 0x68819570
mov dword [ebp - 0x1d4], 2
mov dword [ebp - 0x2dc], 0xbb8bffbe
mov dword [ebp - 0x74], 0
jmp 0x10051c23
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x10051c39
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x380], 0x4801897a
jmp 0x10051c1c
mov eax, dword [ebp - 0x1d4]
dec eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x58], 0xeede0b40
mov dword [ebp - 8], 0
jmp 0x10051c5d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x10051c73
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xdc], 0x638ecf54
jmp 0x10051c56
mov dword [ebp - 8], 0
jmp 0x10051c83
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x10051c99
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x254], 0xffffffff
jmp 0x10051c7c
mov dword [ebp - 8], 0
jmp 0x10051ca9
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x10051cbf
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2f8], 0xf4cc511e
jmp 0x10051ca2
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0xdc]
cmp dword [ebp + eax - 0xdc], ecx
jl 0x10051ce7
mov dword [ebp - 0x15c], 1
jmp 0x10051cee
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + eax - 0xdc], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
mov dword [ebp - 0x330], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
mov dword [ebp - 0x2cc], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x254], 0x8331
jle 0x10051d45
mov dword [ebp - 0x214], 1
jmp 0x10051d4c
and dword [ebp - 0x214], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x254]
cmp dword [ebp - 0x214], eax
jle 0x10051d6d
mov dword [ebp - 0x164], 1
jmp 0x10051d74
and dword [ebp - 0x164], 0
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0xdc]
imul ecx, dword [ebp - 0x164]
cmp dword [ebp + eax - 0xdc], ecx
je 0x10051da2
mov dword [ebp - 0x1dc], 1
jmp 0x10051da9
and dword [ebp - 0x1dc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x1dc], eax
jl 0x10051dca
mov dword [ebp - 0x16c], 1
jmp 0x10051dd1
and dword [ebp - 0x16c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x16c], eax
jge 0x10051df2
mov dword [ebp - 0x234], 1
jmp 0x10051df9
and dword [ebp - 0x234], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x234], eax
jle 0x10051e1a
mov dword [ebp - 0x174], 1
jmp 0x10051e21
and dword [ebp - 0x174], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x174], eax
jg 0x10051e42
mov dword [ebp - 0x1e4], 1
jmp 0x10051e49
and dword [ebp - 0x1e4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x1e4], eax
jle 0x10051e6a
mov dword [ebp - 0x17c], 1
jmp 0x10051e71
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xb09b
jl 0x10051e89
mov dword [ebp - 0x21c], 1
jmp 0x10051e90
and dword [ebp - 0x21c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xdc]
cmp dword [ebp - 0x21c], eax
jge 0x10051eb0
mov dword [ebp - 0xbc], 1
jmp 0x10051eb7
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + eax - 0xdc], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x254]
cmp dword [ebp - 0xbc], eax
jge 0x10051eea
mov dword [ebp - 0x184], 1
jmp 0x10051ef1
and dword [ebp - 0x184], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x254]
add eax, dword [ebp - 0x184]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2f8], eax
mov dword [ebp - 0x2a4], 0xc821
mov dword [ebp - 0x294], 1
mov dword [ebp - 0x328], 0xffffffff
mov dword [ebp - 0x274], 0xffffffff
mov dword [ebp - 0x270], 0xffffffff
mov dword [ebp - 0x26c], 0xffffffff
mov dword [ebp - 0x268], 0xffffffff
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x28], 0
jmp 0x10051f6e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10051f84
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x310], 0x434678dc
jmp 0x10051f67
mov dword [ebp - 0x28], 0
jmp 0x10051f94
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x10051faa
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1ac], 0x2bf33880
jmp 0x10051f8d
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x310], 4
je 0x10051fc6
mov dword [ebp - 0x248], 1
jmp 0x10051fcd
and dword [ebp - 0x248], 0
cmp dword [ebp - 0x64], 6
je 0x10051fdf
mov dword [ebp - 0x1ec], 1
jmp 0x10051fe6
and dword [ebp - 0x1ec], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x310]
cmp eax, dword [ebp - 0x1ec]
jg 0x10052006
mov dword [ebp - 0x18c], 1
jmp 0x1005200d
and dword [ebp - 0x18c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x274]
add eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x248]
push 4
pop edx
shl edx, 0
mov edx, dword [ebp + edx - 0x274]
dec edx
push 4
pop esi
shl esi, 0
mov dword [ebp + esi - 0x274], edx
cmp ecx, eax
jne 0x10052061
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x274], 0
je 0x10052061
mov dword [ebp - 0x194], 1
jmp 0x10052068
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x194]
sub ecx, dword [ebp + eax - 0x1ac]
cmp ecx, 0x51c76d7b
jge 0x1005208f
mov dword [ebp - 0x1f4], 1
jmp 0x10052096
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0x760fc5c2
jle 0x100520ae
mov dword [ebp - 0xe0], 1
jmp 0x100520b5
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xfffffff9
jg 0x100520ca
mov dword [ebp - 0x224], 1
jmp 0x100520d1
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x224], 0xa33e
jl 0x100520e9
mov dword [ebp - 0x1a4], 1
jmp 0x100520f0
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 1
jne 0x10052105
mov dword [ebp - 0x1fc], 1
jmp 0x1005210c
and dword [ebp - 0x1fc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp + eax - 0x1ac], ecx
mov dword [ebp - 0x64], 0
jmp 0x1005212f
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jg 0x10052155
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x10052153
push 0x1186
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
jmp 0x10052128
mov dword [ebp - 0x58], 0x16
jmp 0x10052165
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffef
je 0x10052726
mov dword [ebp - 0x204], 0xf4c
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0xa4], 0
jmp 0x10052199
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jge 0x100521b2
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x70], 0x13b91020
jmp 0x1005218c
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x100521c9
push 0x1eff
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x70], 0xffffffe2
jmp 0x100521ee
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x70], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x70], 0xffffffe2
jle 0x10052650
mov dword [ebp - 0x18], 0xe55059b8
mov dword [ebp - 0x60], 0x60fc5c2f
mov dword [ebp - 0x84], 0
jmp 0x10052226
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x10052242
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x25c], 0xe8384627
jmp 0x10052219
mov dword [ebp - 0x18], 1
jmp 0x10052252
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10052621
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0x284], 0xfffffff8
mov dword [ebp - 0x1c4], 0xa84cbed5
mov dword [ebp - 0x2f0], 0xb748abb7
mov dword [ebp - 0x78], 0x35c2
mov dword [ebp - 0xc0], 0xfe35fe57
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x25c]
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0xc0], eax
jge 0x100522c3
mov dword [ebp - 0x23c], 1
jmp 0x100522ca
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x23c], eax
je 0x100522e4
mov dword [ebp - 0x1b4], 1
jmp 0x100522eb
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x2fc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x25c]
neg eax
sub eax, dword [ebp - 0xc0]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x25c]
jge 0x10052333
mov dword [ebp - 0x1bc], 1
jmp 0x1005233a
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x1bc], eax
jle 0x10052351
mov dword [ebp - 0x22c], 1
jmp 0x10052358
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x1c4], eax
jge 0x1005237b
mov dword [ebp - 0x20c], 1
jmp 0x10052382
and dword [ebp - 0x20c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp - 0x20c], eax
je 0x100523a0
mov dword [ebp - 0x1cc], 1
jmp 0x100523a7
and dword [ebp - 0x1cc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp - 0x1cc], eax
jg 0x100523c5
mov dword [ebp - 0x24c], 1
jmp 0x100523cc
and dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24c], 0x44c1
jg 0x100523e4
mov dword [ebp - 0x150], 1
jmp 0x100523eb
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x150]
jge 0x10052405
mov dword [ebp - 0x158], 1
jmp 0x1005240c
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x158], eax
jle 0x10052423
mov dword [ebp - 0x160], 1
jmp 0x1005242a
and dword [ebp - 0x160], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp eax, dword [ebp - 0x160]
je 0x10052448
mov dword [ebp - 0x168], 1
jmp 0x1005244f
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x168], eax
jne 0x10052466
mov dword [ebp - 0x170], 1
jmp 0x1005246d
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x170], eax
jl 0x10052484
mov dword [ebp - 0x178], 1
jmp 0x1005248b
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x178], eax
jge 0x100524a2
mov dword [ebp - 0x180], 1
jmp 0x100524a9
and dword [ebp - 0x180], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp - 0x180], eax
jne 0x100524c7
mov dword [ebp - 0x188], 1
jmp 0x100524ce
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x188], eax
jg 0x100524e5
mov dword [ebp - 0x190], 1
jmp 0x100524ec
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0xc1f5e2d0
ja 0x10052504
mov dword [ebp - 0x198], 1
jmp 0x1005250b
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0xcebb36e9
ja 0x10052523
mov dword [ebp - 0x1a0], 1
jmp 0x1005252a
and dword [ebp - 0x1a0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp - 0x1a0], eax
je 0x10052548
mov dword [ebp - 0x1a8], 1
jmp 0x1005254f
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0x44]
jle 0x10052569
mov dword [ebp - 0x1b0], 1
jmp 0x10052570
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x284]
cmp dword [ebp - 0x1b0], eax
jle 0x1005258a
mov dword [ebp - 0xe4], 1
jmp 0x10052591
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xe4], eax
je 0x100525a8
mov dword [ebp - 0xe8], 1
jmp 0x100525af
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xe8], eax
je 0x100525d3
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x25c], 0
je 0x100525d3
mov dword [ebp - 0xf0], 1
jmp 0x100525da
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0xf0], eax
jne 0x100525fa
cmp dword [ebp - 0xc0], 0
je 0x100525fa
mov dword [ebp - 0xf8], 1
jmp 0x10052601
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xc4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x70], 0
je 0x1005261c
jmp 0x10052621
jmp 0x1005224b
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x44], eax
jg 0x10052635
mov dword [ebp - 0x100], 1
jmp 0x1005263c
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
jmp 0x100521d9
mov dword [ebp - 0x54], 0xfffffffe
mov dword [ebp - 0x2ac], 7
mov dword [ebp - 0x54], 0x13
jmp 0x10052671
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffeb
jge 0x10052721
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x2b4], 1
mov dword [ebp - 0x28c], 0x639e6a4
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x100526dc
push 0x6280
push 0x65c5
push 0xc87
push 0x2d78
push 0x1eec
push 0x555e
push 0x3830
push 0
push 0x2293
push 0x712a
call fcn.1004c7b1
add esp, 0x28
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x294]
push eax
push 1
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1004c7b1
add esp, 0x28
jmp 0x1005266a
jmp 0x1005215e
jmp 0x10051bc6
mov dword [ebp - 0x10], 0x29aa
mov dword [ebp - 0x7c], 0x67f8b4df
mov dword [ebp - 0x120], 0xa8f1edd1
mov dword [ebp - 0x280], 0x64d9248e
mov dword [ebp - 0xc], 0
jmp 0x1005275d
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x10052773
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x278], 0x5637
jmp 0x10052756
mov dword [ebp - 0xc], 0
jmp 0x10052783
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x10052799
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x374], 0x4ed383de
jmp 0x1005277c
mov dword [ebp - 0xc], 0
jmp 0x100527a9
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x100527bf
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x35c], 0x60bc
jmp 0x100527a2
cmp dword [ebp - 0x10], 0
je 0x100528ce
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x318], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp + eax - 0x278], ecx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
cmp dword [ebp - 0x10], 1
jge 0x10052801
mov dword [ebp - 0x108], 1
jmp 0x10052808
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x108], eax
jne 0x1005281f
mov dword [ebp - 0x110], 1
jmp 0x10052826
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x110]
test eax, eax
jne 0x10052846
mov eax, 0x2715
test eax, eax
jne 0x10052846
and dword [ebp - 0x118], 0
jmp 0x10052850
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x118], eax
jne 0x10052867
mov dword [ebp - 0xb8], 1
jmp 0x1005286e
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x374], ecx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x314], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x35c]
cmp dword [ebp - 0x7c], eax
jg 0x100528c2
cmp dword [ebp - 0x7c], 0
je 0x100528ce
mov dword [ebp - 0x128], 1
jmp 0x100528d5
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x128]
test eax, eax
je 0x100528fd
or eax, 0xffffffff
je 0x100528fd
mov eax, 0x6f37d437
test eax, eax
je 0x100528fd
mov dword [ebp - 0x130], 1
jmp 0x10052904
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 1
jae 0x10052919
mov dword [ebp - 0x138], 1
jmp 0x10052920
and dword [ebp - 0x138], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x35c]
cmp dword [ebp - 0x138], eax
je 0x10052940
mov dword [ebp - 0x140], 1
jmp 0x10052947
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xfffffffa
jge 0x1005295c
mov dword [ebp - 0x148], 1
jmp 0x10052963
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1005298d
push 0x26aa
push 0x1c19
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
cmp dword [ebp - 0x2c8], 0
je 0x100529aa
push 1
push dword [ebp - 0x2c0]
push dword [ebp - 0x2c4]
call dword [ebp - 0x2c8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret