joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a260
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14003a348
mov rdi, rax
movsxd r12, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test r12, r12
je 0x14003a32d
shl r12, 3
lea rbx, [rsp + 0x40]
lea r14, [rsp + 0x28]
mov r15, rdi
jmp 0x14003a301
add r15, 8
mov rax, qword [rsp + 0x30]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rsp + 0x38], r13
add r12, 0xfffffffffffffff8
je 0x14003a32d
mov rcx, r15
call fcn.140065950
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400b0250
mov r13, qword [rsp + 0x38]
cmp r13, qword [rsp + 0x28]
jne 0x14003a2d0
mov rcx, r14
call fcn.140042b90
jmp 0x14003a2d0
mov rcx, rdi
call sub.kernel32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
jmp 0x14003a35f
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

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

Disassembly:
mov rcx, qword [str._A_a_]
xor edx, edx
jmp 0x140047d70

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

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140118390]
jmp 0x140047e50
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140047f1f
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140047f12
je 0x140047f10
test rdi, rdi
je 0x140047e99
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x140047eb5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140011db0
test rax, rax
je 0x140047f39
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047f0b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140011dc0
mov rax, rsi
jmp 0x140047f12
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400cec50
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047e7d
jmp 0x140047f12
mov ecx, 8
mov edx, 0x18
call fcn.1400f3400
int3
Function at 0x14003f980
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x14003fa06
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GlobalMemoryStatusEx
test eax, eax
je 0x14003f9cb
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x14003fa06
call fcn.14006e2b0
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x14003fa06
lea rcx, [rsp + 0x98]
call fcn.14006ef90
test bl, bl
je 0x14003fa9c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.kernel32.dll_K32GetPerformanceInfo
test eax, eax
je 0x14003fa9c
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x140040cb0
Capabilities:
Get hostname

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov dword [rsp + 0x24], 0
xor edi, edi
lea r8, [rsp + 0x24]
mov ecx, 5
xor edx, edx
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x140040d46
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
je 0x140040d67
lea r14, [rdi + rdi]
mov edx, 2
mov rcx, r14
call fcn.140011de0
test rax, rax
je 0x140040e74
mov rbx, rax
lea r8, [rsp + 0x24]
mov ecx, 5
mov rdx, rax
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x140040dbb
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rbx + r8*2], 0
je 0x140040d8c
inc r8
add r14, 0xfffffffffffffffe
jne 0x140040d30
mov r8, rdi
jmp 0x140040d8c
call fcn.14006e2b0
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edx
mov edi, 1
mov qword [rsp + 0x28], rdi
mov edi, dword [rsp + 0x24]
test rdi, rdi
jne 0x140040ce9
mov ebx, 2
lea r8, [rsp + 0x24]
mov edx, 2
mov ecx, 5
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x140040dbb
mov ebx, 2
xor r8d, r8d
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1400f5be0
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x40], rax
jne 0x140040e23
mov qword [rsi], rax
test rdi, rdi
jne 0x140040e39
jmp 0x140040e4d
call fcn.14006e2b0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x40], 1
test rax, rax
je 0x140040de1
lea rcx, [rsp + 0x48]
call fcn.14006ef90
test rdi, rdi
je 0x140040dfa
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140011dc0
cmp qword [rsp + 0x28], 0
je 0x140040e14
cmp qword [rsp + 0x30], 0
je 0x140040e14
lea rcx, [rsp + 0x30]
call fcn.14006ef90
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140040e67
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140040e4d
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140011dc0
cmp qword [rsp + 0x28], 0
je 0x140040e67
cmp qword [rsp + 0x30], 0
je 0x140040e67
lea rcx, [rsp + 0x30]
call fcn.14006ef90
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 2
mov rdx, r14
call fcn.1400f33e0
ud2
Function at 0x140041380
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.1400617e0
mov rcx, rdi
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [rsp + 0x28]
cmp rax, 0xe
ja case.0x1400413bb.4
lea rcx, [0x14017cc6c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 3
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041613
mov byte [rax + 2], 0x6d
mov word [rax], 0x7261
jmp 0x1400414b7
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 4
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041604
mov dword [rax], 0x32336169
jmp 0x140041521
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 5
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041622
mov byte [rax + 4], 0x61
mov dword [rax], 0x68706c61
jmp 0x140041474
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 5
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041622
mov byte [rax + 4], 0x34
mov dword [rax], 0x366d7261
mov qword [rsi], 5
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 5
jmp 0x1400415fa
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 3
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041613
mov byte [rax + 2], 0x36
mov word [rax], 0x3878
mov qword [rsi], 3
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 3
jmp 0x1400415fa
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 4
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041604
mov dword [rax], 0x7370696d
jmp 0x140041521
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 4
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041604
mov dword [rax], 0x34366169
mov qword [rsi], 4
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 4
jmp 0x1400415fa
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 7
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041631
mov dword [rax + 3], 0x34366168
mov dword [rax], 0x68706c61
jmp 0x140041599
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 7
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041631
mov dword [rax + 3], 0x63707265
mov dword [rax], 0x65776f70
mov qword [rsi], 7
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 7
jmp 0x1400415fa
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 6
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x140041640
mov word [rax + 4], 0x3436
mov dword [rax], 0x5f363878
mov qword [rsi], 6
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 6
jmp 0x1400415fa
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
mov ecx, 1
mov edx, 4
call fcn.1400f33e0
mov ecx, 1
mov edx, 3
call fcn.1400f33e0
mov ecx, 1
mov edx, 5
call fcn.1400f33e0
mov ecx, 1
mov edx, 7
call fcn.1400f33e0
mov ecx, 1
mov edx, 6
call fcn.1400f33e0
int3
Function at 0x140044f80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140044fc2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140044fca
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140044fdb
jmp 0x140044ff2
xor r10d, r10d
jmp 0x14004507d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140044ff2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140045009
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140045029
add r11, r8
jmp 0x14004515b
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400450f2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400450a0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140045110
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140045122
jmp 0x14004513d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14004513d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140045157
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140045f10
Capabilities:
List user account groups

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rdi, qword [rcx + 8]
mov rbx, qword [rcx + 0x10]
mov qword [rcx + 0x10], 0
test rbx, rbx
je 0x140045f72
add rdi, 8
jmp 0x140045f59
add rdi, 0x20
dec rbx
je 0x140045f72
mov rdx, qword [rdi - 8]
test rdx, rdx
je 0x140045f50
mov rcx, qword [rdi]
mov r8d, 1
call fcn.140011dc0
jmp 0x140045f50
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x68], 0
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x78]
nop
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x5c], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor edx, edx
lea r8, [rsp + 0x38]
mov r9d, 0xffffffff
call sub.netapi32.dll_NetGroupEnum
test eax, eax
je 0x140045fea
cmp eax, 0xea
jne 0x140046196
mov r13, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x4c]
test rbp, rbp
je 0x140046179
mov dword [rsp + 0x58], eax
shl rbp, 3
xor ebx, ebx
jmp 0x14004601d
add rbx, 8
cmp rbp, rbx
je 0x140046170
mov rdx, qword [r13 + rbx]
test rdx, rdx
je 0x140046010
mov qword [rsp + 0x40], 0
xor ecx, ecx
mov r8d, 3
mov r9, r14
call sub.netapi32.dll_NetGroupGetInfo
test eax, eax
jne 0x140046150
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x10]
mov rcx, r15
call fcn.140028bd0
mov rax, qword [rsp + 0x78]
cmp rax, rdi
je 0x140046150
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [r13 + rbx]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400460d6
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x70]
call fcn.140065970
mov r12, qword [rsp + 0x90]
cmp r12, rdi
mov eax, 0
cmove r12, rax
mov r14, qword [rsp + 0x98]
mov ecx, 1
cmove r14, rcx
mov r15, qword [rsp + 0xa0]
cmove r15, rax
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
je 0x1400460eb
jmp 0x1400460f3
mov r14d, 1
xor r12d, r12d
xor r15d, r15d
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
jne 0x1400460f3
mov rcx, rsi
call fcn.140042b90
mov rax, qword [rsi + 8]
mov rcx, rdi
shl rcx, 5
mov qword [rax + rcx], r12
mov qword [rax + rcx + 8], r14
mov qword [rax + rcx + 0x10], r15
mov dword [rax + rcx + 0x18], 0
inc rdi
mov qword [rsi + 0x10], rdi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
movabs rdi, 0x8000000000000000
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x78]
je 0x140046150
mov r8d, 1
mov rcx, qword [rsp + 0x60]
call fcn.140011dc0
nop dword [rax]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140046010
call sub.netapi32.dll_NetApiBufferFree
jmp 0x140046010
mov r13, qword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
cmp eax, 0xea
jne 0x14004619b
test r13, r13
je 0x140045f90
mov rcx, r13
call sub.netapi32.dll_NetApiBufferFree
jmp 0x140045f90
mov r13, qword [rsp + 0x38]
test r13, r13
je 0x1400461a8
mov rcx, r13
call sub.netapi32.dll_NetApiBufferFree
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140046b70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rcx, qword [0x140118228]
xor edx, edx
jmp 0x140047b30
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140047c17
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140047c0f
je 0x140047c0d
test rbx, rbx
je 0x140047b74
mov rdi, qword [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
jne 0x140047b84
call fcn.14007bb90
mov rcx, rax
call fcn.14007b790
mov rdi, rax
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140011db0
test rax, rax
je 0x140047c31
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047c08
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x140047bf5
cmp rax, 1
jne 0x140047bf5
call fcn.14007ce50
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140011dc0
mov rax, rsi
jmp 0x140047c0f
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400cec50
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047b58
jmp 0x140047c0f
mov ecx, 8
mov edx, 0x10
call fcn.1400f3400
ud2

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

Disassembly:
mov rcx, qword [0x140118228]
xor edx, edx
jmp 0x140047b30
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140047c17
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140047c0f
je 0x140047c0d
test rbx, rbx
je 0x140047b74
mov rdi, qword [rbx + 8]
cmp qword [rbx], 0
mov qword [rbx], 0
jne 0x140047b84
call fcn.14007bb90
mov rcx, rax
call fcn.14007b790
mov rdi, rax
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140011db0
test rax, rax
je 0x140047c31
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047c08
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x140047bf5
cmp rax, 1
jne 0x140047bf5
call fcn.14007ce50
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140011dc0
mov rax, rsi
jmp 0x140047c0f
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400cec50
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047b58
jmp 0x140047c0f
mov ecx, 8
mov edx, 0x10
call fcn.1400f3400
ud2
Function at 0x140047ca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140118190]
jmp 0x140047ca0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140047d43
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140047d3b
je 0x140047d39
test rdi, rdi
je 0x140047cdc
cmp dword [rdi], 0
mov dword [rdi], 0
je 0x140047cdc
mov rdi, qword [rdi + 4]
jmp 0x140047cde
xor edi, edi
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0xc
mov edx, 4
call fcn.140011db0
test rax, rax
je 0x140047d5d
mov qword [rax], rdi
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047d34
mov edx, 0xc
mov r8d, 4
mov rcx, rdi
call fcn.140011dc0
mov rax, rsi
jmp 0x140047d3b
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400cec50
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047cc4
jmp 0x140047d3b
mov ecx, 4
mov edx, 0xc
call fcn.1400f3400
int3

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

Disassembly:
mov rdx, rcx
mov rcx, qword [str._A_a_]
jmp 0x140047d70
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140047e17
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140047e0f
je 0x140047db0
test rdi, rdi
je 0x140047db4
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x140047db6
mov rbx, qword [rdi + 8]
jmp 0x140047db6
xor eax, eax
jmp 0x140047e0f
xor ebx, ebx
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140011db0
test rax, rax
je 0x140047e31
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047e0c
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140011dc0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400cec50
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047d94
jmp 0x140047e0f
mov ecx, 8
mov edx, 0x10
call fcn.1400f3400
int3
Function at 0x140047e50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140118390]
jmp 0x140047e50
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rdx
mov esi, dword [rcx + 0x18]
test esi, esi
je 0x140047f1f
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x140047f12
je 0x140047f10
test rdi, rdi
je 0x140047e99
movups xmm6, xmmword [rdi + 8]
cmp qword [rdi], 0
mov qword [rdi], 0
jne 0x140047eb5
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140011db0
test rax, rax
je 0x140047f39
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140047f0b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140011dc0
mov rax, rsi
jmp 0x140047f12
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400cec50
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x140047e7d
jmp 0x140047f12
mov ecx, 8
mov edx, 0x18
call fcn.1400f3400
int3
Function at 0x14004a290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
mov rcx, qword [0x140118390]
jmp 0x140047e50

Function at 0x14004ccd0
Capabilities:
Get local ipv4 addresses

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov rsi, rcx
mov dword [rsp + 0x30], 0x3c00
xor ebx, ebx
lea r14, [rsp + 0x30]
xor ebp, ebp
nop word cs:[rax + rax]
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call sub.msvcrt.dll_realloc
test rax, rax
je 0x14004cdbe
mov rdi, rax
mov qword [rsp + 0x20], r14
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, rax
call sub.iphlpapi.dll_GetAdaptersAddresses
mov dword [rsp + 0x34], eax
test eax, eax
je 0x14004ce22
cmp ebp, 1
ja 0x14004cd4a
inc ebp
mov rbx, rdi
cmp eax, 0x6f
je 0x14004cd00
lea rax, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rax, [fcn.1401127d0]
mov qword [rsp + 0x40], rax
lea rax, [0x14017d880]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400f4940
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x14004ce37
mov rax, qword [0x1401a9e18]
movzx eax, byte [rax]
mov ecx, 0x32
mov edx, 1
call fcn.140011db0
test rax, rax
je 0x14004ce45
mov rdi, rax
movups xmm0, xmmword [0x14017d840]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x14017d830]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov rcx, rbx
call sub.msvcrt.dll_free
mov qword [rsi], 0x32
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], 0x32
jmp 0x14004ce37
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ecx, 1
mov edx, 0x32
call fcn.1400f33e0
ud2