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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
lea rsi, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [rsi]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008151e
nop
cmp qword [rax], rbx
je 0x140081538
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140081510
mov qword [rsp + 0x20], rdi
mov rbx, qword [rdi]
cmp byte [rbx + 0x400], 0
jne 0x140081550
mov byte [rbx + 0x400], 1
jmp 0x14008155d
cmp qword [rax + 8], 0
je 0x14008151e
mov rdx, rdi
mov rcx, rdi
call fcn.140082280
nop
jmp 0x14008164b
mov ecx, 0x2b0
call fcn.1400ace1c
mov rbx, rax
mov qword [rsp + 0x28], rbx
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rbx + 0x20], r14
lea rax, [fcn.140081870]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
mov rdx, rdi
call fcn.140081ea0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140046ae0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
test al, al
je 0x140081641
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.140081870
nop
lea rcx, [rsp + 0x38]
call fcn.1400468b0
nop
mov rdx, qword [rsp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x20]
call fcn.140081da0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140081680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400816de
nop
cmp qword [rax], rbx
je 0x1400816f8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400816d0
mov qword [rsp + 0x30], rdi
mov rsi, qword [rdi]
cmp byte [rsi + 0x400], 0
jne 0x140081710
mov byte [rsi + 0x400], 1
jmp 0x14008171d
cmp qword [rax + 8], 0
je 0x1400816de
mov rdx, rdi
mov rcx, rdi
call fcn.1400821c0
nop
jmp 0x140081837
mov ecx, 0x198
call fcn.1400ace1c
mov rsi, rax
mov qword [rsp + 0x38], rsi
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsi + 0x20], r15
lea rax, [fcn.140081c60]
mov qword [rsi + 0x28], rax
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov dword [rsi + 0x30], r15d
lea rbx, [rsi + 0x38]
mov qword [rsp + 0x50], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.14006f890
nop
add rbx, 0x68
mov qword [rsp + 0x20], rbx
lea rdx, [rdi + 0x68]
mov rcx, rbx
call fcn.14007d4c0
movups xmm0, xmmword [rdi + 0x150]
movups xmmword [rbx + 0xe8], xmm0
mov r8, rsi
mov rdx, r14
mov rcx, rbp
call fcn.140046ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x14008182d
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [r14]
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rbp + 0x28]
call fcn.140081c60
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rsp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.140081e20
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400822c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14008231e
nop
cmp qword [rax], rbx
je 0x140082338
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140082310
mov qword [rsp + 0x30], rsi
mov rdi, qword [rsi]
cmp byte [rdi + 0x400], 0
jne 0x140082350
mov byte [rdi + 0x400], 1
jmp 0x14008235d
cmp qword [rax + 8], 0
je 0x14008231e
mov rdx, rsi
mov rcx, rsi
call fcn.1400829f0
nop
jmp 0x14008246a
mov ecx, 0x2d8
call fcn.1400ace1c
mov rdi, rax
mov qword [rsp + 0x38], rdi
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rdi + 0x20], r15
lea rax, [fcn.1400827c0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x50], rbx
mov rax, qword [rsi]
mov qword [rbx], rax
lea rdx, [rsi + 8]
lea rcx, [rbx + 8]
call fcn.14005e710
nop
lea rdx, [rsi + 0x68]
lea rcx, [rbx + 0x68]
call fcn.140082150
nop
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.140046ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x140082460
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [r14]
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, qword [rbp + 0x28]
call fcn.1400827c0
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rsp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.140082970
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400824a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400824fe
nop
cmp qword [rax], rbx
je 0x140082518
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400824f0
mov qword [rsp + 0x30], rsi
mov rdi, qword [rsi]
cmp byte [rdi + 0x400], 0
jne 0x140082530
mov byte [rdi + 0x400], 1
jmp 0x14008253d
cmp qword [rax + 8], 0
je 0x1400824fe
mov rdx, rsi
mov rcx, rsi
call fcn.140082a30
nop
jmp 0x140082642
mov ecx, 0x1c8
call fcn.1400ace1c
mov rdi, rax
mov qword [rsp + 0x38], rdi
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rdi + 0x20], r15
lea rax, [fcn.140082680]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.14006f890
nop
lea rdx, [rsi + 0x68]
lea rcx, [rbx + 0x68]
call fcn.1400820e0
nop
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.140046ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x140082638
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [r14]
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, qword [rbp + 0x28]
call fcn.140082680
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rsp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.1400828f0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400831b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWAREASUSArmouryDevice
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008325c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Installation_location
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008325c
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140083240
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140004a60
mov al, 1
jmp 0x14008325e
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x450
pop rbx
ret
Function at 0x1400833e0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0x90
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, qword [rbp + 0x7f]
mov r14, r9
mov rdi, qword [rbp + 0x6f]
mov ebx, r8d
mov r12, rdx
mov r15, rcx
mov eax, dword [rsi]
cmp eax, 0x40
jne 0x140083439
mov dword [rbp - 0x19], 0x2745
call fcn.1400e5a00
mov qword [rbp - 0x11], rax
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rsi], xmm0
mov eax, dword [rsi]
test eax, eax
jne 0x14008354c
mov qword [rsp + 0x88], r13
xor r13d, r13d
test r14, r14
je 0x1400834cf
test rdi, rdi
je 0x1400834cf
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], r13
mov qword [rsp + 0x38], rax
mov r9d, ebx
lea rax, [rbp - 0x31]
mov dword [rbp - 0x1d], r13d
mov qword [rsp + 0x30], rax
mov r8d, ebx
lea rax, [rbp - 0x1d]
mov qword [rbp - 0x31], r13
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rbp - 0x29]
mov dword [rbp - 0x21], r13d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
movsxd rbx, dword [rbp - 0x21]
cmp rbx, qword [rdi]
jbe 0x1400834bd
mov dword [rbp - 0x41], 0x2726
call fcn.1400e5a00
mov qword [rbp - 0x39], rax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rsi], xmm0
jmp 0x1400834cf
mov rdx, qword [rbp - 0x31]
mov r8, rbx
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rbx
mov rbx, qword [rbp + 0x77]
mov qword [rbp - 0x19], r15
cmp rbx, 0xffffffffffffffff
jne 0x1400834e6
mov dword [rbp - 0x41], 0x2719
jmp 0x140083534
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rbp - 0x19]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1400e5a00
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x41], eax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rsi], xmm0
test edi, edi
jne 0x140083544
mov dword [rbp - 0x41], r13d
call fcn.1400e5a00
mov qword [rbp - 0x39], rax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rsi], xmm0
mov r13, qword [rsp + 0x88]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140092af0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x160
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x50], rax
movzx eax, byte [rdx + 0x18]
mov byte [rsp + 0x58], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov rcx, qword [rdx + 0x58]
test rcx, rcx
je 0x140092b60
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax]
mov qword [rbp - 0x68], rax
mov rax, qword [rbx + 0x60]
mov qword [rbp - 0x60], rax
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140093250
nop
lea rdi, [rbx + 8]
mov rsi, qword [rbx]
mov rbx, qword [rdi]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140092ba2
cmp qword [rax], rbx
je 0x140092cf4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140092b90
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x50]
mov ecx, 0x108
call fcn.140042670
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.1400944c0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x50]
call fcn.140094630
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140046ae0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
test al, al
je 0x140092c98
xor eax, eax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov rax, qword [rdi]
mov qword [rbp + 0x30], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0x38], rax
lea rdx, [rbp + 0x30]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.1400944c0
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rbp + 0x40]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x140092cb5
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rbp], r14
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140092cd0
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
nop
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140092ba2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400946a0
nop
jmp 0x140092c98
Function at 0x1400a9790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
lea rsi, [rcx + 8]
mov rbp, qword [rcx]
mov rbx, qword [rsi]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a97ee
nop
cmp qword [rax], rbx
je 0x1400a9808
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a97e0
mov qword [rsp + 0x20], rdi
mov rbx, qword [rdi]
cmp byte [rbx + 0x400], 0
jne 0x1400a9820
mov byte [rbx + 0x400], 1
jmp 0x1400a982d
cmp qword [rax + 8], 0
je 0x1400a97ee
mov rdx, rdi
mov rcx, rdi
call fcn.1400a9f40
nop
jmp 0x1400a991b
mov ecx, 0x178
call fcn.1400ace1c
mov rbx, rax
mov qword [rsp + 0x28], rbx
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rbx + 0x20], r14
lea rax, [fcn.1400a9c70]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
mov rdx, rdi
call fcn.1400a9ec0
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140046ae0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
test al, al
je 0x1400a9911
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call fcn.1400a9c70
nop
lea rcx, [rsp + 0x38]
call fcn.1400468b0
nop
mov rdx, qword [rsp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x20]
call fcn.1400a9e40
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a9950
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400a99ae
nop
cmp qword [rax], rbx
je 0x1400a99c8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400a99a0
mov qword [rsp + 0x30], rsi
mov rdi, qword [rsi]
cmp byte [rdi + 0x400], 0
jne 0x1400a99e0
mov byte [rdi + 0x400], 1
jmp 0x1400a99ed
cmp qword [rax + 8], 0
je 0x1400a99ae
mov rdx, rsi
mov rcx, rsi
call fcn.1400a9f80
nop
jmp 0x1400a9af2
mov ecx, 0x160
call fcn.1400ace1c
mov rdi, rax
mov qword [rsp + 0x38], rdi
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rdi + 0x20], r15
lea rax, [fcn.1400a9b30]
mov qword [rdi + 0x28], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov dword [rdi + 0x30], r15d
lea rbx, [rdi + 0x38]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.14006f890
nop
lea rdx, [rsi + 0x68]
lea rcx, [rbx + 0x68]
call fcn.1400a9710
nop
mov r8, rdi
mov rdx, r14
mov rcx, rbp
call fcn.140046ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
test al, al
je 0x1400a9ae8
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [r14]
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
call fcn.1400e5a00
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, qword [rbp + 0x28]
call fcn.1400a9b30
nop
lea rcx, [rsp + 0x20]
call fcn.1400468b0
nop
mov rdx, qword [rsp + 0x70]
mov ecx, dword [0x1401a581c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rsp + 0x30]
call fcn.1400a9dc0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400acdf0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400abfa0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rdi, rdx
mov rsi, 0xffffffffffffffff
mov rbx, rsi
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400abfd0
test ebx, ebx
jle 0x1400ac138
mov ecx, ebx
add ecx, 1
cmovb rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
lea ecx, [rbx + 1]
movsxd rdx, ecx
mov r8, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movsxd rcx, ebx
cmp byte [rcx + rbp - 1], 0x2f
jne 0x1400ac014
mov byte [rcx + rbp - 1], 0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
test eax, eax
je 0x1400ac13c
lea rdi, [rbp + 1]
nop dword [rax]
movzx ebx, byte [rdi]
test bl, bl
je 0x1400ac058
movzx eax, bl
nop word [rax + rax]
movzx ebx, al
cmp al, 0x5c
je 0x1400ac058
cmp al, 0x2f
je 0x1400ac058
inc rdi
movzx ebx, byte [rdi]
movzx eax, bl
test bl, bl
jne 0x1400ac040
mov byte [rdi], 0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
cmp eax, esi
jne 0x1400ac073
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 2
je 0x1400ac082
test bl, bl
je 0x1400ac13c
mov byte [rdi], bl
inc rdi
jmp 0x1400ac030
movdqa xmm0, xmmword [0x140147830]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
inc rsi
cmp byte [rsi + rbp], 0
jne 0x1400ac095
mov r8, rsi
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.140004c30
nop
mov r9d, reloc.WLDAP32.dll_Ordinal_26
lea r8, str.couldnt_create_directory
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140014710
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rbx, qword [rsp + 0x28]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d1d0
nop
lea rcx, [rsp + 0x28]
call fcn.140004bd0
nop
lea rcx, [rsp + 0x48]
call fcn.140004bd0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400ac14a
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret