Function at 0x140042450
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0xc8
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x80], rcx
mov ecx, dword [0x1402d10b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
add rax, 0x60
mov qword [rsp + 0x90], rax
mov rax, qword [rcx]
mov qword [rsp + 0x98], rax
cmp rax, rdx
jle 0x1400424bd
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400422d0
jmp 0x140042a24
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
jge 0x140042a24
mov rax, qword [rsp + 0x80]
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x70], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
cmp rax, 0
je 0x140042533
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov r8, 0xffffffffffffffff
movabs rax, 0xbfffffffffffffff
xor r8, rax
mov rax, rdx
xor rax, r8
and rax, rdx
cmp rax, rcx
jge 0x1400427e5
mov r8, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
mov rdx, rcx
sub rdx, r8
mov qword [rsp + 0x68], rdx
mov rax, rdx
xor rax, rcx
cmp rax, 0
setl cl
mov rax, rdx
xor rax, 0xffffffffffffffff
mov r9, rdx
xor r9, 0xffffffffffffffff
and rax, r9
movabs r10, 0x87facf394a9f9fc3
movabs r9, 0x780530c6b560603c
xor r10, r9
mov r9, r8
xor r9, r10
movabs r11, 0xb6fd4b68e7c92136
movabs r10, 0x4902b4971836dec9
xor r11, r10
mov r10, r8
xor r10, r11
and r9, r10
or rax, r9
xor rax, 0xffffffffffffffff
or rdx, r8
xor rdx, 0xffffffffffffffff
or rax, rdx
xor rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
setg dl
mov al, cl
xor al, 0xff
xor r8d, r8d
xor r8b, 1
xor cl, r8b
and al, cl
mov cl, dl
xor cl, 0xff
xor dl, 0xff
and cl, dl
xor al, 0xff
xor cl, 0xff
and al, cl
test al, 1
jne 0x14004271a
mov eax, dword [0x1402a9ca8]
xor eax, 0x6d41d0b3
mov edx, dword [0x1402a9cac]
mov ecx, eax
and ecx, ecx
xor ecx, 0xffffffff
and ecx, edx
xor ecx, 0xffffffff
and edx, edx
xor edx, 0xffffffff
and eax, edx
mov edx, 0x56487f09
xor edx, 0xa9b780f6
xor eax, edx
and ecx, eax
mov eax, 0x700ea72d
xor eax, 0x8ff158d2
xor ecx, eax
add ecx, 0x72f385e2
add ecx, 0x8b4ec5ef
sub ecx, 0x72f385e2
mov edx, 0xffffffff
xor edx, 0x8695f939
mov eax, ecx
xor eax, edx
and eax, ecx
mov ecx, 0x17669d83
xor edx, edx
div ecx
cmp eax, 0x25b372a2
ja 0x140042a2c
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
mov edx, dword [0x1402a9cb0]
mov r9d, dword [0x1402a9cb4]
mov eax, edx
and eax, r9d
xor edx, r9d
or eax, edx
mov r9d, eax
xor r9d, 0xffffffff
and r9d, 0xa34743df
mov r10d, 0xffffffff
xor r10d, 0xa34743df
mov edx, eax
and edx, r10d
imul edx, r9d
mov r9d, eax
and r9d, 0xa34743df
or eax, 0xa34743df
imul eax, r9d
add eax, edx
mov r9d, 0x3b3a6dfc
xor r9d, 0x9164ea99
xor edx, edx
div r9d
mov r9d, 0xd796a06b
xor edx, edx
div r9d
mov rdx, qword [rsp + 0x78]
mov dword [rsp + 0x64], eax
mov r9d, 0x20
mov qword [rsp + 0x20], 8
call fcn.140023a90
mov rcx, qword [rsp + 0x70]
mov rdx, rax
mov eax, dword [rsp + 0x64]
mov qword [rcx], rdx
cmp eax, 0xde290d90
jae 0x140042a2c
jmp 0x1400427e5
mov ecx, dword [0x1402a9cb8]
mov edx, dword [0x1402a9cbc]
xor edx, 0xdb03f40
mov r8d, ecx
xor r8d, 0xffffffff
mov eax, edx
and eax, r8d
xor edx, 0xffffffff
and ecx, edx
or eax, ecx
mov ecx, 0xa7641e5c
xor ecx, 0x211eccec
add eax, ecx
mov ecx, 0xffffffff
xor ecx, 0x8e6f1b18
add eax, ecx
mov ecx, 0x44f33c47
xor ecx, 0x44f33c46
add eax, ecx
mov ecx, 0xa8f9f16b
xor ecx, 0xa6abec3
sub eax, ecx
cmp eax, 0xdda3230d
jae 0x140042a35
mov eax, dword [0x1402a9cc0]
mov edx, dword [0x1402a9cc4]
mov ecx, edx
and ecx, eax
xor ecx, 0xffffffff
add eax, edx
mov edx, 0x40309ea1
xor edx, 0x40309ea0
add eax, edx
add eax, ecx
sub eax, 0xf44c95c3
and eax, 0xa0cda9bb
mov ecx, 0xb16ceaad
xor ecx, 0x2b676338
and eax, ecx
mov dword [rsp + 0x60], eax
mov eax, 0xcb2c9075
xor eax, 0x3ce86e54
mov dword [rsp + 0x5c], eax
call fcn.14000ee80
mov ecx, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x60]
cmp eax, ecx
je 0x14004277e
jmp 0x140042a24
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
mov qword [rcx], rdx
lea rcx, [rsp + 0xa0]
add rcx, 0x10
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1402d10b0]
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rdx], xmm0
mov rcx, qword [rcx]
add rcx, 8
shl rax, 5
add rcx, rax
lea rdx, [rsp + 0xa0]
call fcn.14007cd60
mov rax, qword [rsp + 0x90]
mov al, byte [rax]
mov cl, 0xc0
xor cl, 0xc0
cmp al, cl
jne 0x1400429ff
mov eax, dword [0x1402a9cc8]
xor eax, 0x39b62aaf
mov r8d, dword [0x1402a9ccc]
mov ecx, eax
xor ecx, 0xffffffff
mov edx, r8d
and edx, ecx
mov ecx, 0xfd90166f
xor ecx, 0x26fe990
mov r9d, r8d
xor r9d, ecx
mov ecx, eax
and ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
mov edx, eax
xor edx, 0xd85b0849
mov ecx, 0xb66e0e7c
xor ecx, 0x4991f183
xor edx, ecx
mov ecx, 0x3b708761
xor ecx, 0xe32b8f28
and ecx, edx
shl ecx, 1
mov edx, 0x9ce5f7f4
xor edx, 0x44beffbd
sub ecx, edx
sub eax, ecx
or eax, 0xc6f19914
mov ecx, 0xc85e026
xor ecx, 0xfcb4a32e
imul eax, ecx
cmp eax, 0xa39ac11f
jae 0x140042a3e
mov r8, qword [rsp + 0x40]
mov eax, dword [0x1402a9cd0]
imul eax, dword [0x1402a9cd4]
mov ecx, 0xcf906fd7
xor ecx, 0xea6a2299
xor edx, edx
div ecx
sub eax, 0xfebe0346
add eax, 0x905633e
add eax, 0xfebe0346
mov ecx, 0xed315c4c
xor ecx, 0xed315c4c
sub ecx, eax
xor eax, eax
sub eax, 0xb7dde687
add ecx, eax
xor eax, eax
sub eax, ecx
mov rcx, r8
and rcx, 1
mov rdx, r8
or rdx, 1
add rcx, rdx
mov qword [rsp + 0x30], rcx
movabs r9, 0x230ad7c958390d13
movabs rdx, 0xdcf52836a7c6f2ec
xor r9, rdx
mov rdx, r8
xor rdx, r9
and rdx, 0xffffffffffffffff
mov r9, 0xffffffffffffffff
xor r9, 0xffffffffffffffff
and r8, r9
or rdx, r8
or rcx, rcx
movabs r8, 0x79295964946cf8a3
movabs r9, 0x86d6a69b6b93075c
xor r8, r9
xor rcx, r8
or rdx, rdx
xor rdx, 0xffffffffffffffff
xor rcx, 0xffffffffffffffff
xor rdx, 0xffffffffffffffff
and rcx, rdx
cmp rcx, 0
setl cl
mov byte [rsp + 0x3f], cl
cmp eax, 0xe91228b5
ja 0x140042a3e
mov al, byte [rsp + 0x3f]
test al, 1
jne 0x1400429fa
jmp 0x140042a04
call fcn.14000ee80
jmp 0x140042a24
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
cmp rax, rcx
mov qword [rsp + 0x50], rax
je 0x1400429ff
jmp 0x140042816
add rsp, 0xc8
ret
ret 0x1d99
fisttp word [rbx - 0x14]
push rax
jmp 0x14004277e
sub esp, 0xcbe9de19
invalid