joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400806d0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1028
call fcn.14000a2b0
sub rsp, rax
call qword [sym.imp.msvcrt.dll_getenv]
mov byte [rsp + 0x20], 0
test rax, rax
je 0x14008071b
lea rdx, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x14008071b
lea rcx, [rsp + 0x20]
call qword [case.0x140066097.0]
add rsp, 0x1028
ret
xor eax, eax
add rsp, 0x1028
ret

Function at 0x1400826d0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, r8
xor r14d, r14d
mov rbx, r9
mov rsi, rdx
mov rbp, rcx
mov r8, r9
mov rcx, rdi
xor edx, edx
mov qword [rax - 0x28], r14
mov qword [rax - 0x30], r14
mov dword [rax + 0x20], r14d
mov dword [rax - 0x38], 4
mov dword [rax - 0x34], ebx
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x90]
lea rcx, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1400827ea
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400827c8
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400827c8
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x88]
lea edx, [r14 + 4]
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400827c8
mov eax, dword [rsp + 0x88]
cmp rbx, rax
jb 0x1400827c8
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x34]
lea edx, [r14 + 2]
mov r8, rdi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400827d8
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400827ea
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140085ba0
Capabilities:
Resolve dns

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
lea r9, [rsp + 0x68]
mov ebx, r13d
mov r15d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x140085d64
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rdi
test rsi, rsi
je 0x140085d44
mov qword [rsp + 0x50], rbp
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x140085bfd
lea ebp, [rax + 0xe]
jmp 0x140085c09
cmp eax, 0x17
jne 0x140085cb1
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], r13
je 0x140085cb1
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140085cb1
cmp rax, rbp
jb 0x140085cb1
mov ecx, gethostbyname
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140085cec
mov ecx, dword [rsi]
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0x10], ebp
mov dword [rax + 0xc], ecx
mov rcx, rbp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
call qword [sub.msvcrt.dll_malloc]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140085cdb
mov rdx, qword [rsi + 0x20]
mov r8, rbp
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x140085c9e
call qword [case.0x140066097.0]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x140085cc0
test rbx, rbx
cmove rbx, rdi
test r15, r15
je 0x140085cae
mov qword [r15 + 0x28], rdi
mov r15, rdi
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140085bf0
jmp 0x140085cf2
mov rcx, qword [rdi + 0x20]
mov r14d, 8
call qword [fcn.14000a1bc]
mov rcx, rdi
call qword [fcn.14000a1bc]
jmp 0x140085cf2
mov rcx, rdi
mov r14d, 8
call qword [fcn.14000a1bc]
jmp 0x140085cf2
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x50]
test rcx, rcx
je 0x140085d07
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x140085d3f
test rbx, rbx
je 0x140085d3a
mov rcx, qword [rbx + 0x20]
call qword [fcn.14000a1bc]
mov rcx, qword [rbx + 0x18]
call qword [fcn.14000a1bc]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [fcn.14000a1bc]
mov rbx, rdi
test rdi, rdi
jne 0x140085d11
mov rbx, r13
jmp 0x140085d53
test rbx, rbx
jne 0x140085d53
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov qword [r12], rbx
mov eax, r14d
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x14008ace0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov edx, 1
mov ebx, 2
mov rsi, r9
lea r8d, [rdx + 5]
mov ecx, ebx
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov dword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008aed1
xor eax, eax
mov ecx, 0x7f000001
mov qword [rsp + 0x38], rax
mov word [rsp + 0x38], bx
mov qword [rsp + 0x40], rax
call qword [sym.imp.WS2_32.dll_htonl]
lea r9, [rsp + 0x30]
lea r8d, [rbx + 2]
mov dword [rsp + 0x3c], eax
xor eax, eax
mov edx, 0xffff
mov rcx, rdi
mov qword [rsi + 8], 0xffffffffffffffff
mov qword [rsi], 0xffffffffffffffff
mov word [rsp + 0x3a], ax
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14008aeb5
lea r8d, [rbx + 0xe]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14008aeb5
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14008aeb5
lea edx, [rbx - 1]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x14008aeb5
lea edx, [rbx - 1]
xor r8d, r8d
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x14008aeb5
lea r8d, [rbx + 0xe]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14008aeb5
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x14008aeb5
lea r8, [0x1400ca3a8]
lea edx, [rbx + 0xa]
lea rcx, [rsp + 0x48]
mov r9, rsi
call fcn.14007d200
lea rax, [rsp + 0x48]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14008ae41
mov rcx, qword [rsi]
lea rdx, [rsp + 0x48]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
movsxd rcx, eax
cmp rcx, rbx
jne 0x14008aeb5
mov rcx, qword [rsi + 8]
xor r9d, r9d
lea rdx, [rsp + 0x54]
lea r8d, [r9 + 0xc]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, rbx
jne 0x14008aeb5
lea rdx, [rsp + 0x54]
lea rcx, [rsp + 0x48]
mov r8, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14008aeb5
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
or eax, 0xffffffff
add rsp, 0x60
pop rdi
ret

Function at 0x14008aef0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret
Function at 0x1400903a0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1400903da
lea edx, [rax + 0x2e]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1400903d8
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140097130
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [sub.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140097172
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400971b5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140097211
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
dec rbp
jne 0x1400971d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140097253
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400cce51]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400cce52]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140097220
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140097ce8
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1400e0a90], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1400e0aa0]
jne 0x140097d35
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1400e0ac8], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1400e0a90], 1
mov ecx, dword [0x1400e0ac8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140097e0a
mov rcx, qword [0x1400dfdb0]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140097e35
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400e0a98]
test rax, rax
je 0x140097d85
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1400e0a98], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x140097e50]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1400e0ac8]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1400dfdb0]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140097e35
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140098dc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
mov r8d, 0x80000000
test rcx, rcx
je 0x140098e2f
mov qword [rsp], rbx
lea rbx, [0x1400cf690]
test r10b, 1
je 0x140098e23
mov ecx, r11d
mov eax, r8d
mov edx, 0x80000000
and ecx, 0x1f
xor r8d, r8d
mov r9d, dword [rbx + rcx*4]
nop dword [rax + rax]
test r9d, edx
je 0x140098e10
lea ecx, [rdx - 1]
xor r8d, eax
test r9d, ecx
je 0x140098e23
shr edx, 1
test al, 1
je 0x140098e1f
shr eax, 1
xor eax, 0xedb88320
jmp 0x140098e00
shr eax, 1
jmp 0x140098e00
inc r11d
sar r10, 1
jne 0x140098de0
mov rbx, qword [rsp]
mov eax, r8d
add rsp, 8
ret
Function at 0x140002350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rbx, r9
mov edi, r8d
mov rsi, rdx
mov r14, rcx
mov cl, 1
call fcn.14000bc00
xor r15d, r15d
mov qword [rbp - 0x48], r15
mov dword [rbp - 0x40], r15d
lea r8d, [r15 - 1]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14000e050
nop
test rbx, rbx
je 0x1400023de
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x1400023cc
cmp byte [rax], r15b
je 0x1400023cc
lea r8d, [r15 - 1]
lea rdx, [0x140097b40]
lea rcx, [rbp - 0x48]
call fcn.14000e050
mov r8d, 0xffffffff
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.14000e050
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
xor r8d, r8d
lea rdx, [0x140002200]
lea ecx, [r8 + 5]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rdx, rax
mov ecx, dword [0x1400c5818]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [rbp - 0x20], r15d
mov qword [rbp - 0x18], r15
mov byte [rbp - 0x10], 0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.14000e8d0
nop
mov dword [rbp - 0x38], r15d
mov qword [rbp - 0x30], r15
mov byte [rbp - 0x28], 0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.14000e8d0
nop
or edi, 0x50000
mov r9d, edi
mov r8, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
cmp byte [rbp - 0x28], 0
je 0x14000249a
test rcx, rcx
je 0x14000249a
movsxd rdx, dword [rbp - 0x38]
add rdx, rdx
call fcn.140004df0
mov rcx, qword [rbp - 0x30]
call fcn.14003cadc
mov dword [rbp - 0x38], r15d
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x18]
cmp byte [rbp - 0x10], 0
je 0x1400024c6
test rcx, rcx
je 0x1400024c6
movsxd rdx, dword [rbp - 0x20]
add rdx, rdx
call fcn.140004df0
mov rcx, qword [rbp - 0x18]
call fcn.14003cadc
nop
mov ecx, dword [0x1400c5818]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor edx, edx
mov ecx, dword [0x1400c5818]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rbp - 0x48]
call fcn.14003cadc
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000b6e0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
test rdx, rdx
je 0x14000b701
add rsp, 0x50
pop rbx
jmp fcn.14000b8a0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140020fa0
nop
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14000b8a0
nop
mov rcx, qword [rsp + 0x40]
cmp byte [rsp + 0x48], 0
je 0x14000b754
test rcx, rcx
je 0x14000b754
movsxd rdx, dword [rsp + 0x38]
call fcn.140004df0
mov rcx, qword [rsp + 0x40]
call fcn.14003cadc
nop
add rsp, 0x50
pop rbx
ret
Function at 0x1400135d0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x1400c42d8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov ebp, r9d
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.1400130c0
cmp qword [rax], 0
je 0x14001363b
call fcn.1400130c0
mov r10, qword [rax]
test r10, r10
je 0x140013655
mov r9d, ebp
mov r8, rsi
mov edx, edi
mov rcx, rbx
call r10
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14003cb80
add rsp, 0x198
pop rdi
pop rsi
pop rbp
pop rbx
ret
test rbx, rbx
jne 0x14001367f
mov r9d, ebp
mov r8, rsi
mov edx, edi
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x14001361f
lea r8, str.GetLocaleInfoEx
lea rdx, [0x14009bd38]
lea rcx, [rsp + 0x20]
call fcn.140012300
lea rdx, [0x1400c2348]
lea rcx, [rsp + 0x20]
call fcn.14003e874
int3
mov r9d, 0x70
lea r8, str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.7.xlabelcon_windows_64_rvcore_baselocwinutilwin.cxx
lea rdx, str.name__0
lea rcx, [rsp + 0x20]
call fcn.1400101f0
mov rcx, rax
call fcn.1400102f0
int3
Function at 0x140014420
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1b8], rbx
mov rax, qword [0x1400c42d8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rcx
mov ecx, dword [0x1400c5c30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
cmp rax, rbx
jne 0x1400144e6
mov rdx, qword [rbx + 0x18]
mov ecx, dword [0x1400c5c30]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
cmp qword [rbx + 0x10], 0
je 0x140014491
lea rdx, str.restoring_locale
lea rcx, [0x1400c5870]
call fcn.140009100
nop
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400144b1
mov rcx, rdi
call fcn.14001ee00
nop
mov edx, 0x30
mov rcx, rdi
call fcn.14003cad4
nop
mov rcx, qword [rbx + 0x10]
call fcn.14003cadc
nop
mov rcx, qword [rbx]
call fcn.14003cadc
nop
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14003cb80
nop
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rdi
ret
mov r9d, 0x2f
lea r8, str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.7.xlabelcon_windows_64_rvcore_baseloclocalesetter.cxx
lea rdx, str.thrInst__this
lea rcx, [rsp + 0x30]
call fcn.1400101f0
nop
mov rcx, rax
call fcn.1400102f0
nop
int3

Function at 0x140014610
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400c5c30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140014648
mov ecx, dword [0x1400c5c30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp qword [rax], 0
je 0x140014648
mov ecx, dword [0x1400c5c30]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rax, [0x1400c5c20]
add rsp, 0x28
ret
Function at 0x1400193f0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [rsp + 0x40]
mov rcx, qword [rcx + 0x7c]
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 4]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x38], 8
cmp dword [rsp + 0x38], 0x5000
jge 0x14001944b
mov rax, qword [rsp + 0x68]
movsxd rcx, dword [rsp + 0x38]
mov eax, dword [rax + rcx]
add eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x48]
movsxd rdx, dword [rsp + 0x38]
mov dword [rcx + rdx], eax
mov eax, dword [rsp + 0x38]
add eax, 4
mov dword [rsp + 0x38], eax
jmp 0x140019416
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x74]
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x70]
mov ecx, ecx
add rax, rcx
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0xc]
add rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x70]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
call rax

Function at 0x14001ed90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x1400c5cf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rbx, [rdi + 8]
mov qword [rdi], rax
mov qword [rsp + 0x30], rbx
xor esi, esi
mov rcx, rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
call fcn.14001eed0
mov qword [rbx], rax
mov rdx, rdi
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rsi
mov qword [rdi + 0x28], rsi
mov ecx, dword [0x1400c5cf8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x38]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ee00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x1a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400c42d8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rcx
call fcn.14001f550
nop
cmp rax, rbx
je 0x14001ee54
mov ecx, dword [0x1400c5cf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
cmp rax, rbx
jne 0x14001ee9d
mov rdx, qword [rbx]
mov ecx, dword [0x1400c5cf8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbx + 0x18]
call fcn.140001aa0
nop
mov r9, qword [rbx + 8]
mov r8, qword [r9]
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 8]
call fcn.14001f2d0
nop
mov edx, 0x38
mov rcx, qword [rbx + 8]
call fcn.14003cad4
nop
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14003cb80
nop
add rsp, 0x1a0
pop rbx
ret
mov r9d, 0x15
lea r8, str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.7.xlabelcon_windows_64_rvcore_baseloc_transmap.cxx
lea rdx, str.thrInst__this
lea rcx, [rsp + 0x30]
call fcn.1400101f0
nop
mov rcx, rax
call fcn.1400102f0
nop
int3
Function at 0x14001f630
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400c5cf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001f656
mov ecx, dword [0x1400c5cf8]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x28
jmp fcn.14001f550