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

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10016e000
add rsp, 0x28
jmp 0x10001e024
Function at 0x1400da668
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140121560
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x14030d140]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x14032c718]
call fcn.1400e02de
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.1400de92a
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x14012162b
cmp qword [rbp + 8], 0
je 0x1401215f3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.1400de92a
mov dword [rbp + 0x44], eax
jmp 0x1401215d1
cmp dword [rbp + 0x44], 0
jge 0x140121651
cmp qword [rbp + 8], 0
je 0x14012164a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140121787
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140121667
xor eax, eax
jmp 0x140121787
mov dword [rbp + 0x84], 0
jmp 0x140121681
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x140121773
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.1400dcd0f
mov rcx, qword [rbp + 0x210]
call fcn.1400da95b
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400da95b
mov qword [rbp + 0x1e0], rax
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1e0]
call fcn.1400dcfe4
test eax, eax
jne 0x140121762
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400db289
mov rax, qword [rbp + 0x1c8]
jmp 0x140121787
lea rcx, [rbp + 0xa8]
call fcn.1400db289
jmp 0x140121673
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402ba9f0]
call fcn.1400df181
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.1400dcfe9
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x1400db18f
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14015c520
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x14015c548
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x14015c592
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 0x14015c53d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x1400db90a
Capabilities:
Delete file

Disassembly:
jmp 0x1401bab90
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401babbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400dbd2e
mov eax, 0xffffffff
jmp 0x1401babbe
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400dbb12
Capabilities:
Get common file path

Disassembly:
jmp 0x1401213b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x438
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x458]
mov rax, qword [0x14030d140]
xor rax, rbp
mov qword [rbp + 0x408], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x14032c718]
call fcn.1400e02de
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x14012143d
cmp dword [rbp + 0x234], 0x105
jbe 0x140121468
lea rdx, [0x1402b610c]
mov rcx, qword [rbp + 0x430]
call fcn.1400dc189
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
jmp 0x1401214d8
lea rcx, [rbp + 0x10]
call fcn.1400da68b
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x1401214b2
lea rcx, [rbp + 0x10]
call fcn.1400da68b
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x14012149f
jmp 0x1401214a4
call fcn.1400de71d
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x430]
call fcn.1400dc189
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x430]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402ba810]
call fcn.1400df181
mov rax, rdi
mov rcx, qword [rbp + 0x408]
xor rcx, rbp
call fcn.1400dcfe9
lea rsp, [rbp + 0x418]
pop rdi
pop rbp
ret
Function at 0x1400dc1b6
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140121230
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x14032c718]
call fcn.1400e02de
mov rcx, qword [rbp + 0x180]
call fcn.1400dcc65
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x1401212ab
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x140121353
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.1400dc50d
test eax, eax
jne 0x14012134e
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.1400dcc65
cmp qword [rbp + 8], rax
jne 0x14012134e
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x140121318
xor eax, eax
jmp 0x140121355
cmp qword [rbp + 0x190], 0
je 0x140121335
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x140121355
jmp 0x1401212a3
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400dcc65
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401c2320
mov rax, rcx
neg rcx
test rax, 7
je 0x1401c233d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401c2398
test al, 7
jne 0x1401c2330
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 0x1401c2351
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401c23c2
test dh, dh
je 0x1401c23bc
shr rdx, 0x10
test dl, dl
je 0x1401c23b6
test dh, dh
je 0x1401c23b0
shr rdx, 0x10
test dl, dl
je 0x1401c23aa
test dh, dh
je 0x1401c23a4
shr edx, 0x10
test dl, dl
je 0x1401c239e
test dh, dh
jne 0x1401c2351
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 0x1400dccb0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14026eef0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14026ea70
lea rcx, [rsp + 0x20]
call fcn.14026eac0
movzx eax, al
test eax, eax
jne 0x14026ef35
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14026eaa0
mov rax, qword [rsp + 0x40]
jmp 0x14026f02f
lea rcx, [rsp + 0x20]
call fcn.14026ebc0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14026eb60
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.1400dd101
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400dc4e0
lea rcx, [rsp + 0x28]
call fcn.1400dd6c4
movzx eax, al
test eax, eax
jne 0x14026efcf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400deee3
lea rcx, [rsp + 0x20]
call fcn.14026eaa0
mov rax, qword [rsp + 0x50]
jmp 0x14026f02f
lea rcx, [rsp + 0x20]
call fcn.14026ebc0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400e019e
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.1400dd016
lea rcx, [rsp + 0x28]
call fcn.1400e0d06
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400deee3
lea rcx, [rsp + 0x20]
call fcn.14026eaa0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400dd2d7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401af290
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401aec10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401af2cf
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 [0x14032e020]
jmp 0x1401af2d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400dd5c0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14026ec40
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14026ea70
lea rcx, [rsp + 0x40]
call fcn.14026ebf0
movzx eax, al
test eax, eax
jne 0x14026ec88
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14026eaa0
mov rax, qword [rsp + 0x70]
jmp 0x14026ee59
lea rcx, [rsp + 0x40]
call fcn.14026ebc0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14026eb60
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.14026ebc0
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.1400dea88
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14026ed2e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14026eaa0
mov rax, qword [rsp + 0x80]
jmp 0x14026ee59
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400dd101
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400dce4f
lea rcx, [rsp + 0x48]
call fcn.1400dc73d
movzx eax, al
test eax, eax
jne 0x14026ed95
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400dafc3
lea rcx, [rsp + 0x40]
call fcn.14026eaa0
mov rax, qword [rsp + 0x88]
jmp 0x14026ee59
lea rcx, [rsp + 0x48]
call fcn.1400ddb74
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14026ebc0
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.1400dea88
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14026ee2b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400dafc3
lea rcx, [rsp + 0x40]
call fcn.14026eaa0
mov rax, qword [rsp + 0xa0]
jmp 0x14026ee59
lea rcx, [rsp + 0x48]
call fcn.1400dcdff
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400dafc3
lea rcx, [rsp + 0x40]
call fcn.14026eaa0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400dd5de
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401af1c0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401aeb90
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401af201
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 [0x14032e020]
jmp 0x1401af207
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400dd6c9
Capabilities:
Get geographical location

Disassembly:
jmp 0x140245190
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.1402440c0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1402451f7
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 [0x14032e030]
jmp 0x140245219
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400dc689
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 0x1400dd6f1
Capabilities:
Terminate process

Disassembly:
jmp 0x14018a3e0
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 0x1400ddafc
Capabilities:
Print debug messages

Disassembly:
jmp 0x14027c480
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14030d140]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14027c4a6
jmp 0x14027c523
mov rcx, qword [rbp + 0x30]
call fcn.1400dcc65
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14027c4bf
jmp 0x14027c523
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14027c4dc
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400db243
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.1400db987
test eax, eax
jne 0x14027c523
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400dcfe9
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400ddc96
Capabilities:
Delete registry key

Disassembly:
jmp 0x14011f200
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x14030d140]
xor rax, rbp
mov qword [rbp + 0x2b0], rax
lea rcx, [0x14032c5e3]
call fcn.1400e02de
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14011f268
xor al, al
jmp 0x14011f446
mov r8, qword [rbp + 0x2e0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x28]
call fcn.1400e0ae0
nop
lea rcx, [rbp + 0x28]
call fcn.1400dc215
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.1400dff19
mov r8, qword [rbp + 0x2e0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0xb8]
call fcn.1400e0ae0
nop
lea rcx, [rbp + 0xb8]
call fcn.1400dc215
lea r8, [rbp + 0x98]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14011f33d
cmp dword [rbp + 0xf4], 2
jne 0x14011f314
mov byte [rbp + 0x214], 1
lea rcx, [rbp + 0xb8]
call fcn.1400df401
nop
lea rcx, [rbp + 0x28]
call fcn.1400df401
movzx eax, byte [rbp + 0x214]
jmp 0x14011f446
mov byte [rbp + 0x234], 0
lea rcx, [rbp + 0xb8]
call fcn.1400df401
nop
lea rcx, [rbp + 0x28]
call fcn.1400df401
movzx eax, byte [rbp + 0x234]
jmp 0x14011f446
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x2a8], rax
lea rcx, [rbp + 0x68]
call qword [rbp + 0x2a8]
mov dword [rbp + 0x134], eax
cmp dword [rbp + 0x134], 0
je 0x14011f3d1
lea rcx, [rbp + 0xb8]
call fcn.1400dc215
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0xf4], eax
mov byte [rbp + 0x254], 0
lea rcx, [rbp + 0xb8]
call fcn.1400df401
nop
lea rcx, [rbp + 0x28]
call fcn.1400df401
movzx eax, byte [rbp + 0x254]
jmp 0x14011f446
lea rcx, [rbp + 0xb8]
call fcn.1400dc215
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0
je 0x14011f422
mov byte [rbp + 0x274], 0
lea rcx, [rbp + 0xb8]
call fcn.1400df401
nop
lea rcx, [rbp + 0x28]
call fcn.1400df401
movzx eax, byte [rbp + 0x274]
jmp 0x14011f446
mov byte [rbp + 0x294], 1
lea rcx, [rbp + 0xb8]
call fcn.1400df401
nop
lea rcx, [rbp + 0x28]
call fcn.1400df401
movzx eax, byte [rbp + 0x294]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402ba600]
call fcn.1400df181
mov rax, rdi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rbp
call fcn.1400dcfe9
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x1400ddef3
Capabilities:
Get geographical location

Disassembly:
jmp 0x1401374a0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1401374dd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1400e028e
add rsp, 0x58
ret

Function at 0x1400ddf34
Capabilities:
Create process on windows

Disassembly:
jmp 0x1402827d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1400dc47c
lea rcx, [rsp + 0xb8]
call fcn.1400dc47c
lea rcx, [rsp + 0x88]
call fcn.1400dc47c
call fcn.1400dd516
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1400dc0cb
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140282872
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1400dcabc
lea rcx, [rsp + 0xb8]
call fcn.1400dcabc
lea rcx, [rsp + 0xe8]
call fcn.1400dcabc
mov eax, dword [rsp + 0x54]
jmp 0x140282a18
call fcn.1400dd516
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400dc0cb
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1402828d2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1400dcabc
lea rcx, [rsp + 0xb8]
call fcn.1400dcabc
lea rcx, [rsp + 0xe8]
call fcn.1400dcabc
mov eax, dword [rsp + 0x5c]
jmp 0x140282a18
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x140282958
call fcn.1400dd516
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1400dc0cb
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140282946
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1400dcabc
lea rcx, [rsp + 0xb8]
call fcn.1400dcabc
lea rcx, [rsp + 0xe8]
call fcn.1400dcabc
mov eax, dword [rsp + 0x64]
jmp 0x140282a18
lea rcx, [rsp + 0x88]
call fcn.1400dc36e
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.1400dc36e
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.1400dc36e
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1400dcabc
lea rcx, [rsp + 0xb8]
call fcn.1400dcabc
lea rcx, [rsp + 0xe8]
call fcn.1400dcabc
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret