Function at 0x467bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x2000
je 0x467c19
mov eax, dword [ebp - 4]
push eax
call fcn.004a0990
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004874e0
pop ecx
and eax, 0x100000
je 0x467ccc
cmp dword [ebp + 8], 0x48
jne 0x467ca0
push 0
call fcn.0049f730
pop ecx
mov dword [ebp - 0x14], eax
push eax
push 0
push 0
push str.__OPARRAYINDEX
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004689e0
add esp, 0x18
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.00460840
add esp, 0xc
push 0
push 2
mov eax, dword [ebp - 0x14]
push eax
push str.__OPARRAYINDEX
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004689e0
add esp, 0x18
lea eax, [ebx + 0x10]
push eax
call fcn.004a4430
pop ecx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0049f7d0
pop ecx
jmp 0x468558
push 0
push 2
mov eax, dword [ebp - 0xc]
push eax
push str.__OPARRAYINDEX
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004689e0
add esp, 0x18
lea eax, [ebx + 0x10]
push eax
call fcn.004a4430
pop ecx
jmp 0x468558
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 4
je 0x467f6d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x43a
je 0x467f6d
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x1a
je 0x467db1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x467d15
mov dword [ebp - 0x18], 0
jmp 0x467d1c
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
je 0x467db1
mov eax, dword [ebp - 8]
push eax
call fcn.0049ffd0
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x467d4c
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x20]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x467d73
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
cmp eax, dword [edx + 0x20]
ja 0x467d73
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x28]
mov eax, dword [edx + eax*4 - 4]
mov dword [ebp - 0x20], eax
jmp 0x467d7a
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x467e10
push 0x2e
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push eax
push 0
push 0x46c
push 2
call fcn.00492870
add esp, 0x1c
jmp 0x468558
cmp dword [ebp + 8], 0x48
jne 0x467df8
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00493f40
add esp, 0xc
test eax, eax
jne 0x467e10
push 0x2e
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push eax
push 0
push 0x46c
push 2
call fcn.00492870
add esp, 0x1c
jmp 0x468558
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call fcn.004936b0
add esp, 0x10
jmp 0x467e77
cmp dword [ebp + 8], 0x48
jne 0x467e63
push 0
call fcn.0049f730
pop ecx
mov dword [ebp - 0x1c], eax
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00494530
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.00460840
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00494350
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0049f7d0
pop ecx
jmp 0x467e77
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00494270
add esp, 0xc
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x467e95
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x467ea1
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x467ec6
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x467ee4
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x467ef0
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x467f15
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x467f33
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x467f3f
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x468558
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
jmp 0x468558
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 2
je 0x467f85
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
jmp 0x4680f9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 8
je 0x467fa1
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
mov eax, dword [eax + 8]
pop edx
mov dword [ebp - 0x10], eax
jmp 0x4680f9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x10
je 0x467fbe
mov eax, dword [ebp - 8]
fld qword [eax + 8]
call fcn.00532060
mov dword [ebp - 0x10], eax
jmp 0x4680f9
mov eax, dword [ebp - 8]
mov edx, dword [eax]
and edx, 0x400
je 0x467fe7
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x467fe7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
movsx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x10], eax
jmp 0x4680f9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x400
je 0x4680cc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0x8000
je 0x4680cc
mov edx, dword [eax + 8]
movzx edx, word [edx + 0xc]
test edx, edx
je 0x4680cc
push eax
call fcn.004871e0
pop ecx
push eax
push 0x696cdc
call fcn.00534750
add esp, 8
test eax, eax
jne 0x4680cc
mov byte [ebp - 0x4f], 0x5f
mov byte [ebp - 0x4e], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
lea eax, [ebp - 0x4f]
push eax
call fcn.00532090
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004a44a0
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x100
lea eax, [ebp - 0x4f]
push eax
call fcn.004a1f80
pop ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
mov eax, dword [eax]
and eax, 0x2000
je 0x4680a7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
push eax
call fcn.004a4960
add esp, 8
push 1
call fcn.00469190
pop ecx
mov eax, dword [ebx + 0x10]
and eax, 0xf405
je 0x468558
lea eax, [ebx + 0x10]
push eax
call fcn.004a45e0
pop ecx
jmp 0x468558
push 0x2f
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 3
push eax
push 0
push 0x42d
push 1
call fcn.00492870
add esp, 0x20
jmp 0x468558
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x8000
je 0x4682c7
cmp dword [ebp - 0x10], 0
jge 0x468122
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x4682a2
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
cmp eax, dword [edx + 4]
ja 0x4682a2
mov eax, dword [ebp - 0xc]
and dword [eax], 0xfffff7ff
cmp dword [ebp + 8], 0x48
jne 0x468198
push 0
call fcn.0049f730
pop ecx
mov dword [ebp - 0x14], eax
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004a2d90
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
push edx
push eax
call fcn.00460840
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004a2ca0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call fcn.0049f7d0
pop ecx
jmp 0x4681ac
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004a2ca0
add esp, 0xc
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4681ca
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4681d6
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4681fb
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x468219
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x468225
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x46824a
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x468268
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x468274
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x468558
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
jmp 0x468558
push 0x2f
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
push 1
push eax
push 0
push 0x46d
push 2
call fcn.00492870
add esp, 0x18
jmp 0x468558
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x400
je 0x468530
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, edx
and ecx, 0x400
jne 0x4682ff
and edx, 0x3a
jne 0x4682ff
test ecx, ecx
je 0x468530
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x468530
cmp dword [ebp - 0x10], 0
jle 0x46830a
dec dword [ebp - 0x10]
jmp 0x46831e
cmp dword [ebp - 0x10], 0
jge 0x46831e
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x468506
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x468506
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0x400
je 0x46834f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
movsx eax, byte [eax]
mov byte [ebp - 0x11], al
jmp 0x46838b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 2
jne 0x468364
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov byte [ebp - 0x11], al
jmp 0x46838b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, 8
jne 0x46837d
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
mov eax, dword [eax + 8]
pop edx
mov byte [ebp - 0x11], al
jmp 0x46838b
mov eax, dword [ebp - 0xc]
fld qword [eax + 8]
call fcn.00532060
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x46839d
mov eax, dword [eax + 0x14]
cmp dword [eax], 1
jbe 0x4683e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
inc eax
push eax
call fcn.0049b580
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
push edx
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00531d20
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x18]
mov byte [edx + eax], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
push edx
mov edx, dword [ebp - 0x18]
push edx
push eax
call fcn.004a4d10
add esp, 0xc
cmp dword [ebp + 8], 0x48
jne 0x468407
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
add eax, edx
movsx edx, byte [eax]
movzx ecx, byte [ebp - 0x11]
movsx ecx, cl
add edx, ecx
mov byte [eax], dl
jmp 0x468417
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
movzx ecx, byte [ebp - 0x11]
mov byte [edx + eax], cl
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x468435
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x468441
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x468466
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x468484
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x468490
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4684b5
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4684d3
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4684df
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x468558
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
jmp 0x468558
push 0x2f
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 3
push eax
push 0
push 0x46d
push 2
call fcn.00492870
add esp, 0x20
jmp 0x468558
push 0x2f
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 3
push eax
push 0
push 0x42d
push 1
call fcn.00492870
add esp, 0x20
pop ebx
mov esp, ebp
pop ebp
ret