Function at 0x1004ebc4
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072957
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push esi
push edi
push 4
lea ecx, [ebp - 0x174]
call fcn.1001a500
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0xa0]
call fcn.1001a500
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], 0x5cefd06
mov dword [ebp - 0x10], 0
jmp 0x1004ec1d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1004ec39
push dword [ebp - 0x10]
lea ecx, [ebp - 0x174]
call fcn.1001a61e
mov dword [eax], 0xfffffffe
jmp 0x1004ec16
mov dword [ebp - 0x10], 0
jmp 0x1004ec49
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004ec65
push dword [ebp - 0x10]
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
mov dword [eax], 0x2ba39464
jmp 0x1004ec42
mov dword [ebp - 0x188], 0x2107
cmp dword [ebp - 0x188], 0x10bf
jge 0x1004ee88
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x10008510
call fcn.1005803b
add esp, 0x18
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x20c]
call fcn.1001a500
mov byte [ebp - 4], 2
and dword [ebp - 0x88], 0
jmp 0x1004ecce
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x6c]
jge 0x1004ecf9
push dword [ebp - 0x88]
lea ecx, [ebp - 0x20c]
call fcn.1001a61e
push eax
push 0x10008090
call fcn.1005803b
pop ecx
pop ecx
jmp 0x1004ecc1
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1a8]
call fcn.1001a500
mov byte [ebp - 4], 3
and dword [ebp - 0x7c], 0
jmp 0x1004ed18
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x50]
jge 0x1004ed3d
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x1a8]
call fcn.1001a61e
push eax
push 0x10008090
call fcn.1005803b
pop ecx
pop ecx
jmp 0x1004ed11
and dword [ebp - 0x1c], 0
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x6c]
jge 0x1004ed55
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x50]
jl 0x1004ed59
or dword [ebp - 0x24], 0xffffffff
and dword [ebp - 0x3c], 0
jmp 0x1004ed66
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x6c]
jge 0x1004ee5b
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x78]
jg 0x1004ee5b
cmp dword [ebp - 0x24], 0
jl 0x1004ee5b
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x20c]
call fcn.1001a61e
mov eax, dword [eax]
add eax, dword [ebp - 0x178]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, dword [ebp - 0x50]
jge 0x1004edda
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.1001a61e
mov eax, dword [eax]
cmp eax, dword [ebp - 0xdc]
jge 0x1004edda
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x1004edb0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.1001a61e
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jg 0x1004ee50
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x50]
jge 0x1004ee50
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.1001a61e
mov eax, dword [eax]
add eax, dword [ebp - 0x190]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x164]
jle 0x1004ee39
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x15c], eax
jmp 0x1004ee45
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x24], eax
jmp 0x1004ee56
or dword [ebp - 0x24], 0xffffffff
jmp 0x1004ee5b
jmp 0x1004ed5f
push dword [ebp - 0x24]
push 0x100080b4
call fcn.1005889b
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
call fcn.1001a5b7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20c]
call fcn.1001a5b7
mov dword [ebp - 0x10], 0
jmp 0x1004ee98
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004eeae
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x280], 7
jmp 0x1004ee91
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
mov dword [eax], 3
jmp 0x1004eee7
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
cmp dword [eax], 0
jl 0x1004f2bc
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x90], 0xf6cbcb1a
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x18], 0
jmp 0x1004ef28
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x1004f154
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jle 0x1004ef46
mov dword [ebp - 0x110], 1
jmp 0x1004ef4d
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x110]
jge 0x1004ef64
mov dword [ebp - 0xb8], 1
jmp 0x1004ef6b
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xdfe0
jle 0x1004ef83
mov dword [ebp - 0x140], 1
jmp 0x1004ef8a
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xe008fb0b
jae 0x1004efa2
mov dword [ebp - 0xc0], 1
jmp 0x1004efa9
and dword [ebp - 0xc0], 0
mov esi, dword [ebp - 0xc0]
dec esi
push 0
lea ecx, [ebp - 0x174]
call fcn.1001a61e
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
push dword [eax]
lea ecx, [ebp - 0x174]
call fcn.1001a61e
cmp esi, dword [eax]
je 0x1004efe9
mov dword [ebp - 0x118], 1
jmp 0x1004eff0
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x118], eax
jl 0x1004f007
mov dword [ebp - 0xc8], 1
jmp 0x1004f00e
and dword [ebp - 0xc8], 0
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
push dword [eax]
lea ecx, [ebp - 0x174]
call fcn.1001a61e
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc8]
jle 0x1004f03e
mov dword [ebp - 0x158], 1
jmp 0x1004f045
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x54], 0
jmp 0x1004f061
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jg 0x1004f14f
mov dword [ebp - 0x8c], 0x7f59ec13
mov dword [ebp - 0x184], 0xa34071e9
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
cmp dword [eax], 0x8461
jg 0x1004f0a6
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
jmp 0x1004f140
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x180], 0x7656540f
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x280]
mov dword [ebp - 0x24c], eax
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
mov ecx, dword [ebp - 0x198]
cmp dword [eax], ecx
jle 0x1004f0f0
mov dword [ebp - 0xd0], 1
jmp 0x1004f0f7
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0xd0], eax
jge 0x1004f111
mov dword [ebp - 0x120], 1
jmp 0x1004f118
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 5
jne 0x1004f12d
mov dword [ebp - 0xd8], 1
jmp 0x1004f134
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x184], 0x23cb8e00
jmp 0x1004f05a
jmp 0x1004ef21
push 0
lea ecx, [ebp - 0xa0]
call fcn.1001a61e
push dword [eax]
lea ecx, [ebp - 0x174]
call fcn.1001a61e
cmp dword [eax], 0
je 0x1004f199
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004f194
push 0xa96
push 0x1d50
push 0xbb0
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x1004f2b7
push 4
lea ecx, [ebp - 0x1c0]
call fcn.1001a500
mov byte [ebp - 4], 4
mov dword [ebp - 0x74], 0
jmp 0x1004f1ba
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x1004f1d6
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1c0]
call fcn.1001a61e
mov dword [eax], 1
jmp 0x1004f1b3
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1004f1ef
push 0
push 0x827
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0
lea ecx, [ebp - 0x1c0]
call fcn.1001a61e
cmp dword [eax], 0xeb256cd2
jb 0x1004f210
mov dword [ebp - 0x148], 1
jmp 0x1004f217
and dword [ebp - 0x148], 0
push 3
lea ecx, [ebp - 0x1c0]
call fcn.1001a61e
mov eax, dword [eax]
cmp eax, dword [ebp - 0x148]
jg 0x1004f23a
mov dword [ebp - 0xe0], 1
jmp 0x1004f241
and dword [ebp - 0xe0], 0
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xe0], eax
jle 0x1004f265
mov dword [ebp - 0x128], 1
jmp 0x1004f26c
and dword [ebp - 0x128], 0
push 0
lea ecx, [ebp - 0x1c0]
call fcn.1001a61e
mov ecx, dword [ebp - 0x128]
add ecx, dword [eax]
je 0x1004f298
cmp dword [ebp - 0x1b0], 0
je 0x1004f298
mov dword [ebp - 0xe8], 1
jmp 0x1004f29f
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c0]
call fcn.1001a5b7
jmp 0x1004eec3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.1001a5b7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.1001a5b7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
push 2
lea ecx, [ebp - 0x1d8]
call fcn.1001a500
mov dword [ebp - 4], 5
mov dword [ebp - 0x214], 0xd7953644
mov dword [ebp - 0x218], 0x25cbd945
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 2
mov dword [ebp - 0x240], 0x378f1e0c
mov dword [ebp - 0x248], 0xab9737e0
mov dword [ebp - 0x250], 0xffffffff
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x26c], 0xfffffffc
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x210], 0xfffffffa
mov dword [ebp - 0xf0], 0xfff6
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x64], 0
jmp 0x1004f39a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1004f3b6
push dword [ebp - 0x64]
lea ecx, [ebp - 0x1d8]
call fcn.1001a61e
mov dword [eax], 1
jmp 0x1004f393
push 1
lea ecx, [ebp - 0x1d8]
call fcn.1001a61e
mov dword [eax], 5
jmp 0x1004f3ef
push 1
lea ecx, [ebp - 0x1d8]
call fcn.1001a61e
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x160]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x1d8]
call fcn.1001a61e
cmp dword [eax], 0xffffffe4
jge 0x1004f4b6
mov dword [ebp - 0x224], 0x6ec79cf1
mov dword [ebp - 0x274], 5
mov dword [ebp - 0x22c], 6
mov dword [ebp - 0x254], 0x5aa96141
mov dword [ebp - 0x234], 0x1d91e66
mov dword [ebp - 0x268], 0xbfb3a4df
mov dword [ebp - 0x23c], 0xa3cc92ea
push 1
lea ecx, [ebp - 0x260]
call fcn.1001a500
mov byte [ebp - 4], 6
mov dword [ebp - 0x80], 0
jmp 0x1004f46c
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1004f488
push dword [ebp - 0x80]
lea ecx, [ebp - 0x260]
call fcn.1001a61e
mov dword [eax], 0x62395e2d
jmp 0x1004f465
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x130]
dec eax
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x260]
call fcn.1001a5b7
jmp 0x1004f3cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d8]
call fcn.1001a5b7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x34], 0x17c10977
mov dword [ebp - 0x14], 0x799040c3
mov dword [ebp - 0x40], 0x7e80a7c6
mov dword [ebp - 0x84], 0
jmp 0x1004f4fc
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x1004f515
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x60], 0xda439beb
jmp 0x1004f4ef
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x60], 0
jne 0x1004f52e
mov dword [ebp - 0xf8], 1
jmp 0x1004f535
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
je 0x1004f54b
mov eax, 0x7fe6
test eax, eax
jne 0x1004f569
mov dword [ebp - 0x34], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x34], eax
jg 0x1004f569
and dword [ebp - 0x150], 0
jmp 0x1004f573
mov dword [ebp - 0x150], 1
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x150]
jge 0x1004f58d
mov dword [ebp - 0x100], 1
jmp 0x1004f594
and dword [ebp - 0x100], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x100]
sub ecx, dword [ebp + eax - 0x60]
jne 0x1004f5bb
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
jne 0x1004f5bb
and dword [ebp - 0x138], 0
jmp 0x1004f5c5
mov dword [ebp - 0x138], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp eax, dword [ebp - 0x138]
jg 0x1004f75b
push 2
lea ecx, [ebp - 0x1e8]
call fcn.1001a500
mov dword [ebp - 4], 7
mov dword [ebp - 0x108], 0xffffffff
mov dword [ebp - 0x68], 0
jmp 0x1004f609
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1004f625
push dword [ebp - 0x68]
lea ecx, [ebp - 0x1e8]
call fcn.1001a61e
mov dword [eax], 0xf4f23013
jmp 0x1004f602
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004f639
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x264], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x1004f676
mov eax, 0x4d99
test eax, eax
je 0x1004f676
mov dword [ebp - 0xa8], 1
jmp 0x1004f67d
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xfffffffa
je 0x1004f692
mov dword [ebp - 0xac], 1
jmp 0x1004f699
and dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0x1e8]
call fcn.1001a61e
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax]
je 0x1004f6bc
mov dword [ebp - 0xb4], 1
jmp 0x1004f6c3
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0x1e8]
call fcn.1001a61e
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [eax]
jl 0x1004f6e6
mov dword [ebp - 0xbc], 1
jmp 0x1004f6ed
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0xbc], eax
je 0x1004f70b
mov dword [ebp - 0xc4], 1
jmp 0x1004f712
and dword [ebp - 0xc4], 0
push 1
lea ecx, [ebp - 0x1e8]
call fcn.1001a61e
mov eax, dword [eax]
neg eax
cmp eax, dword [ebp - 0xc4]
jge 0x1004f737
mov dword [ebp - 0xcc], 1
jmp 0x1004f73e
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.1001a5b7
jmp 0x1004fa40
mov dword [ebp - 0x4c], 0xbd2f23d3
mov dword [ebp - 0x18c], 0x1ccf
cmp dword [ebp - 0x18c], 0xb6d
jge 0x1004f936
call fcn.10058175
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x100080d4
push 0x100080d8
call fcn.10059124
add esp, 0xc
call fcn.10058175
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x100080e0
push 0x100080e4
call fcn.10059124
add esp, 0xc
push 0x10008524
lea ecx, [ebp - 0x298]
call fcn.10019b3d
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x200]
call fcn.10019b2c
mov byte [ebp - 4], 9
and dword [ebp - 0x44], 0
jmp 0x1004f7ef
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1a
jge 0x1004f811
push dword [ebp - 0x44]
lea ecx, [ebp - 0x298]
call fcn.10019c28
mov ecx, dword [ebp - 0x44]
mov al, byte [eax]
mov byte [ebp + ecx - 0x2b4], al
jmp 0x1004f7e8
xor eax, eax
inc eax
je 0x1004f918
lea edx, [ebp - 0x200]
mov ecx, 0x106646f0
call fcn.1001eb79
mov edx, 0x10008540
lea ecx, [ebp - 0x200]
call fcn.10052057
movzx eax, al
test eax, eax
je 0x1004f843
jmp 0x1004f811
mov edx, 0x10008548
lea ecx, [ebp - 0x200]
call fcn.10052057
movzx eax, al
test eax, eax
je 0x1004f86b
push fcn.1001eba0
mov ecx, 0x10664638
call fcn.1001a096
jmp 0x1004f811
mov edx, 0x1000854c
lea ecx, [ebp - 0x200]
call fcn.10052057
movzx eax, al
test eax, eax
je 0x1004f887
jmp 0x1004f918
and dword [ebp - 0x2c], 0
jmp 0x1004f894
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x200]
call fcn.10019c47
cmp dword [ebp - 0x2c], eax
jae 0x1004f913
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x200]
call fcn.10019c28
movsx eax, byte [eax]
cmp eax, 0x41
jl 0x1004f8f4
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x200]
call fcn.10019c28
movsx eax, byte [eax]
cmp eax, 0x5a
jg 0x1004f8f4
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x200]
call fcn.10019c28
movsx eax, byte [eax]
mov dl, byte [ebp + eax - 0x2f5]
mov ecx, 0x10664638
call fcn.1004cab9
jmp 0x1004f90e
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x200]
call fcn.10019c28
mov dl, byte [eax]
mov ecx, 0x10664638
call fcn.1004cab9
jmp 0x1004f88d
jmp 0x1004f811
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x200]
call fcn.10019b6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x298]
call fcn.10019b6c
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1004f94f
push 0
push 0x92
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp - 0x4c], 1
jle 0x1004f961
mov dword [ebp - 0xd4], 1
jmp 0x1004f968
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0xd4]
test eax, eax
je 0x1004f987
or eax, 0xffffffff
je 0x1004f987
mov dword [ebp - 0xa4], 1
jmp 0x1004f98e
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
jl 0x1004f9a9
cmp dword [ebp - 0x4c], 0
je 0x1004f9a9
mov dword [ebp - 0xe4], 1
jmp 0x1004f9b0
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
sub eax, 0x56a759f3
cmp eax, 0xffff9775
jg 0x1004f9ce
mov dword [ebp - 0x1b4], 1
jmp 0x1004f9d5
and dword [ebp - 0x1b4], 0
mov eax, 0x634d71b3
sub eax, dword [ebp - 0x4c]
test eax, eax
jg 0x1004f9ed
mov dword [ebp - 0xec], 1
jmp 0x1004f9f4
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xec], eax
jne 0x1004fa0b
mov dword [ebp - 0xf4], 1
jmp 0x1004fa12
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xf4]
jge 0x1004fa29
mov dword [ebp - 0xfc], 1
jmp 0x1004fa30
and dword [ebp - 0xfc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax - 0x60], ecx
mov dword [ebp - 0x34], 0
jmp 0x1004fa50
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffff9
jge 0x1004fd1a
push 1
lea ecx, [ebp - 0x1cc]
call fcn.1001a500
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x1ac], 0xd3f58f29
mov dword [ebp - 0x70], 0
jmp 0x1004fa88
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1004faa4
push dword [ebp - 0x70]
lea ecx, [ebp - 0x1cc]
call fcn.1001a61e
mov dword [eax], 0x820eaada
jmp 0x1004fa81
mov dword [ebp - 0x40], 0
jmp 0x1004fab4
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffffb
jne 0x1004fd06
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x14], 2
jmp 0x1004fad8
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004fd01
mov dword [ebp - 0x1dc], 0xfffffffa
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004fb0d
push 0x1c43
push 0x2580
push 0x1d1b
call dword [sym.imp.USER32.dll_EnableScrollBar]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + eax*4 - 0x60]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + eax*4 - 0x60]
push 0
lea ecx, [ebp - 0x1cc]
call fcn.1001a61e
sub edi, dword [eax]
add esi, edi
jne 0x1004fb3a
mov dword [ebp - 0x144], 1
jmp 0x1004fb41
and dword [ebp - 0x144], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x194]
cmp dword [ebp + eax - 0x60], ecx
jg 0x1004fb5f
mov dword [ebp - 0x104], 1
jmp 0x1004fb66
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x104], eax
jg 0x1004fb80
mov dword [ebp - 0x10c], 1
jmp 0x1004fb87
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xfffffffb
jle 0x1004fb9c
mov dword [ebp - 0x19c], 1
jmp 0x1004fba3
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x244], eax
mov eax, 0x8e44
cmp eax, 4
jne 0x1004fbc2
mov dword [ebp - 0x114], 1
jmp 0x1004fbc9
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0x26b1
je 0x1004fbe1
mov dword [ebp - 0x11c], 1
jmp 0x1004fbe8
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x11c]
jg 0x1004fbff
mov dword [ebp - 0x124], 1
jmp 0x1004fc06
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x60]
cmp dword [ebp - 0x124], eax
jg 0x1004fc21
mov dword [ebp - 0x12c], 1
jmp 0x1004fc28
and dword [ebp - 0x12c], 0
push 0
lea ecx, [ebp - 0x1cc]
call fcn.1001a61e
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [eax]
jne 0x1004fc4b
mov dword [ebp - 0x134], 1
jmp 0x1004fc52
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x60]
cmp dword [ebp - 0x134], eax
jle 0x1004fc6d
mov dword [ebp - 0x13c], 1
jmp 0x1004fc74
and dword [ebp - 0x13c], 0
push 0
lea ecx, [ebp - 0x1cc]
call fcn.1001a61e
mov ecx, dword [ebp - 0x13c]
cmp ecx, dword [eax]
jne 0x1004fc97
mov dword [ebp - 0x14c], 1
jmp 0x1004fc9e
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x14c]
jge 0x1004fcb8
mov dword [ebp - 0x94], 1
jmp 0x1004fcbf
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x60], ecx
imul eax, dword [ebp - 0x94], 0xc01c
cmp eax, 0x6e03
jl 0x1004fce9
mov dword [ebp - 0x154], 1
jmp 0x1004fcf0
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1ac], eax
jmp 0x1004fad1
jmp 0x1004faad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.1001a5b7
jmp 0x1004fa49
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
jmp 0x1004fd30
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 1
jge 0x1004fd50
mov eax, dword [ebp - 0x48]
push dword [eax]
mov ecx, dword [ebp - 0x17c]
call fcn.1001a61e
mov dword [eax], 0x2ba39464
jmp 0x1004fd25
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret