joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d3f5f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100d3f5fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100d3f60d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100d3f5f5
lea eax, [rcx + 1]
jmp 0x100d3f61b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100d3f62e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100d3f614
sub eax, 3
jb 0x100d3f64e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100d3f69d
sar eax, 1
movsxd rbp, eax
jb 0x100d3f684
jmp 0x100d3f65c
add ebx, ebx
jne 0x100d3f65a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100d3f684
inc ecx
add ebx, ebx
jne 0x100d3f66a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100d3f684
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100d3f67d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100d3f66c
add ecx, 2
jmp 0x100d3f689
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100d3f5b2
jmp 0x100d3f5fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x499610
mov dl, 0xa3
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100d3f6e9
cmp rsi, rcx
jae 0x100d3f6f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100d3f6d0
cmp al, 0x8f
ja 0x100d3f6d0
cmp byte [rsi - 2], 0xf
je 0x100d3f6d6
sub al, 0xe8
cmp al, 1
ja 0x100d3f6ba
cmp rsi, rcx
jae 0x100d3f6f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100d3f6c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100d3f6f1
lodsb al, byte [rsi]
jmp 0x100d3f6d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd3b000]
mov eax, dword [rdi]
or eax, eax
je 0x100d3f74e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xd43758]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100d3f6fe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100d3f748
mov qword [rbx], rax
add rbx, 8
jmp 0x100d3f71e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100d3f7d1], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100d3f7d1
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100d3f7c1
sub rsp, 0xffffffffffffff80
jmp 0x1000032a0
Function at 0x140001000
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
and dword [rax + 8], 0
lea r9, [rax + 8]
xor edx, edx
xor r8d, r8d
lea edi, [rdx + 0xb]
mov ecx, edi
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000112e
mov edx, eax
xor ecx, ecx
mov r8d, 0x37126dd
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov ecx, edi
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x14000112e
mov r14d, dword [rbx]
xor esi, esi
xor r15d, r15d
xor edi, edi
test r14d, r14d
je 0x1400010ae
mov eax, edi
lea rcx, [rbx + 0x30]
imul rbp, rax, 0x128
lea rdx, [0x140001f70]
add rcx, rbp
call sub.ntoskrnl.exe_strcmp
test eax, eax
je 0x1400010a4
inc edi
cmp edi, r14d
jb 0x14000107b
jmp 0x1400010ae
mov rsi, qword [rbx + rbp + 0x18]
mov r15d, dword [rbx + rbp + 0x20]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rsi, rsi
je 0x14000112e
lea r9, [0x140001fa0]
mov rdx, r15
lea r8, [0x140001fb0]
mov rcx, rsi
call fcn.14000119c
mov rbx, rax
test rax, rax
je 0x14000112e
mov esi, dword [rax + 3]
mov r14d, 0x51313dd
mov r15d, 0x7d0
mov r8d, r14d
mov edx, r15d
mov ecx, 0x200
mov rbp, qword [rsi + rax + 7]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x14000112e
mov r8d, r15d
xor edx, edx
mov rcx, rax
call fcn.140001d80
mov edx, r14d
mov qword [rsi + rbx + 7], rdi
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, 1
jmp 0x140001130
xor al, al
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400012e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x43a9c721
mov rsi, rcx
je 0x140001304
mov eax, 0xc0000001
jmp 0x1400013b7
xor edi, edi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x30]
mov ebx, edi
lea ecx, [rdi + 0x42]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400013b5
test rbx, rbx
je 0x14000133d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, dword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x42
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000132d
test rbx, rbx
je 0x1400013b5
mov r8d, dword [rbx]
test r8d, r8d
je 0x1400013aa
mov eax, edi
lea rcx, [rax + rax*2]
mov rdx, qword [rbx + rcx*8 + 8]
and rdx, 0xfffffffffffffffe
test byte [rbx + rcx*8 + 8], 1
je 0x1400013a3
cmp qword [rbx + rcx*8 + 0x10], 0x200000
jne 0x1400013a3
cmp dword [rbx + rcx*8 + 0x18], 0x546e6f43
je 0x1400013c7
inc edi
cmp edi, r8d
jb 0x140001378
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rsi + 8]
mov qword [rax], rdx
jmp 0x1400013b5

Function at 0x1400013d0
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0x43a9c721
mov rdi, rcx
jne 0x140001495
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001495
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140001495
call fcn.1400014ac
mov rcx, qword [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov rsi, qword [rdi + 0x18]
call fcn.1400016d0
test rax, rax
je 0x140001495
mov ecx, eax
mov edx, 0x1000
and ecx, 0xfff
sub edx, ecx
mov rcx, qword [rdi + 0x10]
cmp edx, esi
cmovl esi, edx
and qword [rsp + 0x48], 0
cmp byte [rdi + 0x20], 0
movsxd r8, esi
je 0x140001478
mov rdx, rcx
lea r9, [rsp + 0x48]
mov rcx, rax
call fcn.140001884
jmp 0x140001491
lea rdx, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x14000149a
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x2fc4c4ef0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4c5fb0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c58f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ea108]
test eax, eax
je 0x2fc4c598a
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ea110]
mov qword [rbp - 8], rax
jmp 0x2fc4c596e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5962
cmp qword [rbp - 0x10], 0
je 0x2fc4c5962
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5928
lea rax, [0x2fc4ea0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c598b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5a90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5ab8
mov eax, 0
jmp 0x2fc4c5b06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5ae1
mov eax, 0
jmp 0x2fc4c5b06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5b01
mov eax, 0
jmp 0x2fc4c5b06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5b0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5b8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5b81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5b81
mov rax, qword [rbp - 8]
jmp 0x2fc4c5b9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5b54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003260
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rdx
lea rdx, [r8 + r8*8]
shl rdx, 3
cmp rdx, 0x1000
jb 0x140003290
mov rcx, qword [rax - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000329c
mov rax, rcx
mov rcx, rax
add rsp, 0x28
jmp fcn.1401df0d0
call fcn.1401ee5b8
int3

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

Disassembly:
mov rcx, qword [rcx + 0x10]
jmp fcn.1401df0d0
Function at 0x1400089b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rdx
imul rdx, r8, 0x58
cmp rdx, 0x1000
jb 0x1400089dc
mov rcx, qword [rax - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400089e8
mov rax, rcx
mov rcx, rax
add rsp, 0x28
jmp fcn.1401df0d0
call fcn.1401ee5b8
int3

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

Disassembly:
sub rsp, 0x28
mov rax, rdx
imul rdx, r8, 0x78
cmp rdx, 0x1000
jb 0x140008a2c
mov rcx, qword [rax - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008a38
mov rax, rcx
mov rcx, rax
add rsp, 0x28
jmp fcn.1401df0d0
call fcn.1401ee5b8
int3

Function at 0x140009b00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, qword [rsp + 0x80]
mov rbp, rcx
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x140009b30
lock inc dword [rbx + 8]
mov rbx, qword [rsi + 8]
mov edi, 0xffffffff
test rbx, rbx
je 0x140009b63
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009b63
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009b63
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rsp + 0x70], 0x5000002
jne 0x140009b8c
xor eax, eax
lea r8, [0x140009dd0]
mov qword [rsp + 0x28], rax
mov r9, rbp
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x140009bbc
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009bbc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140009bbc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000edf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1403622b0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rcx
mov rdx, r8
mov rsi, rcx
mov dword [rsp + 0x50], 1
xor r15d, r15d
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], r15d
mov r14d, r15d
mov rdi, r9
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000ef9a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ef9a
mov ecx, dword [rsp + 0x40]
mov eax, 2
inc ecx
mov rbx, 0xffffffffffffffff
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1401df140
mov r8d, dword [rsp + 0x40]
xor edx, edx
inc r8d
mov rcx, rax
mov r14, rax
call fcn.1401e1df0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ef9a
mov rcx, 0xffffffff80000002
mov qword [rsp + 0xb8], rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
lea ecx, [rbx + 2]
mov qword [rsp + 0x30], r15
mov r9d, ebx
mov dword [rsp + 0x28], r15d
mov r8, r14
xor edx, edx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov edi, eax
call fcn.1401df140
mov qword [rsp + 0x38], r15
lea ecx, [rbx + 2]
mov qword [rsp + 0x30], r15
mov r9d, ebx
mov dword [rsp + 0x28], edi
mov r8, r14
xor edx, edx
mov qword [rsp + 0x20], rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
inc rbx
cmp byte [rbx + rbp], r15b
jne 0x14000ef56
mov r8, rbx
lea rcx, [rsp + 0x58]
mov rdx, rbp
call fcn.140004ff0
mov rcx, rbp
call fcn.1401df0d0
mov rcx, r14
call fcn.1401df0d0
movups xmm0, xmmword [rsp + 0x58]
mov rbp, qword [rsp + 0xb8]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000efd3
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
call fcn.1401df0d0
mov qword [rsi], r15
lea rdx, [0x14032c180]
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov rcx, rsi
mov byte [rsi], r15b
call fcn.140004ff0
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401df0b0
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140029670
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x60
cmp byte [0x140374290], 0
mov rsi, r8
mov rbp, rdx
mov r14, rcx
jne 0x14002969b
xor ebx, ebx
jmp 0x1400296ec
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400296e5
lea rbx, [rdi + 8]
test rbx, rbx
je 0x1400296e5
cmp byte [rbx + 0x330], 0
je 0x1400296e7
xor edx, edx
mov rcx, rbx
call fcn.140030fa0
mov rbx, rax
jmp 0x1400296e7
xor ebx, ebx
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x28], 0x10000
lea rdx, [rsp + 0x30]
mov r9, rbp
mov qword [rsp + 0x20], 0
mov r8, r14
mov rcx, rbx
call fcn.1400645e0
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [0x140064500]
call fcn.140055fb0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400647c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov r9, qword [0x1403744a0]
mov r11, rdx
mov r10, qword [0x140374498]
lea rcx, [r10 + r11]
mov r8, rcx
cmp rcx, r9
jb 0x140055f68
xor edx, edx
mov rax, rcx
div r9
mov r8, rdx
mov rax, r10
lock cmpxchg qword [0x140374498], r8
mov r10, rax
jne 0x140055f51
cmp rcx, r9
jb 0x140055f8e
lea r8, [0x140374488]
xor edx, edx
xor ecx, ecx
jmp 0x140029670
ret
Function at 0x14002f470
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
mov qword [0x1403732d8], rax
cmp rax, 0x1000
jbe 0x14002f4af
lea rcx, str._jemalloc_:_Unsupported_system_page_size_n
call fcn.14002ee10
cmp byte [0x14036b1c0], 0
jne 0x14002f548
jmp 0x14002f4ff
cmp dword [0x140374318], 0
mov byte [0x1403732d4], 0
je 0x14002f4cc
cmp byte [0x14036b1c0], 0
jne 0x14002f54e
xor ecx, ecx
mov dword [0x14057b290], 3
mov edx, 0x1000
mov dword [0x1403732d0], 3
mov r8d, 0x2000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x14002f507
mov al, 1
add rsp, 0x50
pop rbx
ret
cmp byte [0x14035b0f8], 0
je 0x14002f52c
mov edx, 0x1000
mov r9d, 4
mov r8d, 0x80000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x14002f533
mov byte [0x14035b0f8], 0
mov edx, 0x1000
mov rcx, rbx
call fcn.14002f400
xor al, al
add rsp, 0x50
pop rbx
ret
call fcn.1401f5dec
int3
lea rcx, str._jemalloc_:_no_MADV_HUGEPAGE_support_n
call fcn.14002ee10
call fcn.1401f5dec
int3
Function at 0x140039300
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x140374290], 0
je 0x140039375
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
test rdi, rdi
je 0x140039357
lea rax, [rdi + 8]
test rax, rax
je 0x140039357
cmp byte [rax + 0x330], bl
je 0x14003935a
xor edx, edx
mov rcx, rax
call fcn.140030fa0
jmp 0x14003935a
mov rax, rbx
mov rdi, qword [rsp + 0x30]
lea rcx, [rax + 0xd8]
test rax, rax
cmovne rbx, rcx
mov rax, rbx
test rbx, rbx
jne 0x14003937c
lea rax, [0x14035bba8]
add rsp, 0x20
pop rbx
ret
Function at 0x140055f40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x60
cmp byte [0x140374290], 0
mov rsi, r8
mov rbp, rdx
mov r14, rcx
jne 0x14002969b
xor ebx, ebx
jmp 0x1400296ec
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14057b280]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400296e5
lea rbx, [rdi + 8]
test rbx, rbx
je 0x1400296e5
cmp byte [rbx + 0x330], 0
je 0x1400296e7
xor edx, edx
mov rcx, rbx
call fcn.140030fa0
mov rbx, rax
jmp 0x1400296e7
xor ebx, ebx
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x28], 0x10000
lea rdx, [rsp + 0x30]
mov r9, rbp
mov qword [rsp + 0x20], 0
mov r8, r14
mov rcx, rbx
call fcn.1400645e0
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [0x140064500]
call fcn.140055fb0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400647c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov r9, qword [0x1403744a0]
mov r11, rdx
mov r10, qword [0x140374498]
lea rcx, [r10 + r11]
mov r8, rcx
cmp rcx, r9
jb 0x140055f68
xor edx, edx
mov rax, rcx
div r9
mov r8, rdx
mov rax, r10
lock cmpxchg qword [0x140374498], r8
mov r10, rax
jne 0x140055f51
cmp rcx, r9
jb 0x140055f8e
lea r8, [0x140374488]
xor edx, edx
xor ecx, ecx
jmp 0x140029670
ret
Function at 0x140079960
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
test rcx, rcx
jne fcn.140023e30
ret

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

Disassembly:
cmp rcx, rdx
jne fcn.140023e30
ret

Function at 0x140079dd0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x100
mov rax, qword [0x1403622b0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, r8
movzx ebp, dx
mov rbx, rcx
call fcn.140079c50
mov word [rsi], ax
test ax, ax
je 0x140079e16
mov r8, rsi
movzx edx, bp
mov rcx, rbx
call fcn.140079d40
jmp 0x140079eea
xor eax, eax
mov qword [rsp + 0x138], rdi
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0xc00
movups xmmword [rsi + 2], xmm0
mov qword [rsi + 0x12], rax
lea rcx, [rsp + 0x60]
mov word [rsi + 0x1a], ax
xor edi, edi
movzx eax, word [rsi]
xorps xmm1, xmm1
mov dword [rsp + 0x2c], eax
mov rdx, rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 3]
mov qword [rsp + 0x60], rax
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x50], rdi
movdqu xmmword [rsp + 0x40], xmm1
call fcn.14007a1c0
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x140079ea1
call fcn.140023e30
test ebx, ebx
je 0x140079ea9
mov ecx, ebx
jmp 0x140079eda
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
test rbx, rbx
je 0x140079ecc
mov eax, dword [rdx + 4]
cmp eax, 2
je 0x140079f05
cmp eax, 0x17
je 0x140079f05
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x140079eb6
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, 0x2af9
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, edi
mov rdi, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401df0b0
add rsp, 0x100
pop rsi
pop rbp
pop rbx
ret
mov r8, qword [rdx + 0x10]
mov rcx, rsi
mov rdx, qword [rdx + 0x20]
call fcn.1401e1740
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movzx ecx, bp
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsi + 2], ax
mov edi, 1
jmp 0x140079ee0