Function at 0x1001624a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008365a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
push esi
push edi
and dword [ebp - 0x60], 0
mov dword [ebp - 0x10], 0x4f402e31
mov dword [ebp - 0x18], 0x23498e64
mov dword [ebp - 0x34], 0x60f7e730
push 2
lea ecx, [ebp - 0x16c]
call fcn.1001770e
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x16c]
push eax
push 0x7432
push 0x37ac
lea eax, [ebp - 0x220]
push eax
call fcn.10015ec7
add esp, 0x14
cmp dword [ebp - 0x10], 0
jne 0x100162d2
cmp dword [ebp - 0x10], 0
jne 0x100162d2
and dword [ebp - 0x180], 0
jmp 0x100162dc
mov dword [ebp - 0x180], 1
mov esi, dword [ebp - 0x10]
push 1
lea ecx, [ebp - 0x16c]
call fcn.1001779a
add esi, dword [eax]
cmp esi, dword [ebp - 0x34]
jg 0x100162ff
mov dword [ebp - 0xd4], 1
jmp 0x10016306
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xd4]
je 0x1001631d
mov dword [ebp - 0x138], 1
jmp 0x10016324
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x138], eax
jl 0x1001634a
push 1
lea ecx, [ebp - 0x16c]
call fcn.1001779a
cmp dword [eax], 0
jne 0x1001634a
and dword [ebp - 0x130], 0
jmp 0x10016354
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x130], eax
jle 0x1001636b
mov dword [ebp - 0x98], 1
jmp 0x10016372
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x98], eax
je 0x10016389
mov dword [ebp - 0xf0], 1
jmp 0x10016390
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xfffffffe
jg 0x100163a5
mov dword [ebp - 0xa0], 1
jmp 0x100163ac
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xa0]
jg 0x100163cd
cmp dword [ebp - 0x2c], 0
je 0x100163cd
mov dword [ebp - 0x74], 1
jmp 0x100163d1
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x16c]
call fcn.1001779a
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x74], eax
jg 0x100163f7
mov dword [ebp - 0x128], 1
jmp 0x100163fe
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x128], eax
jg 0x10016415
mov dword [ebp - 0x194], 1
jmp 0x1001641c
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jle 0x1001646b
mov dword [ebp - 0x248], 3
mov dword [ebp - 0x10], 0x13
jmp 0x10016447
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x13
je 0x10016466
mov dword [ebp - 0xa8], 0xffffffff
mov eax, dword [ebp - 0xa8]
dec eax
mov dword [ebp - 0xa8], eax
jmp 0x10016440
jmp 0x100166d8
mov dword [ebp - 0x78], 0xcbaa6f4e
push 4
lea ecx, [ebp - 0x160]
call fcn.1001770e
mov byte [ebp - 4], 1
push 3
lea ecx, [ebp - 0x1ec]
call fcn.1001770e
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c0], 0xffffffff
push 1
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x19c]
push eax
push 0x4ad3
call fcn.10015841
add esp, 0x10
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x19c]
push eax
push 0x6e7b
push 1
call fcn.100158b7
add esp, 0x10
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x1a4], 0
jae 0x100164fd
mov dword [ebp - 0x100], 1
jmp 0x10016504
and dword [ebp - 0x100], 0
push 1
lea ecx, [ebp - 0x160]
call fcn.1001779a
mov esi, dword [eax]
add esi, 0x7f2a
push 1
lea ecx, [ebp - 0x160]
call fcn.1001779a
cmp esi, dword [eax]
jge 0x10016536
mov dword [ebp - 0xb0], 1
jmp 0x1001653d
and dword [ebp - 0xb0], 0
push 1
lea ecx, [ebp - 0x1ec]
call fcn.1001779a
mov dword [ebp - 0xf8], eax
push 1
lea ecx, [ebp - 0x160]
call fcn.1001779a
mov ecx, dword [ebp - 0xf8]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb0]
jl 0x10016583
mov dword [ebp - 0x134], 1
jmp 0x1001658a
and dword [ebp - 0x134], 0
push 1
lea ecx, [ebp - 0x160]
call fcn.1001779a
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [eax]
je 0x100165ad
mov dword [ebp - 0xb8], 1
jmp 0x100165b4
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xb8], eax
jne 0x100165cb
mov dword [ebp - 0x1b8], 1
jmp 0x100165d2
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x224], eax
push 0
lea ecx, [ebp - 0x160]
call fcn.1001779a
push 1
lea ecx, [ebp - 0x16c]
call fcn.1001779a
cmp dword [ebp - 0x100], 0xffffffff
jge 0x1001660a
mov dword [ebp - 0xc0], 1
jmp 0x10016611
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xc0], eax
je 0x10016628
mov dword [ebp - 0x12c], 1
jmp 0x1001662f
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x12c], eax
jl 0x10016646
mov dword [ebp - 0xc8], 1
jmp 0x1001664d
and dword [ebp - 0xc8], 0
push 1
lea ecx, [ebp - 0x16c]
call fcn.1001779a
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc8]
jne 0x10016670
mov dword [ebp - 0x108], 1
jmp 0x10016677
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x18], 0
jmp 0x10016693
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff6
jge 0x100166ba
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
push 1
call fcn.10015950
pop ecx
jmp 0x1001668c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ec]
call fcn.10017795
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.10017795
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10017795
mov eax, dword [0x10cc2c14]
and eax, 1
jne 0x1001671e
mov eax, dword [0x10cc2c14]
or eax, 1
mov dword [0x10cc2c14], eax
mov dword [ebp - 4], 3
mov ecx, 0x10cc2b90
call fcn.10017a04
push 0x1008591e
call fcn.1006bde6
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0xcea5d6c0
mov dword [ebp - 0x238], 5
mov dword [ebp - 0x24], 0
jmp 0x1001673f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x19
jne 0x10016a4e
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x170], 0xfffffffd
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x68], 0
jmp 0x10016774
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1001678a
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x154], 0xfffffff8
jmp 0x1001676d
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x154], 0xfffffff5
jmp 0x100167b8
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x154]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x154], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x154], 0x1a
je 0x10016a49
push 1
lea ecx, [ebp - 0x148]
call fcn.1001770e
mov dword [ebp - 4], 4
lea eax, [ebp - 0x148]
push eax
push 0x3c91
push 1
lea eax, [ebp - 0x200]
push eax
push 0x7478
call fcn.10015989
add esp, 0x14
push 0
lea ecx, [ebp - 0x148]
call fcn.1001779a
mov dword [eax], 1
jmp 0x1001683b
push 0
lea ecx, [ebp - 0x148]
call fcn.1001779a
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x13c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x148]
call fcn.1001779a
cmp dword [eax], 0xfffffffe
jle 0x10016a35
push 4
lea ecx, [ebp - 0x1e0]
call fcn.1001770e
mov byte [ebp - 4], 5
mov dword [ebp - 0xe0], 5
mov dword [ebp - 0x17c], 4
mov dword [ebp - 0x44], 0
jmp 0x10016886
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x100168a2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1e0]
call fcn.1001779a
mov dword [eax], 0x530a9bca
jmp 0x1001687f
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x154], 0
jne 0x100168d9
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x154]
push 0
lea ecx, [ebp - 0x148]
call fcn.1001779a
cmp esi, dword [eax]
jg 0x100168d9
and dword [ebp - 0xd8], 0
jmp 0x100168e3
mov dword [ebp - 0xd8], 1
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x154], 0
je 0x10016910
push 3
lea ecx, [ebp - 0x1e0]
call fcn.1001779a
cmp dword [eax], 0
je 0x10016910
mov dword [ebp - 0x1c8], 1
jmp 0x10016917
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0xd8], 3
je 0x10016935
mov dword [ebp - 0x110], 1
jmp 0x1001693c
and dword [ebp - 0x110], 0
push 0
lea ecx, [ebp - 0x148]
call fcn.1001779a
mov eax, dword [eax]
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xe0], eax
jle 0x10016974
mov eax, 0xb42be197
test eax, eax
jne 0x10016974
and dword [ebp - 0x118], 0
jmp 0x1001697e
mov dword [ebp - 0x118], 1
push 0
lea ecx, [ebp - 0x148]
call fcn.1001779a
mov ecx, dword [ebp - 0x118]
sub ecx, dword [eax]
je 0x100169b3
push 3
lea ecx, [ebp - 0x1e0]
call fcn.1001779a
cmp dword [eax], 0
je 0x100169b3
mov dword [ebp - 0xe8], 1
jmp 0x100169ba
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x21046671
jl 0x100169d2
mov dword [ebp - 0x90], 1
jmp 0x100169d9
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x30], 0
jmp 0x100169fb
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jg 0x10016a21
cmp dword [ebp - 0x24], 0
je 0x10016a09
jmp 0x10016a21
push 0
push 0x744b
lea eax, [ebp - 0x17c]
push eax
call fcn.10016049
add esp, 0xc
jmp 0x100169f4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e0]
call fcn.10017795
jmp 0x10016817
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.10017795
jmp 0x1001679d
jmp 0x10016738
push 1
push 0x4489
push 0x2537
call fcn.10015a33
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.10011626
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 6
jae 0x10016ae8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x210]
push eax
mov ecx, 0x10cc2b90
call fcn.10017874
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x10cc2b90
call fcn.10017882
mov ecx, eax
call fcn.10017897
movzx eax, al
test eax, eax
je 0x10016ae8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x184]
push eax
mov ecx, 0x10cc2b90
call fcn.10017a58
push eax
mov ecx, dword [ebp + 8]
call fcn.100174c3
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
jmp 0x10017310
push 1
push 0x6215
push 0x6ea3
push 0x3e5e
call fcn.10015aa4
add esp, 0x10
lea ecx, [ebp - 0x264]
call fcn.100174eb
mov dword [ebp - 4], 6
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1d4], 0xcbd6cd53
mov dword [ebp - 0x3c], 0
jmp 0x10016b34
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x10016b4a
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1b4], 0xfffffffb
jmp 0x10016b2d
mov dword [ebp - 0x14], 3
jmp 0x10016b5a
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10016dc6
push 2
lea ecx, [ebp - 0x88]
call fcn.1001770e
mov byte [ebp - 4], 7
mov dword [ebp - 0x7c], 0xf2fdad5
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x1fc]
push eax
call fcn.10015d90
add esp, 0xc
push 1
lea ecx, [ebp - 0x88]
call fcn.1001779a
and dword [eax], 0
jmp 0x10016bca
push 1
lea ecx, [ebp - 0x88]
call fcn.1001779a
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x94]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x88]
call fcn.1001779a
cmp dword [eax], 3
jg 0x10016c18
mov dword [ebp - 0x1bc], 0x52eaa29c
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x7c]
push eax
push 1
call fcn.10015e5c
add esp, 0xc
push 1
lea ecx, [ebp - 0x88]
call fcn.1001779a
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1b4], 0
je 0x10016c16
jmp 0x10016ba6
jmp 0x10016ba6
push 0
lea ecx, [ebp - 0x88]
call fcn.1001779a
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x1b4]
cmp dword [eax], ecx
jge 0x10016c41
mov dword [ebp - 0x9c], 1
jmp 0x10016c48
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x14], 0x1516
jl 0x10016c5d
mov dword [ebp - 0xa4], 1
jmp 0x10016c64
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa4]
jl 0x10016c7e
mov dword [ebp - 0xac], 1
jmp 0x10016c85
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
add eax, 0xc554
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + ecx*4 - 0x1b4]
jge 0x10016ca8
mov dword [ebp - 0xb4], 1
jmp 0x10016caf
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
add eax, 0x982b
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1b4]
cmp eax, dword [ebp - 0x7c]
je 0x10016cd8
mov dword [ebp - 0xbc], 1
jmp 0x10016cdf
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1b4]
cmp dword [ebp - 0xbc], eax
je 0x10016cfd
mov dword [ebp - 0xc4], 1
jmp 0x10016d04
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0xfffffffc
jl 0x10016d19
mov dword [ebp - 0xcc], 1
jmp 0x10016d20
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 1
jb 0x10016d35
mov dword [ebp - 0x190], 1
jmp 0x10016d3c
and dword [ebp - 0x190], 0
push 1
lea ecx, [ebp - 0x88]
call fcn.1001779a
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x1b4]
sub eax, 0x277003ab
mov ecx, dword [ebp - 0x14]
sub eax, dword [ebp + ecx*4 - 0x1b4]
cmp eax, 0x611ca4b3
jl 0x10016d75
mov dword [ebp - 0x8c], 1
jmp 0x10016d7c
and dword [ebp - 0x8c], 0
push 1
lea ecx, [ebp - 0x88]
call fcn.1001779a
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jne 0x10016d9f
mov dword [ebp - 0xdc], 1
jmp 0x10016da6
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.10017795
jmp 0x10016b53
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10016de8
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [ebp - 0x6c]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10017190
mov dword [ebp - 0x240], 1
push 2
lea ecx, [ebp - 0x1f8]
call fcn.1001770e
mov byte [ebp - 4], 8
push 1
push 0x2ba7
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x2017
call fcn.10015ec7
add esp, 0x14
mov dword [ebp - 0x38], 0
jmp 0x10016e44
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10016e5a
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x18c], 0xe9d60a22
jmp 0x10016e3d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x18c], eax
push 4
pop eax
shl eax, 0
mov esi, dword [ebp + eax - 0x18c]
push 1
lea ecx, [ebp - 0x1f8]
call fcn.1001779a
mov dword [eax], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1f8]
call fcn.10017795
lea eax, [ebp - 0x288]
push eax
call fcn.100090d4
pop ecx
mov esi, eax
lea edi, [ebp - 0x270]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x270]
lea edi, [ebp - 0x27c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 3
lea ecx, [ebp - 0x124]
call fcn.1001770e
mov byte [ebp - 4], 9
mov dword [ebp - 0x54], 0x47adf1ad
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x4c], 0
jmp 0x10016ef9
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10016f15
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x124]
call fcn.1001779a
mov dword [eax], 0xb110c93b
jmp 0x10016ef2
push 2
lea ecx, [ebp - 0x124]
call fcn.1001779a
mov dword [eax], 8
jmp 0x10016f4e
push 2
lea ecx, [ebp - 0x124]
call fcn.1001779a
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xe4]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x124]
call fcn.1001779a
cmp dword [eax], 0
jg 0x10017112
mov dword [ebp - 0x1c], 0x17633efc
mov dword [ebp - 0x1c], 0
jmp 0x10016f7b
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff9
jle 0x1001710d
mov dword [ebp - 0x70], 0x886255d5
mov dword [ebp - 0x1c4], 1
mov dword [ebp - 0x64], 0
jmp 0x10016fa6
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x10016fb9
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x5c], 9
jmp 0x10016f9f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0x5eb63139
je 0x10016fd5
mov dword [ebp - 0xec], 1
jmp 0x10016fdc
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x204], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x1c], 0
jne 0x1001701c
cmp dword [ebp - 0x54], 0
jne 0x1001701c
and dword [ebp - 0x198], 0
jmp 0x10017026
mov dword [ebp - 0x198], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
jne 0x10017054
cmp dword [ebp - 0x1c], 0
jne 0x10017054
and dword [ebp - 0xf4], 0
jmp 0x1001705e
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x70], eax
mov esi, dword [ebp - 0x70]
push 0
lea ecx, [ebp - 0x124]
call fcn.1001779a
cmp esi, dword [eax]
jg 0x10017087
mov dword [ebp - 0xfc], 1
jmp 0x1001708e
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x104]
jg 0x100170ab
mov dword [ebp - 0x10c], 1
jmp 0x100170b2
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 6
jg 0x100170c7
mov dword [ebp - 0x114], 1
jmp 0x100170ce
and dword [ebp - 0x114], 0
push 2
lea ecx, [ebp - 0x124]
call fcn.1001779a
mov ecx, dword [ebp - 0x114]
imul ecx, dword [eax]
test ecx, ecx
jne 0x100170f3
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 0
push 2
lea ecx, [ebp - 0x124]
call fcn.1001779a
mov eax, dword [eax]
mov dword [ebp - 0x1c4], eax
jmp 0x10016f74
jmp 0x10016f2a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x124]
call fcn.10017795
mov ecx, dword [ebp + 0xc]
call fcn.100116b6
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x1a0]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x2a0]
push eax
call fcn.10014195
add esp, 0x10
mov dword [ebp - 0x1d0], eax
push dword [ebp - 0x1d0]
lea ecx, [ebp - 0x264]
call fcn.10017523
lea ecx, [ebp - 0x2a0]
call fcn.10017548
cmp dword [ebp - 0x6c], 6
jae 0x10017190
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x264]
push eax
push 0x10cc2b90
push 1
call fcn.10015f6e
add esp, 0x10
mov dword [ebp - 0x40], 5
push 2
lea ecx, [ebp - 0x230]
call fcn.1001770e
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x174], 1
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x230]
push eax
push 1
call fcn.10015fe2
add esp, 0xc
mov dword [ebp - 0x40], 0x14
jmp 0x100171da
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x1d
jl 0x100172bd
mov dword [ebp - 0x50], 0x4fddd3f4
mov dword [ebp - 0x48], 0
jmp 0x100171fb
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10017211
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x23c], 0xc9fb37b0
jmp 0x100171f4
mov dword [ebp - 0x50], 1
jmp 0x10017221
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1001729f
mov dword [ebp - 0x58], 1
push 1
lea eax, [ebp - 0x174]
push eax
push 0x4006
call fcn.10016049
add esp, 0xc
mov dword [ebp - 0x58], 0
jmp 0x10017254
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jg 0x1001729a
mov dword [ebp - 0x178], 0xc3d4e703
push 0x15f8
lea eax, [ebp - 0x178]
push eax
push 0xcdf
push 0x668b
push 0x4adb
push 1
push 0x5677
push 0x4718
push 0x5bbc
call fcn.1001608b
add esp, 0x24
jmp 0x1001724d
jmp 0x1001721a
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100172b8
push 0
push 0xc56
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x100171d3
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x100172d7
push 1
push 0xff5
call fcn.10016212
pop ecx
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.10017795
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp + 8]
call fcn.100174fe
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10017548
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret