Function at 0x140042900
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], rcx
mov eax, dword [0x1402740d8]
mov edx, dword [0x1402740dc]
mov ecx, eax
xor ecx, edx
xor ecx, 0xffffffff
or eax, edx
and eax, ecx
mov ecx, 0x836c313e
xor edx, edx
div ecx
mov edx, 0x31f217ee
xor edx, 0x497df97e
mov ecx, eax
xor ecx, edx
xor ecx, 0xffffffff
and ecx, 0x788fee90
shl ecx, 1
sub ecx, 0x788fee90
sub eax, ecx
mov ecx, 0x17bf51eb
xor edx, edx
div ecx
cmp eax, 0x3614b1e1
ja 0x140043276
mov eax, dword [0x1402740e0]
mov edx, dword [str.tj_]
mov ecx, 0xbdf5654b
xor ecx, 0x420a9ab4
mov r8d, eax
xor r8d, ecx
mov ecx, edx
and ecx, r8d
xor edx, 0xffffffff
and eax, edx
or ecx, eax
add ecx, 0x53be7a8
add ecx, 0x7fdaa19f
mov eax, 0xdf527726
xor eax, 0xda69908e
sub ecx, eax
mov eax, 0x28a0d0e8
xor eax, 0x1e848996
sub ecx, eax
mov eax, ecx
xor eax, 0xffffffff
and eax, 0x6f005493
mov edx, 0xffffffff
xor edx, 0x6f005493
and ecx, edx
or eax, ecx
mov dword [rsp + 0x7c], eax
mov eax, 0xfb4d4ba7
xor eax, 0x8b749333
mov dword [rsp + 0x78], eax
mov ecx, dword [0x1402980b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x78]
mov r9, rax
mov eax, dword [rsp + 0x7c]
add r9, 0x60
mov qword [rsp + 0x80], r9
mov rdx, qword [rdx]
mov qword [rsp + 0x88], rdx
cmp rdx, r8
setg dl
mov byte [rsp + 0x97], dl
cmp eax, ecx
ja 0x140043276
mov al, byte [rsp + 0x97]
test al, 1
jne 0x140042a4d
jmp 0x140042b85
mov eax, dword [0x1402740e8]
mov edx, dword [0x1402740ec]
mov ecx, edx
and ecx, eax
xor ecx, 0xffffffff
add eax, edx
add eax, 1
add eax, ecx
sub eax, 0x990140e8
add eax, 0x12fcee33
add eax, 0x990140e8
mov ecx, eax
xor ecx, 0xffffffff
mov edx, 0x5ca3c954
xor edx, 0xa75dfa41
and edx, ecx
mov r8d, 0xffffffff
xor r8d, 0xfbfe3315
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xfbfe3315
mov r8d, 0x8de6cea5
xor r8d, 0x7618fdb0
or eax, r8d
imul eax, edx
add eax, ecx
imul eax, eax, 0x8ef0d284
cmp eax, 0xf971b4b1
je 0x14004327f
mov rcx, qword [rsp + 0xa0]
mov eax, dword [0x1402740f0]
xor eax, 0x4e23da28
mov r9d, dword [0x1402740f4]
xor r9d, 0x6ce7115a
mov r10d, r9d
xor r10d, 0xffffffff
mov r8d, eax
and r8d, r10d
mov edx, eax
or edx, r10d
xor edx, 0xffffffff
imul edx, r8d
mov r8d, eax
and r8d, r9d
or eax, r9d
imul eax, r8d
add eax, edx
mov r8d, 0xffffffff
xor r8d, 0x449a1c81
mov edx, eax
and edx, r8d
mov r8d, eax
xor r8d, 0x449a1c81
add eax, r8d
sub eax, edx
xor edx, edx
sub edx, eax
xor eax, eax
sub eax, 0xab76ee
add edx, eax
xor eax, eax
sub eax, edx
mov r8d, 0x87ac2ef9
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x98]
mov dword [rsp + 0x74], eax
mov eax, 0xbd7bcbfe
xor eax, 0x61e9877b
mov dword [rsp + 0x70], eax
call fcn.140042460
mov ecx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x74]
cmp eax, ecx
jae 0x14004327f
jmp 0x14004326e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
cmp rax, rcx
jge 0x14004326e
mov rax, qword [rsp + 0xa0]
mov rcx, rax
add rcx, 8
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
cmp rax, 0
je 0x140042d37
mov eax, dword [0x1402740f8]
mov ecx, dword [0x1402740fc]
mov edx, 0x1ad726d6
xor edx, 0x2ae5d946
xor ecx, edx
xor edx, edx
div ecx
mov ecx, eax
mov eax, 0xedf49f99
xor eax, 0xf2ed6de0
and ecx, eax
and ecx, 0x2107300d
mov edx, 0x8a2e8453
xor edx, 0x29d9af6e
mov eax, 0x7f77d750
xor eax, 0x808828af
xor edx, eax
mov eax, ecx
xor eax, edx
and eax, ecx
mov ecx, 0xfb8a8826
xor ecx, 0x42112d9b
cmp eax, ecx
jae 0x140043288
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
mov r10d, dword [0x140274100]
mov eax, dword [0x140274104]
xor eax, 0xffffffff
xor r8d, r8d
sub r8d, 1
sub eax, r8d
sub r10d, eax
and r10d, 0xd5614a15
mov r8d, r10d
xor r8d, 0xffffffff
and r8d, 0x79166a1d
mov r9d, 0xffffffff
xor r9d, 0x79166a1d
and r10d, r9d
mov eax, 0xffffffff
xor eax, 0x55656f7b
mov r11d, 0x3d5420e1
xor r11d, 0x44424afc
and eax, r11d
and r9d, 0x55656f7b
or r8d, r10d
or eax, r9d
xor r8d, eax
mov eax, r8d
and eax, 0xdf3e322c
xor r8d, 0xdf3e322c
or eax, r8d
mov r8, qword [rcx]
mov rcx, r8
xor rcx, 0xffffffffffffffff
mov r9, 0xffffffffffffffff
movabs r10, 0xbfffffffffffffff
xor r9, r10
or rcx, r9
xor r8, 0xffffffffffffffff
movabs r9, 0xd3211524a6215734
movabs r10, 0x6cdeeadb59dea8cb
xor r9, r10
movabs r10, 0xf497fe17b6da7ebc
movabs r11, 0xb6801e849258143
xor r10, r11
xor r9, r10
or r8, r9
and rcx, r8
xor rcx, 0xffffffffffffffff
cmp rcx, rdx
setl cl
mov byte [rsp + 0x5f], cl
cmp eax, 0xad292df7
je 0x140043288
mov al, byte [rsp + 0x5f]
test al, 1
jne 0x140042d37
jmp 0x140042de8
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x98]
mov rax, r8
sub rax, rdx
mov qword [rsp + 0x50], rax
mov rcx, rax
xor rcx, r8
movabs r8, 0xde055a7f65422eb3
movabs r9, 0xde055a7f65422eb3
xor r8, r9
cmp rcx, r8
setl cl
xor rax, rdx
cmp rax, 0xffffffffffffffff
setg dl
mov al, cl
xor al, 0xff
mov r8b, dl
xor r8b, 0xff
or al, r8b
mov r8b, 1
xor r8b, 0
xor cl, r8b
xor dl, 0xff
or cl, dl
and al, cl
xor al, 0xff
test al, 1
jne 0x140042dde
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x88]
mov r9d, 8
mov qword [rsp + 0x20], 8
call fcn.1400265f0
mov rcx, rax
mov rax, qword [rsp + 0x60]
mov qword [rax], rcx
jmp 0x140042de8
call fcn.14000f24b
jmp 0x14004326e
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov qword [rcx], rdx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov eax, dword [0x140274108]
sub eax, dword [0x14027410c]
mov ecx, eax
xor ecx, 0x20880a5d
mov edx, 0xffffffff
xor edx, 0x20880a5d
and eax, edx
shl eax, 1
sub eax, ecx
mov edx, eax
xor edx, 0xffffffff
and edx, 0xbcf734e
mov r8d, 0x2c0ee0d4
xor r8d, 0x27c1939a
mov ecx, 0x69f3cce1
xor ecx, 0x960c331e
xor r8d, ecx
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xbcf734e
mov r8d, 0x712ceb18
xor r8d, 0x7ae39856
or eax, r8d
imul eax, edx
add eax, ecx
xor eax, 0xe25c47d3
mov ecx, 0x2bf3e078
xor ecx, 0xaee7c175
cmp eax, ecx
ja 0x140043291
mov rcx, qword [rsp + 0x40]
mov edx, dword [0x140274110]
mov r8d, dword [0x140274114]
mov r9d, edx
xor r9d, 0xffffffff
mov eax, r8d
and eax, r9d
xor r8d, 0xffffffff
and edx, r8d
or eax, edx
mov edx, 0xebfc8f88
xor edx, 0x7357f10
mov r8d, 0x3ae4293b
xor r8d, 0xc51bd6c4
xor edx, r8d
add eax, edx
mov edx, 0xdf08a75b
xor edx, 0xdf08a75a
add eax, edx
mov edx, 0xde55ff18
xor edx, 0xc9cee0db
xor eax, edx
mov r8d, 0xd8f6a3cf
xor edx, edx
div r8d
mov rdx, qword [rsp + 0x98]
cmp rcx, rdx
setl cl
mov byte [rsp + 0x3f], cl
cmp eax, 0x6fff3075
ja 0x140043291
mov al, byte [rsp + 0x3f]
test al, 1
jne 0x140042f33
jmp 0x14004326e
mov eax, dword [0x140274118]
sub eax, dword [0x14027411c]
mov r8d, 0xffffffff
xor r8d, 0x3c2a4a4c
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x3c2a4a4c
mov r8d, 0x723968d0
xor r8d, 0x4e13229c
or eax, r8d
imul eax, edx
add eax, ecx
mov ecx, 0xbd1d58ea
xor ecx, 0x1270a28c
sub eax, ecx
or eax, 0xc8da1d94
cmp eax, 0x7659042
jbe 0x14004329a
mov rcx, qword [rsp + 0x60]
mov eax, dword [0x140274120]
mov r8d, dword [0x140274124]
xor r8d, 0x469d741
xor edx, edx
div r8d
mov edx, eax
mov rax, qword [rsp + 0x40]
add edx, 0xdec0ffad
mov r8d, 0xffffffff
xor r8d, 0x17d4abd2
add edx, r8d
mov r8d, 0x7d4ab935
xor r8d, 0x7d4ab934
add edx, r8d
mov r8d, 0xffffffff
xor r8d, 0xf5994ca4
add edx, r8d
add edx, 1
mov dword [rsp + 0x38], edx
mov edx, 0x5f8926c
xor edx, 0xb4dfaeda
mov dword [rsp + 0x34], edx
mov rcx, qword [rcx]
add rcx, 8
shl rax, 3
add rcx, rax
xor eax, eax
mov edx, eax
call fcn.1400bb6c0
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
cmp byte [rdx], 0
sete dl
mov byte [rsp + 0x3e], dl
cmp eax, ecx
jbe 0x140042f96
mov al, byte [rsp + 0x3e]
test al, 1
jne 0x140043051
jmp 0x14004326e
mov r9, qword [rsp + 0x40]
mov rax, r9
and rax, 1
movabs rdx, 0xbb4e447fe392e24
movabs rcx, 0xbb4e447fe392e25
xor rdx, rcx
mov rcx, r9
or rcx, rdx
add rax, rcx
mov r8, r9
xor r8, 0xffffffffffffffff
movabs rcx, 0xdb63a56ddd0f6966
and r8, rcx
mov rdx, 0xffffffffffffffff
movabs rcx, 0xdb63a56ddd0f6966
xor rdx, rcx
and r9, rdx
movabs rcx, 0x9c9a5a277fba9769
movabs r10, 0x6365a5d880456896
xor rcx, r10
movabs r10, 0xac3d07f9776f2499
movabs r11, 0x53c2f8068890db66
xor r10, r11
xor rcx, r10
movabs r10, 0x88cedf3819571f
movabs r11, 0xdbeb6bb2e5163e79
xor r10, r11
and rcx, r10
and rdx, 0xffffffffffffffff
or r8, r9
or rcx, rdx
xor r8, rcx
mov rcx, rax
or rcx, rcx
movabs rdx, 0x9a7e2ba1f165ff00
movabs r9, 0x6581d45e0e9a00ff
xor rdx, r9
xor rcx, rdx
mov rdx, r8
xor rdx, 0xffffffffffffffff
xor r8, 0xffffffffffffffff
and rdx, r8
movabs r8, 0x3bbd23977f0e66c3
movabs r9, 0xc442dc6880f1993c
xor r8, r9
xor rcx, r8
xor rdx, 0xffffffffffffffff
and rcx, rdx
movabs rdx, 0x165462b075fe0af6
movabs r8, 0x165462b075fe0af6
xor rdx, r8
cmp rcx, rdx
mov qword [rsp + 0x48], rax
jge 0x140042e08
mov ecx, dword [0x140274128]
mov edx, dword [0x14027412c]
mov eax, ecx
or eax, edx
mov r8d, 0xf9d71059
xor r8d, 0x628efa6
xor eax, r8d
mov r8d, 0x63fb2e84
xor r8d, 0x9c04d17b
xor ecx, r8d
xor edx, 0xffffffff
and ecx, edx
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
mov edx, eax
xor edx, 0xffffffff
and edx, 0xc63c2c11
mov r8d, 0xffffffff
xor r8d, 0xc63c2c11
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xc63c2c11
or eax, 0xc63c2c11
imul eax, edx
add eax, ecx
or eax, 0x5302b62a
add eax, 0xe95d200a
mov ecx, 0xe96373e1
xor ecx, 0xd07e9c61
cmp eax, ecx
jb 0x1400432a3
mov r8d, dword [0x140274130]
mov edx, dword [0x140274134]
mov eax, r8d
xor eax, 0xffffffff
and eax, 0xd2c60a4e
mov r9d, 0xffffffff
xor r9d, 0xd2c60a4e
and r8d, r9d
mov ecx, edx
xor ecx, 0xffffffff
and ecx, 0xd2c60a4e
and edx, r9d
or eax, r8d
or ecx, edx
xor eax, ecx
xor ecx, ecx
sub ecx, 0xd65dfb3e
sub eax, ecx
and eax, 0xd65930e3
or eax, 0x193c6083
mov dword [rsp + 0x30], eax
call fcn.14000f24b
mov eax, dword [rsp + 0x30]
cmp eax, 0x7a3934fc
jbe 0x140043200
jmp 0x14004326e
add rsp, 0xa8
ret
invalid
and eax, dword [rcx + 0x43e9ef57]
clc
invalid
xchg ebp, eax
mov esi, 0x95e9ae64
stc
invalid
mov ebp, 0xe98705f1
add esp, edi
invalid
cmp bh, byte [rsp + rbp*4 - 0x30c16cb]
invalid
mov bl, byte [r15 - 0xab1618]
invalid