joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180105850
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov eax, edx
xor edx, edx
xor edi, edi
div r9d
mov r13d, edi
mov dword [rsp + 0x88], eax
test eax, eax
je 0x180105a3c
mov r14, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x20]
mov r12d, edi
movabs rdx, 0xfefefefefefefefe
nop dword [rax]
mov rbp, qword [rcx + 0x10]
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801058c3
mov rcx, rdi
jmp 0x1801058d6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movabs rdx, 0xfefefefefefefefe
mov rcx, rax
cmp qword [rcx + 0x18], 0
je 0x180105900
mov rbx, qword [rcx + 0x18]
test rbx, rbx
jne 0x1801058eb
mov rbx, rdi
jmp 0x180105917
mov rax, qword [rbx]
mov qword [rcx + 0x18], rax
test rax, rax
jne 0x1801058fb
mov qword [rcx + 0x20], rdi
mov qword [rbx], rdx
jmp 0x180105917
mov rcx, qword [rcx + 0x10]
mov edx, 0x188
mov r8d, 0x10
call fcn.180243b70
mov rbx, rax
test rbx, rbx
je 0x1801059c9
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x80], rdi
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x90], rdi
mov dword [rbx + 0xa0], 0xffffffff
mov qword [rbx + 0xa8], 0xffffffffffffffff
mov qword [rbx + 0x40], rdi
call fcn.1801992b0
mov edi, eax
test eax, eax
js 0x1801059ba
call fcn.18019c4f0
test al, al
je 0x180105984
or qword [rbx + 0x98], 0x20000
mov rax, qword [rbx + 0xa8]
mov rcx, qword [rax + 0x10]
test cl, 0x10
je 0x1801059a3
bt rcx, 0x15
jae 0x1801059a3
or qword [rbx + 0x98], 0x10
mov eax, dword [rbp + 0x10]
mov rsi, rbx
mov dword [rbx + 0xa0], eax
inc dword [rbp + 0x10]
or dword [rbp + 0x28], 4
xor edi, edi
jmp 0x1801059ce
call fcn.1801991c0
mov rcx, rbx
call fcn.18019de00
jmp 0x1801059ce
mov edi, 0x8007000e
test edi, edi
js 0x180105a3c
test r14, r14
je 0x1801059e5
mov qword [rsi + 0x108], r14
mov dword [rsi + 0x110], r12d
mov rcx, qword [rsp + 0x90]
mov eax, r12d
mov rcx, qword [rcx + rax*8]
mov eax, dword [rcx + 0xc8]
mov dword [rsi + 0xc8], eax
cmp eax, dword [r15 + 0x18]
jb 0x180105a0c
inc eax
mov dword [r15 + 0x18], eax
add r12d, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
inc r13d
mov edi, 0
movabs rdx, 0xfefefefefefefefe
cmp r13d, dword [rsp + 0x88]
jb 0x1801058b0
mov eax, edi
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180109ae0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
mov rbx, rcx
test rdi, rdi
je 0x180109b3f
nop word [rax + rax]
mov rax, qword [rdi]
mov qword [rbx], rax
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x180109b14
xor eax, eax
jmp 0x180109b1a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx]
test rdi, rdi
jne 0x180109b00
mov qword [rbx + 8], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rcx + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180109b60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x18]
mov rdi, rcx
cmp rbx, 0xffffffffffffffff
je 0x180109c48
mov qword [rsp + 0x30], rsi
cmp rbx, 0xffffffffffffffcd
ja 0x180109b8c
add rbx, 0x32
jmp 0x180109b90
or rbx, 0xffffffffffffffff
mov rsi, qword [rcx + 0x10]
xor edx, edx
mov rax, 0xffffffffffffffef
div rsi
cmp rax, rbx
jae 0x180109bba
mov eax, 0x80070216
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [0x18025e63c]
imul rsi, rbx
test ecx, ecx
jns 0x180109bcc
xor eax, eax
jmp 0x180109bd2
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
lea r8, [rsi + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r11, rax
test rax, rax
jne 0x180109bfe
mov eax, 0x8007000e
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rax + 8], rbx
mov rax, qword [rdi]
mov qword [r11], rax
mov rax, qword [rdi + 0x10]
mov qword [rdi], r11
mov qword [rdi + 0x18], rbx
imul rax, rbx
lea rcx, [rax + r11 + 0x10]
test rbx, rbx
je 0x180109c36
sub rcx, qword [rdi + 0x10]
sub rbx, 1
mov rax, qword [rdi + 8]
mov qword [rcx], rax
mov qword [rdi + 8], rcx
jne 0x180109c21
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 0x80070216
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180109c60
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
movabs rax, 0x1fffffffffffffff
mov rbx, rcx
cmp rcx, rax
jbe 0x180109c80
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x180109c8e
xor eax, eax
jmp 0x180109c94
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
lea r8, [rbx*8]
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_HeapAlloc]
Function at 0x18010d1a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x18025e63c]
xor r12d, r12d
mov rsi, r9
mov ebp, r8d
mov rdi, rdx
test ecx, ecx
jns 0x18010d1d8
mov rax, r12
jmp 0x18010d1de
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x58
lea r8d, [rdx - 0x48]
call fcn.180243b70
test rax, rax
je 0x18010d249
mov qword [rax + 0x50], r12
mov dword [rax + 0x28], ebp
xor ecx, ecx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov dword [rax + 0x48], 0xffffffff
mov dword [rax + 0x4c], r12d
mov rcx, qword [rdi]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov rcx, qword [rdi + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov qword [rax + 0x18], rcx
mov rcx, qword [rdi + 0x20]
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
mov qword [rax + 0x30], rsi
mov qword [rax + 0x20], rcx
jmp 0x18010d253
mov byte [rbx + 0x468], 1
mov rax, r12
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x18010e060
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x18010e077
xor eax, eax
jmp 0x18010e07d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov r8d, 0x10
mov edx, ebx
add rsp, 0x20
pop rbx
jmp fcn.180243b70
Function at 0x180113400
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rdi, rcx
mov ecx, dword [0x18025e63c]
xor r13d, r13d
mov r12, r9
mov rbp, r8
mov rsi, rdx
test ecx, ecx
jns 0x180113436
mov rax, r13
jmp 0x18011343c
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0xa0
mov r8d, 0x10
call fcn.180243b70
mov rbx, rax
test rax, rax
je 0x18011356b
mov qword [rbx + 0x60], r13
mov qword [rbx + 0x68], r13
mov qword [rbx + 0x70], r13
mov qword [rbx + 0x78], r13
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x90], r13
lea rax, [0x180034acf]
mov r9b, 1
mov r8, rbp
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], r13
mov dword [rbx + 0x28], 0xffffffff
mov dword [rbx + 0x2c], 0xffffffff
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], 0xffffffff
mov dword [rbx + 0x38], 0xffffffff
mov dword [rbx + 0x3c], r13d
mov qword [rbx + 0x40], r13
and byte [rbx + 0x98], 0xe0
mov dword [rbx + 0x48], 0xffffffff
mov dword [rbx + 0x50], 0xffffffff
mov dword [rbx + 0x54], 0xffffffff
mov dword [rbx + 0x58], 0xffffffff
mov dword [rbx + 0x5c], 0xffffffff
mov dword [rbx + 0x4c], r13d
mov dword [rbx + 8], 3
lea rax, [0x180041780]
mov rcx, rbx
mov qword [rbx], rax
mov rax, qword [rdi + 0x98]
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x20], rax
call fcn.18010e580
test eax, eax
js 0x180113569
mov rax, qword [rsi]
mov qword [rbx + 0x20], rax
mov rax, qword [rsi + 8]
mov qword [rbx + 0x28], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x30], rax
mov rax, qword [rsi + 0x18]
mov qword [rbx + 0x38], rax
mov rax, qword [rsi + 0x20]
mov qword [rbx + 0x60], r12
mov qword [rbx + 0x40], rax
mov qword [r12 + 0x10], rbx
cmp byte [rsp + 0x70], r13b
jne 0x18011358e
cmp rbp, qword [rdi + 0x3b0]
je 0x18011358e
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.180113ee0
test eax, eax
je 0x1801135be
mov byte [rdi + 0x468], 1
mov rax, r13
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rbx + 0x80], r13
mov qword [rbx + 0x68], rax
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x1801135b6
mov qword [rcx + 0x80], rbx
mov qword [rax + 0x78], rbx
mov rax, rbx
jmp 0x180113575
mov qword [rax + 0x70], rbx
mov qword [rax + 0x78], rbx
mov rax, rbx
jmp 0x180113575
Function at 0x180113920
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor r14d, r14d
mov r13, r8
mov rsi, rdx
mov rdi, rcx
mov ebx, r14d
test r9, r9
je 0x180113950
mov r9, qword [r9 + 0x18]
inc ebx
test r9, r9
jne 0x180113945
mov r9, qword [rcx + 0xe0]
xor r8d, r8d
mov qword [rsp + 0x68], rbp
call fcn.180117880
mov r12, rax
test rax, rax
je 0x180113b3b
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x18011397f
mov rax, r14
jmp 0x180113985
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
mov rbp, rax
test rax, rax
je 0x180113b3b
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov dword [rax + 0x28], 0xffffffff
mov qword [rax + 0x30], r14
mov dword [rax + 0x38], r14d
mov dword [rax + 0x3c], r14d
mov dword [rbp + 8], 9
lea rax, [0x180043550]
mov qword [rbp], rax
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], ebx
mov rcx, qword [rdi + 0x98]
lea rax, [rsp + 0x60]
lea rdx, [rcx + 0x58]
lea r9, [0x18003dc70]
mov r8d, 0xf
add rcx, 0x78
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], rax
call fcn.180222570
test eax, eax
js 0x180113b42
mov r9, qword [rsp + 0x60]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.18010d1a0
mov r12, rax
test rax, rax
je 0x180113b42
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x180113a48
mov rax, r14
jmp 0x180113a4e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x120
mov r8d, 0x10
call fcn.180243b70
test rax, rax
je 0x180113b42
mov rcx, rax
call fcn.18010eb60
mov rbx, rax
test rax, rax
je 0x180113b42
mov rcx, qword [rdi + 0x98]
mov rdx, qword [rdi + 8]
lea r8, [0x180041c20]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, rax
call fcn.18010e580
test eax, eax
js 0x180113b42
mov rax, qword [rsi]
mov qword [rbx + 0x20], rax
mov rax, qword [rsi + 8]
mov qword [rbx + 0x28], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x30], rax
mov rax, qword [rsi + 0x18]
mov qword [rbx + 0x38], rax
mov rax, qword [rsi + 0x20]
mov qword [rbx + 0x60], rbp
mov qword [rbx + 0xa0], 0x20
mov qword [rbx + 0xb0], r12
mov qword [rbx + 0x40], rax
mov eax, dword [rdi + 0x470]
mov dword [rbx + 0x50], eax
inc dword [rdi + 0x470]
mov byte [rdi + 0x46d], 1
mov rcx, qword [rbx + 0x60]
mov dword [rbx + 0x4c], r14d
test rcx, rcx
je 0x180113b12
mov rax, qword [rcx]
call qword [rax + 8]
mov dword [rbx + 0x4c], eax
mov eax, dword [rdi + 0x488]
mov dword [rbx + 0x48], eax
mov eax, dword [rbx + 0x4c]
add dword [rdi + 0x488], eax
and byte [rbx + 0x98], 0xef
or byte [rbx + 0x108], 2
mov qword [r13 + 0x60], rbx
mov rax, r13
jmp 0x180113b44
mov byte [rdi + 0x468], 1
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180113f60
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ecx, dword [0x18025e63c]
mov rbp, r8
mov esi, edx
test ecx, ecx
jns 0x180113f85
xor eax, eax
jmp 0x180113f8b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0xa8
mov r8d, 0x10
mov qword [rsp + 0x40], rbx
call fcn.180243b70
test rax, rax
je 0x180114050
mov rcx, rax
call fcn.18010ea80
mov rbx, rax
test rax, rax
je 0x180114050
mov rcx, qword [rdi + 0x98]
mov rdx, qword [rdi + 8]
mov r9b, 1
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, rbp
call fcn.18010e580
test eax, eax
js 0x180114050
mov dword [rbx + 0xa0], esi
mov rax, qword [rdi + 8]
test rax, rax
je 0x18011403d
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x80], 0
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x180114025
mov qword [rcx + 0x80], rbx
mov qword [rax + 0x78], rbx
mov qword [rdi + 8], rbx
mov byte [rdi + 0x46d], 1
mov rax, rbx
jmp 0x180114059
mov qword [rax + 0x70], rbx
mov qword [rax + 0x78], rbx
mov qword [rdi + 8], rbx
mov byte [rdi + 0x46d], 1
mov rax, rbx
jmp 0x180114059
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov byte [rdi + 0x46d], 1
mov rax, rbx
jmp 0x180114059
mov byte [rdi + 0x468], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1801162e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rdx + 0x38]
mov rbx, r8
mov rbp, rdx
test rcx, rcx
je 0x18011639a
mov rdx, rbx
call fcn.18011b4a0
mov rdi, rax
test rax, rax
je 0x18011639a
test byte [rax + 0x128], 8
je 0x18011639a
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rax + 0x60]
cmp rcx, rdx
je 0x18011636c
test rcx, rcx
je 0x18011634a
test rdx, rdx
je 0x18011634a
mov rax, qword [rcx]
call qword [rax + 0x68]
test al, al
jne 0x18011636c
mov rax, qword [rbx + 0x18]
lea rdx, [rbx + 0x20]
lea r9, [0x1800426d0]
mov r8d, 0xc25
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.18010c480
or byte [rbx + 0x128], 8
mov rax, qword [rdi + 0x120]
mov r9, rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rbp
mov qword [rbx + 0x120], rax
call fcn.18011b6b0
test eax, eax
js 0x18011653f
mov rsi, qword [rbp + 0x40]
test rsi, rsi
je 0x180116522
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov rdi, qword [rcx + 0x70]
test rdi, rdi
je 0x180116515
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rdi + 0x10]
cmp byte [rcx], 0
jne 0x1801163e2
cmp byte [rax], 0
jmp 0x1801163ee
cmp byte [rax], 0
je 0x180116505
cmp rcx, rax
sete al
test al, al
je 0x180116505
mov rdx, rbx
mov rcx, rdi
call fcn.18010ef00
test al, al
je 0x180116505
cmp dword [rbx + 8], 4
jne 0x180116505
mov rax, qword [rdi + 0xa8]
test rax, rax
jne 0x180116434
cmp qword [rbx + 0xa8], rax
je 0x180116459
test rax, rax
je 0x180116505
cmp qword [rbx + 0xa8], 0
je 0x180116505
mov eax, dword [rbx + 0xb0]
cmp dword [rdi + 0xb0], eax
sete al
test al, al
je 0x180116505
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rdi + 0x60]
cmp rcx, rdx
je 0x1801164a3
test rcx, rcx
je 0x18011647a
test rdx, rdx
je 0x18011647a
mov rax, qword [rcx]
call qword [rax + 0x68]
test al, al
jne 0x1801164a3
mov rcx, rbx
call fcn.180093ef0
lea r9, [0x1800426d0]
mov r8d, 0xc25
mov rdx, rax
mov rax, qword [rbx + 0x18]
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.18010c480
or byte [rbx + 0x128], 8
mov qword [rbx + 0x120], rdi
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801164bf
xor eax, eax
jmp 0x1801164c5
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x18
lea r8d, [rdx - 8]
call fcn.180243b70
mov r11, rax
test rax, rax
jne 0x1801164e6
mov eax, 0x8007000e
jmp 0x180116501
mov qword [rax], rbx
mov qword [rax + 8], rbp
mov rax, qword [rdi + 0x118]
mov qword [r11 + 0x10], rax
mov qword [rdi + 0x118], r11
xor eax, eax
test eax, eax
js 0x18011653f
mov rdi, qword [rdi + 0x80]
test rdi, rdi
jne 0x1801163d0
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1801163b0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
cmp eax, 0x8007000e
jne 0x180116524
mov byte [r12 + 0x468], 1
jmp 0x180116524
Function at 0x180116d80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r13
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rbp, r9
mov ebx, r8d
mov r13, rdx
mov rsi, rcx
jne 0x180116db0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop rsi
pop rbp
ret
movabs rax, 0xfffffffdfffffff7
test rax, r9
je 0x180116df5
mov eax, 0x74
mov ecx, 0x63
cmp ebx, 5
cmove eax, ecx
lea r9, [0x180042828]
mov r8d, 0xbe8
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.18010c480
movabs r11, 0x200000008
and rbp, r11
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
cmp ebx, 5
jne 0x180116e54
mov ecx, dword [0x18025e63c]
xor edi, edi
test ecx, ecx
jns 0x180116e15
mov rax, rdi
jmp 0x180116e1b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0xc0
mov r8d, 0x10
call fcn.180243b70
test rax, rax
je 0x180116fa3
mov rcx, rax
call fcn.18010f000
mov rbx, rax
test rax, rax
je 0x180116fa3
mov r12d, 4
jmp 0x180116ec6
mov ecx, dword [0x18025e63c]
xor edi, edi
test ecx, ecx
jns 0x180116e65
mov rax, rdi
jmp 0x180116e6b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0xc0
mov r8d, 0x10
call fcn.180243b70
mov rbx, rax
test rax, rax
je 0x180116fa3
mov rcx, rax
call fcn.18010ea80
or byte [rcx + 0x98], 8
lea rax, [0x180041758]
mov qword [rcx], rax
mov qword [rcx + 0xa8], rdi
mov qword [rcx + 0xb0], rdi
mov qword [rcx + 0xb8], rdi
mov dword [rcx + 8], 6
mov r12d, 5
mov rdx, qword [rsp + 0x78]
lea r9, [rbx + 0xb0]
mov r8, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.180113d80
mov r11, qword [rsi + 0x98]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsi + 8]
mov r9b, 1
mov rcx, rbx
mov qword [rsp + 0x20], r11
call fcn.18010e580
test eax, eax
js 0x180116fa3
mov rax, qword [r13]
mov qword [rbx + 0x20], rax
mov rax, qword [r13 + 8]
mov qword [rbx + 0x28], rax
mov rax, qword [r13 + 0x10]
mov qword [rbx + 0x30], rax
mov rax, qword [r13 + 0x18]
mov qword [rbx + 0x38], rax
mov rax, qword [r13 + 0x20]
mov qword [rbx + 0x40], rax
mov eax, dword [rsi + 0x48c]
mov dword [rbx + 0x48], eax
inc dword [rsi + 0x48c]
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0xb8], rax
mov dword [rbx + 0xa0], r12d
mov qword [rbx + 0xa8], rbp
mov rax, qword [rsi + 8]
mov qword [rbx + 0x80], rdi
mov qword [rbx + 0x68], rax
mov rcx, qword [rax + 0x78]
test rcx, rcx
je 0x180116f8e
mov qword [rcx + 0x80], rbx
mov qword [rax + 0x78], rbx
mov qword [rsi + 8], rbx
mov byte [rsi + 0x46d], 1
jmp 0x180116fad
mov qword [rax + 0x70], rbx
mov qword [rax + 0x78], rbx
mov qword [rsi + 8], rbx
mov byte [rsi + 0x46d], 1
jmp 0x180116fad
mov byte [rsi + 0x468], 1
mov rbx, rdi
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop rsi
pop rbp
ret
Function at 0x180116fd0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x18025e63c]
mov edi, edx
test ecx, ecx
jns 0x180116fed
xor eax, eax
jmp 0x180116ff3
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x38
lea r8d, [rdx - 0x28]
call fcn.180243b70
test rax, rax
je 0x18011704f
lea rcx, [0x180043320]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 2
mov qword [rax], rcx
mov dword [rax + 0x30], 0x11
mov dword [rax + 0x30], edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov byte [rbx + 0x468], 1
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x180117330
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x18025e63c]
xor r12d, r12d
mov rdi, r9
mov rsi, r8
mov ebp, edx
test ecx, ecx
jns 0x180117367
mov rax, r12
jmp 0x18011736d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x50
lea r8d, [rdx - 0x40]
call fcn.180243b70
test rax, rax
je 0x1801173d1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 6
mov dword [rax + 0x30], 0x10
mov dword [rax + 0x4c], 1
lea rcx, [0x180043400]
mov qword [rax], rcx
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x30], ebp
mov qword [rax + 0x38], rsi
mov qword [rax + 0x40], rdi
mov dword [rax + 0x48], ecx
test ecx, ecx
je 0x1801173db
mov dword [rax + 0x4c], ecx
jmp 0x1801173db
mov byte [rbx + 0x468], 1
mov rax, r12
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1801176d0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
push rbp
push r12
sub rsp, 0x30
mov rbx, r9
mov r12, rdx
mov rbp, rcx
test r9, r9
jne 0x1801176f2
xor eax, eax
add rsp, 0x30
pop r12
pop rbp
pop rbx
ret
mov rax, qword [r9]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
call qword [rax + 0x60]
test al, al
je 0x180117727
mov rax, qword [rbx]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x18]
mov edi, dword [rsp + 0x68]
jmp 0x18011773e
mov rax, qword [rbx]
mov rcx, rbx
mov dword [rsp + 0x20], 1
call qword [rax + 8]
mov edi, eax
mov dword [rsp + 0x68], eax
mov r9, qword [rbp + 0xc0]
mov esi, dword [rsp + 0x20]
mov r8d, 0x200
mov rdx, r12
mov rcx, rbp
call fcn.180117880
xor r12d, r12d
mov rbx, rax
test rax, rax
je 0x180117856
cmp esi, 1
ja 0x180117777
cmp edi, 1
jbe 0x180117860
cmp esi, 1
jne 0x1801177eb
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x18011778b
mov rax, r12
jmp 0x180117791
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x180117856
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov dword [rax + 0x28], 0xffffffff
mov qword [rax + 0x30], r12
mov dword [rax + 0x38], r12d
mov dword [rax + 0x3c], r12d
mov dword [rax + 8], 9
lea rcx, [0x180043550]
mov qword [rax], rcx
mov qword [rax + 0x30], rbx
mov rbx, rax
mov dword [rax + 0x38], esi
mov dword [rax + 0x3c], edi
jmp 0x180117860
mov ecx, dword [0x18025e63c]
test ecx, ecx
jns 0x1801177fa
mov rax, r12
jmp 0x180117800
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax + 8]
mov edx, 0x40
lea r8d, [rdx - 0x30]
call fcn.180243b70
test rax, rax
je 0x180117856
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov dword [rax + 0x28], 0xffffffff
mov dword [rax + 8], 8
mov qword [rax + 0x30], r12
mov dword [rax + 0x38], r12d
mov dword [rax + 0x3c], r12d
lea rcx, [0x1800434e0]
mov qword [rax], rcx
mov qword [rax + 0x30], rbx
mov rbx, rax
mov dword [rax + 0x38], esi
mov dword [rax + 0x3c], edi
jmp 0x180117860
mov byte [rbp + 0x468], 1
mov rbx, r12
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rax, rbx
add rsp, 0x30
pop r12
pop rbp
pop rbx
ret