Function at 0x10049a14
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008da66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push esi
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1004ac95
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x1dc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
movzx eax, byte [eax]
test eax, eax
je 0x10049a96
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov byte [eax], 1
jmp 0x1004ac90
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x12c], 0xfff6
mov dword [ebp - 0x1f0], 0xfffffffd
mov dword [ebp - 0x14c], 8
mov dword [ebp - 0x1b4], 0x5cf1c946
mov dword [ebp - 0x2bc], 0x4ab6
push 0x77d9
lea eax, [ebp - 0x1f0]
push eax
push 0x7971
push 0
push 0x33d9
push 1
push 0x7df3
push 0x4739
push 0x34c3
lea eax, [ebp - 0x12c]
push eax
push 0x4d9
call fcn.1002bd88
add esp, 0x2c
push 0x6b50
lea eax, [ebp - 0x12c]
push eax
push 0
push 0x71e5
push 1
push 0x3383
push 0x55e5
lea eax, [ebp - 0x14c]
push eax
push 0x2cbb
lea eax, [ebp - 0x1b4]
push eax
call fcn.10048f4f
add esp, 0x28
push 1
lea ecx, [ebp - 0x290]
call fcn.10022b61
and dword [ebp - 4], 0
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x2d8], 0x6e871d97
mov dword [ebp - 0x154], 0xfe1ca29
lea eax, [ebp - 0x27c]
push eax
push 0x17e2
lea eax, [ebp - 0x290]
push eax
push 0x495c
push 0
push 0x7eb
push 0
call fcn.1002bac7
add esp, 0x1c
push 1
push 0x204d
push 0
lea eax, [ebp - 0x154]
push eax
push 0x460
push 1
push 0x31fa
call fcn.10029a06
add esp, 0x1c
mov dword [ebp - 0x54], 0
jmp 0x10049be0
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jg 0x10049c0a
push 0
push 0x13f4
push 1
push 0x7a43
push 0x5d01
push 0
push 0x6d6b
call fcn.10029a06
add esp, 0x1c
jmp 0x10049bd9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x290]
call fcn.10022be3
lea eax, [ebp - 0xb0]
push eax
push 1
push 0
push 0x7047
push 0x27ef
call fcn.10026d9a
add esp, 0x14
cmp dword [ebp - 0xb0], 0
je 0x1004aac2
push 0x640b
push 0x7064
push 1
push 0x42c
push 0xf2f
push 0
push 0x1c01
push 0x10a0
push 0x955
call fcn.1002c983
add esp, 0x24
push dword [ebp - 0x200]
lea ecx, [ebp - 0x260]
call fcn.1002295c
mov dword [ebp - 4], 1
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x164], 0x263d
mov dword [ebp - 0x1c0], 0xfffffffc
push 0x7ec7
push 0x3f05
push 0
push 0x6c6c
push 0x613b
push 0x3995
push 0
call fcn.100302ad
add esp, 0x1c
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x1c0]
push eax
push 0
lea eax, [ebp - 0x164]
push eax
push 0xd82
push 0x51ff
push 1
call fcn.1002cce6
add esp, 0x1c
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x260]
call fcn.10023403
push dword [eax]
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x260]
call fcn.10023417
push dword [eax]
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x260]
call fcn.10023403
push dword [eax]
mov edx, 0x1002662b
lea ecx, [ebp - 0x2d0]
call fcn.1004b89e
add esp, 0xc
push 3
lea ecx, [ebp - 0x220]
call fcn.10022b61
mov byte [ebp - 4], 2
mov dword [ebp - 0x2a4], 1
mov dword [ebp - 0x2c0], 3
mov dword [ebp - 0x128], 0x2e5a
mov dword [ebp - 0x1fc], 0x1000bd58
cmp dword [ebp - 0x128], 0x30ac
jle 0x10049e22
and dword [ebp - 0x34], 0
jmp 0x10049d9d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6e38
jge 0x10049e22
and dword [ebp - 0x64], 0
jmp 0x10049db3
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x2bed
jge 0x10049e1d
and dword [ebp - 0x3c], 0
jmp 0x10049dc9
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x6fd
jge 0x10049e1b
and dword [ebp - 0x7c], 0
jmp 0x10049ddf
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x7e70
jge 0x10049e19
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x7c]
cdq
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x10049dd8
jmp 0x10049dc2
jmp 0x10049dac
jmp 0x10049d96
cmp dword [ebp - 0x128], 0x2db1
jge 0x10049e3e
mov edx, dword [ebp - 0x1fc]
mov ecx, 0x10092b78
call fcn.10025597
push 0
push 1
push 0x7b3f
push 0x47ea
push 0x1367
lea eax, [ebp - 0x18]
push eax
push 0x2e1e
lea eax, [ebp - 0x220]
push eax
call fcn.10026f96
add esp, 0x20
mov dword [ebp - 0xa8], 0x66c2
mov dword [ebp - 0x16c], 0x1000bdb4
cmp dword [ebp - 0xa8], 0x67b7
jle 0x10049f00
and dword [ebp - 0x44], 0
jmp 0x10049e96
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x5ed9
jge 0x10049f00
and dword [ebp - 0x6c], 0
jmp 0x10049eac
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x2da1
jge 0x10049efe
and dword [ebp - 0x4c], 0
jmp 0x10049ec2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x3011
jge 0x10049efc
mov eax, dword [ebp - 0x44]
cdq
idiv dword [ebp - 0x6c]
xor edx, dword [ebp - 0x4c]
mov eax, edx
cdq
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x10049ebb
jmp 0x10049ea5
jmp 0x10049e8f
cmp dword [ebp - 0xa8], 0x642b
jge 0x10049f1c
mov edx, dword [ebp - 0x16c]
mov ecx, 0x10092b78
call fcn.10025597
mov dword [ebp - 0x18], 0
jmp 0x10049f2c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10049f42
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2fc], 0xb023ed15
jmp 0x10049f25
mov dword [ebp - 0x18], 0
jmp 0x10049f52
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10049f68
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2e8], 0xffff
jmp 0x10049f4b
push 0
lea ecx, [ebp - 0x220]
call fcn.10022bff
mov eax, dword [eax]
mov dword [ebp - 0x1cc], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2e8]
mov dword [ebp - 0x174], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2e8]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x2e8], eax
mov eax, dword [ebp - 0x1cc]
cmp eax, dword [ebp - 0x174]
je 0x10049fc2
mov dword [ebp - 0xf0], 1
jmp 0x10049fc9
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xf0]
mov dword [ebp + eax - 0x2fc], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.10022be3
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10], 0x1dfe
mov dword [ebp - 0x110], 0x1695
mov dword [ebp - 0x1f8], 0x1000bdec
cmp dword [ebp - 0x110], 0x1806
jle 0x1004a08b
and dword [ebp - 0x8c], 0
jmp 0x1004a039
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xc3
jge 0x1004a08b
and dword [ebp - 0x2c], 0
jmp 0x1004a052
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4fbe
jge 0x1004a089
mov eax, dword [ebp - 0x8c]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edx
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1004a04b
jmp 0x1004a02c
push 4
lea ecx, [ebp - 0xe8]
call fcn.10022b61
mov byte [ebp - 4], 3
cmp dword [ebp - 0x110], 0x1423
jge 0x1004a0b8
mov edx, dword [ebp - 0x1f8]
mov ecx, 0x10092b78
call fcn.10025597
push 4
lea ecx, [ebp - 0x1ec]
call fcn.10022b61
mov byte [ebp - 4], 4
mov dword [ebp - 0xb8], 0x63c4
mov dword [ebp - 0x17c], 0x1000be18
cmp dword [ebp - 0xb8], 0x63f8
jle 0x1004a145
and dword [ebp - 0x74], 0
jmp 0x1004a0f6
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x72a5
jge 0x1004a145
and dword [ebp - 0x5c], 0
jmp 0x1004a10c
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x794a
jge 0x1004a143
mov eax, dword [ebp - 0x74]
cdq
idiv dword [ebp - 0x5c]
mov eax, edx
cdq
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1004a105
jmp 0x1004a0ef
cmp dword [ebp - 0xb8], 0x61cf
jge 0x1004a161
mov edx, dword [ebp - 0x17c]
mov ecx, 0x10092b78
call fcn.10025597
push 0x7cae
lea eax, [ebp - 0x24]
push eax
push 0x41ca
lea eax, [ebp - 0xe8]
push eax
push 0
push 0x577
call fcn.1002696d
add esp, 0x18
mov dword [ebp - 0x24], 0
jmp 0x1004a195
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x1004a1ae
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1ec]
call fcn.10022bff
or dword [eax], 0xffffffff
jmp 0x1004a18e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0x42e5
push 1
lea eax, [ebp - 0xe8]
push eax
call fcn.10027929
add esp, 0x18
mov dword [ebp - 0x10], 0
jmp 0x1004a1e1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1004a3cc
mov dword [ebp - 0x248], 0xe5156be8
mov dword [ebp - 0x244], 0xe5156be8
mov dword [ebp - 0x240], 0xe5156be8
mov dword [ebp - 0x23c], 0xe5156be8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1ec]
call fcn.10022bff
cmp dword [eax], 1
jle 0x1004a232
mov dword [ebp - 0xd0], 1
jmp 0x1004a239
and dword [ebp - 0xd0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.10022bff
mov eax, dword [eax]
sub eax, 0x83ad
cmp eax, 1
jl 0x1004a25f
mov dword [ebp - 0xf8], 1
jmp 0x1004a266
and dword [ebp - 0xf8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.10022bff
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jg 0x1004a28a
mov dword [ebp - 0xc0], 1
jmp 0x1004a291
and dword [ebp - 0xc0], 0
push 1
lea ecx, [ebp - 0x1ec]
call fcn.10022bff
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
je 0x1004a2b4
mov dword [ebp - 0x120], 1
jmp 0x1004a2bb
and dword [ebp - 0x120], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.10022bff
mov esi, dword [ebp - 0x120]
imul esi, dword [eax]
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.10022bff
cmp esi, dword [eax]
jne 0x1004a2f0
mov dword [ebp - 0xc8], 1
jmp 0x1004a2f7
and dword [ebp - 0xc8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xe8]
call fcn.10022bff
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [eax]
jl 0x1004a31b
mov dword [ebp - 0x100], 1
jmp 0x1004a322
and dword [ebp - 0x100], 0
imul eax, dword [ebp - 0x100], 0xa1ba
test eax, eax
je 0x1004a341
or eax, 0xffffffff
je 0x1004a341
mov dword [ebp - 0x118], 1
jmp 0x1004a348
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x118]
jl 0x1004a362
mov dword [ebp - 0xd8], 1
jmp 0x1004a369
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0x840cc74b
jb 0x1004a381
mov dword [ebp - 0x108], 1
jmp 0x1004a388
and dword [ebp - 0x108], 0
imul eax, dword [ebp - 0x108], 0xfffe
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x248], eax
mov byte [ebp - 0x1d], 0
push 0x6832
push 1
lea eax, [ebp - 0x1d]
push eax
push 0xcd
push 0x7d4d
push 0x76f0
push 0
call fcn.1002c700
add esp, 0x1c
jmp 0x1004a1da
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ec]
call fcn.10022be3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.10022be3
and dword [ebp - 0x94], 0
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x30], 0x61be360d
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x1c], 0
jmp 0x1004a419
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004a42f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2a0], 0xffffffff
jmp 0x1004a412
mov dword [ebp - 0x1c], 0
jmp 0x1004a43f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004a455
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2b8], 0x216709e1
jmp 0x1004a438
mov eax, dword [ebp - 0x14]
sub eax, 0xc285
neg eax
jne 0x1004a56d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x2a0], ecx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1004a4a5
mov eax, 0xffff
test eax, eax
je 0x1004a4a5
mov dword [ebp - 0xa0], 1
jmp 0x1004a4ac
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0x80eb
jg 0x1004a4c4
mov dword [ebp - 0xa4], 1
jmp 0x1004a4cb
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa4], eax
jge 0x1004a4e2
mov dword [ebp - 0xac], 1
jmp 0x1004a4e9
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xac]
jl 0x1004a500
mov dword [ebp - 0xb4], 1
jmp 0x1004a507
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb4], eax
jl 0x1004a51e
mov dword [ebp - 0xbc], 1
jmp 0x1004a525
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
neg eax
cmp eax, 0x398963ec
jne 0x1004a54c
cmp dword [ebp - 0x30], 0
jne 0x1004a54c
cmp dword [ebp - 0x84], 0
jne 0x1004a54c
and dword [ebp - 0xc4], 0
jmp 0x1004a556
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
sub eax, dword [ebp - 0x84]
jne 0x1004a56d
and dword [ebp - 0x1d8], 0
jmp 0x1004a577
mov dword [ebp - 0x1d8], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2ec], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x2a0], 0
jne 0x1004a59b
mov dword [ebp - 0xcc], 1
jmp 0x1004a5a2
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x14]
je 0x1004a5bd
mov dword [ebp - 0xd4], 1
jmp 0x1004a5c4
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd4], eax
je 0x1004a5db
mov dword [ebp - 0xdc], 1
jmp 0x1004a5e2
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x1004a609
cmp dword [ebp - 0x30], 0
je 0x1004a609
mov dword [ebp - 0xec], 1
jmp 0x1004a610
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xec], eax
jg 0x1004a627
mov dword [ebp - 0xf4], 1
jmp 0x1004a62e
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xf4]
mov dword [ebp + eax - 0x2b8], ecx
mov dword [ebp - 0x114], 0x1584
mov dword [ebp - 0x1e0], 0x1000be80
cmp dword [ebp - 0x114], 0x172d
jle 0x1004a6f9
and dword [ebp - 0x50], 0
jmp 0x1004a672
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x7bcf
jge 0x1004a6f9
and dword [ebp - 0x38], 0
jmp 0x1004a688
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x726f
jge 0x1004a6f4
and dword [ebp - 0x40], 0
jmp 0x1004a69e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x5683
jge 0x1004a6f2
and dword [ebp - 0x48], 0
jmp 0x1004a6b4
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x5419
jge 0x1004a6f0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
shl eax, cl
xor eax, dword [ebp - 0x48]
or eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1004a6ad
jmp 0x1004a697
jmp 0x1004a681
jmp 0x1004a66b
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
jmp 0x1004a70e
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0xfc]
je 0x1004aa97
mov dword [ebp - 0x10c], 6
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x190], 0xfffffff9
push 1
push 0x7b2d
lea eax, [ebp - 0x28]
push eax
push 0xaea
push 1
push 0x6820
lea eax, [ebp - 0x10c]
push eax
push 0x3f96
push 0x6bae
push 0x4fbc
push 0xebe
call fcn.10026752
add esp, 0x2c
mov dword [ebp - 0x28], 0x1a
jmp 0x1004a782
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x15
jl 0x1004a8ed
mov dword [ebp - 0x104], 0x3086
mov dword [ebp - 0x1f4], 0x1000bea8
cmp dword [ebp - 0x104], 0x321b
jle 0x1004a82b
and dword [ebp - 0x58], 0
jmp 0x1004a7b9
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x642b
jge 0x1004a82b
and dword [ebp - 0x60], 0
jmp 0x1004a7cf
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x1ad3
jge 0x1004a829
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x60]
cdq
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
lea ecx, [ebp - 0x31c]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x31c]
call fcn.1002281d
jmp 0x1004a7c8
jmp 0x1004a7b2
push 3
lea ecx, [ebp - 0x22c]
call fcn.10022b61
mov byte [ebp - 4], 5
cmp dword [ebp - 0x104], 0x2d57
jge 0x1004a854
push dword [ebp - 0x1f4]
call fcn.10077843
pop ecx
lea eax, [ebp - 0x22c]
push eax
push 0x60b
push 1
push 1
push 0x3b07
push 0x67f
push 0
push 0x2aea
push 0x5798
lea eax, [ebp - 0x2c4]
push eax
push 0x79b6
push 0x4322
call fcn.10028345
add esp, 0x30
push 0
push 0x3e9f
push 0
push 0x7761
push 0x1d63
call fcn.1002d6e5
add esp, 0x14
push 0xf7
push 0x759
lea eax, [ebp - 0x10c]
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
push 1
lea eax, [ebp - 0x190]
push eax
call fcn.1002864d
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10022be3
jmp 0x1004a77b
push 0xe10
push 0
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10028577
add esp, 0x14
push 0x2969
push 1
push 0x48e
push 0x1d55
push 0x7f9e
push 1
push 0
push 0x435e
push 0x41f5
push 0x6d5d
push 0x42f7
push 0x66e3
call fcn.100477cd
add esp, 0x30
mov eax, dword [ebp - 0x94]
push dword [eax + 0x28]
lea ecx, [ebp - 0x278]
call fcn.1004b4ca
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x278]
call fcn.10023403
push dword [eax]
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x278]
call fcn.10023417
push dword [eax]
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x278]
call fcn.10023403
push dword [eax]
mov edx, 0x1002662b
lea ecx, [ebp - 0x2f0]
call fcn.1004b89e
add esp, 0xc
push 2
lea ecx, [ebp - 0x238]
call fcn.10022b61
mov byte [ebp - 4], 7
mov dword [ebp - 0x70], 0
jmp 0x1004a9cc
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x1004a9e8
push dword [ebp - 0x70]
lea ecx, [ebp - 0x238]
call fcn.10022bff
mov dword [eax], 0xe0a8eac8
jmp 0x1004a9c5
push 0
push 1
call fcn.1002d571
pop ecx
pop ecx
push 0
lea eax, [ebp - 0x238]
push eax
push 1
push 0x39ec
call fcn.10029bfe
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x238]
call fcn.10022be3
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x260]
call fcn.1004b95b
movzx eax, al
test eax, eax
je 0x1004aa83
push 1
push 0x3edd
push 0xebe
push 0
call fcn.10027f41
add esp, 0x10
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + eax + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.100229f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.100229f4
jmp 0x1004ad2b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.100229f4
jmp 0x1004a706
cmp dword [ebp - 0x114], 0x1212
jge 0x1004aab3
mov edx, dword [ebp - 0x1e0]
mov ecx, 0x10092b78
call fcn.10025597
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.100229f4
and dword [ebp - 0x214], 0
and dword [ebp - 0x210], 0
and dword [ebp - 0x20c], 0
and dword [ebp - 0x208], 0
lea ecx, [ebp - 0x95]
call fcn.10022c0e
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x304]
call fcn.10022c11
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2b0]
call fcn.10022bbd
mov dword [ebp - 4], 8
mov dword [ebp - 0x11c], 0x7d30
mov dword [ebp - 0x134], 0x1000bed0
cmp dword [ebp - 0x11c], 0x7df5
jle 0x1004ac34
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
and dword [ebp - 0x78], 0
jmp 0x1004ab55
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xe67
jge 0x1004ac34
and dword [ebp - 0x80], 0
jmp 0x1004ab6f
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x636a
jge 0x1004ac2f
and dword [ebp - 0x88], 0
jmp 0x1004ab92
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x3dc9
jge 0x1004ac2a
and dword [ebp - 0x90], 0
jmp 0x1004abb8
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x5223
jge 0x1004ac25
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
shl edx, cl
and eax, edx
cdq
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], edx
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0x334]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x334]
call fcn.1002281d
jmp 0x1004abab
jmp 0x1004ab85
jmp 0x1004ab68
jmp 0x1004ab4e
cmp dword [ebp - 0x11c], 0x7d1a
jge 0x1004ac4c
push dword [ebp - 0x134]
call fcn.10077843
pop ecx
push 1
push 0x7642
push 0x49cf
push 0
lea eax, [ebp - 0x2b0]
push eax
push 0x1666
push 0x784a
call fcn.1004ad3a
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.10022be3
mov eax, dword [ebp - 0x124]
and dword [eax], 0
jmp 0x1004ad2b
jmp 0x1004ad2b
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x150], eax
push dword [ebp - 0x138]
push dword [ebp - 0x140]
push dword [ebp - 0x148]
push dword [ebp - 0x150]
push 1
push dword [ebp - 0x158]
push dword [ebp - 0x160]
push dword [ebp - 0x168]
push 0x1c5
push dword [ebp - 0x170]
push dword [ebp - 0x178]
call fcn.100277ad
add esp, 0x2c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret