joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000133b4
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x250
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x10002e120]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r12d, edx
xor edi, edi
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x42]
call sub.msvcrt.dll_memset
mov r9d, 0x100
lea r8, [rsp + 0x40]
mov edx, 0x1001
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and r12d, 0x3ff
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [rax + 7]
lea eax, [rdi + 2]
mul rsi
lea rcx, [rdi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.10001df34
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, rdi
je 0x100013479
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [0x100002a20]
mov rdx, rsi
mov rcx, rbx
call fcn.100006a70
nop
jmp 0x100013480
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.10001e360
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x100019b2c
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x18
test rdx, rdx
cmovne rcx, rdx
xor edx, edx
call sym.WmiApSrv.exe_public:_unsigned_short_int____ptr64___cdecl_CHString::GetBuffer_int____ptr64
mov rcx, qword [rbx + 8]
mov rdx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]

Function at 0x100019bcc
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x68]
mov r10, r8
mov rcx, rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x60]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x100019f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::GetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__class_CHString____ptr64____ptr64

Function at 0x100019f38
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, r9
mov rdi, r8
mov rsi, rdx
and dword [rax - 0x28], 0
or r8d, 0xffffffff
xor edx, edx
mov rcx, r9
call sym.WmiApSrv.exe_public:_void___cdecl_CHStringArray::SetSize_int__int____ptr64
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100019fa3
mov eax, 0x80040153
jmp 0x10001a090
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x10001a08b
cmp dword [rsp + 0x34], 7
jne 0x10001a08b
add eax, 2
mov dword [rsp + 0x30], eax
mov ecx, eax
call fcn.10001df34
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x100019fdf
mov eax, 0x80040153
jmp 0x10001a090
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10001a01b
mov rcx, rbx
call sub.msvcrt.dll_free
and qword [rsp + 0x38], 0
mov eax, 0x80040153
jmp 0x10001a090
cmp dword [rsp + 0x34], 7
je 0x10001a037
mov rcx, rbx
call sub.msvcrt.dll_free
and qword [rsp + 0x38], 0
mov eax, 0x80040153
jmp 0x10001a090
mov rsi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rdi, [rcx - 1]
test edi, edi
je 0x10001a07f
mov r8, rsi
mov edx, dword [r12 + 8]
mov rcx, r12
call sym.WmiApSrv.exe_public:_void___cdecl_CHStringArray::SetAtGrow_int__unsigned_short_int_const____ptr64____ptr64
lea eax, [rdi + 1]
movsxd rcx, eax
lea rsi, [rsi + rcx*2]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea edi, [rcx - 1]
jmp 0x10001a04d
mov rcx, rbx
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x10001a090
mov eax, 0x80040153
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r12
ret

Function at 0x10001a0b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::GetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__class_CHStringArray____ptr64____ptr64
Function at 0x10001a0c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov ecx, 0x100
mov rdi, r9
mov rsi, r8
mov dword [rax - 0x18], ecx
mov rbp, rdx
call fcn.10001df34
mov rbx, rax
test rax, rax
je 0x10001a168
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x10001a149
mov ecx, dword [rsp + 0x34]
sub ecx, 1
je 0x10001a13e
cmp ecx, 3
je 0x10001a13a
and dword [rdi], eax
mov esi, 0x80040153
jmp 0x10001a149
mov eax, dword [rbx]
jmp 0x10001a147
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_atol]
mov dword [rdi], eax
mov rcx, rbx
call sub.msvcrt.dll_free
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
and dword [rsp + 0x38], 0
lea rdx, [0x100029bc0]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x10001a188
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::GetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__unsigned_long_int____ptr64____ptr64

Function at 0x10001a1a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x680
mov rax, qword [0x10002e120]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x30]
mov rsi, r8
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x460]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 0x20c
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
cmp eax, ebx
jne 0x10001a2c0
lea r8, [0x100002ee8]
lea rax, [rsp + 0x40]
mov ebp, 0x106
sub r8, rax
mov rdx, rbp
lea rcx, [rsp + 0x40]
lea rax, [rdx + 0x7ffffef8]
cmp rax, rbx
je 0x10001a246
movzx eax, word [r8 + rcx]
cmp ax, bx
je 0x10001a246
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10001a223
cmp rdx, rbx
jne 0x10001a24f
sub rcx, 2
mov word [rcx], bx
cmp dword [rsp + 0x30], ebx
jbe 0x10001a29d
lea rdi, [rsp + 0x460]
movzx r9d, byte [rdi]
lea r8, [0x100002f50]
lea rcx, [rsp + 0x250]
mov edx, 0x104
call fcn.100006a70
lea r8, [rsp + 0x250]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.100008820
inc ebx
inc rdi
cmp ebx, dword [rsp + 0x30]
jb 0x10001a260
lea r8, [0x100002ee8]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.100008820
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.10001c448
xor eax, eax
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.10001e360
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x680
pop rdi
pop rsi
pop rbp
ret

Function at 0x10001a2ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
and dword [rax + 8], 0
mov qword [rax - 0x10], r9
mov qword [rax - 0x18], r8
lea r9, [rax + 8]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x10001a31c
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [rsp + 0x70]
and dword [rsp + 0x30], 0
mov r10, r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov rcx, rdx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x48
ret

Function at 0x10001a358
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x230
mov rax, qword [0x10002e120]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rbx, rdx
mov edx, dword [rcx + 0x20]
cmp edx, dword [rcx + 0x234]
jb 0x10001a38c
mov eax, 0x103
jmp 0x10001a3bd
mov rcx, qword [rcx + 8]
lea r8, [rsp + 0x20]
mov r9d, 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov rcx, rbx
mov edi, eax
test eax, eax
jne 0x10001a3b6
lea rdx, [rsp + 0x20]
call fcn.10001c448
jmp 0x10001a3bb
call sym.WmiApSrv.exe_public:_void___cdecl_CHString::Empty_void____ptr64
mov eax, edi
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.10001e360
mov rbx, qword [rsp + 0x250]
add rsp, 0x230
pop rdi
ret

Function at 0x10001a5c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
call sym.WmiApSrv.exe_private:_unsigned_long_int___cdecl_CRegistry::OpenSubKey_void____ptr64
test eax, eax
jne 0x10001a613
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbx + 0x10]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x10001a800
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
mov r9d, 4
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x10001a82c
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::SetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__class_CHStringArray____ptr64____ptr64

Function at 0x10001a844
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [r9]
mov r10, r8
mov r11, rdx
lea rax, [0x10002e140]
cmp rcx, qword [0x10002e158]
je 0x10001a865
lea rax, [rcx - 0xc]
mov eax, dword [rax + 4]
mov r9d, 1
xor r8d, r8d
lea eax, [rax + rax + 2]
mov rdx, r10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x10001a898
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov ecx, 4
mov rax, r8
mov r10, rdx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r9
mov r9d, ecx
mov rcx, r10
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x10001a8d0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rdi, r9
mov r14, r8
mov r15, rdx
xor r12d, r12d
xor ebx, ebx
cmp dword [r9 + 8], ebx
jle 0x10001a953
mov r8d, ebx
lea rdx, [rsp + 0x98]
mov rcx, rdi
call sym.WmiApSrv.exe_public:_class_CHString___cdecl_CHStringArray::GetAt_int____ptr64
mov r11, qword [rsp + 0x98]
cmp r11, qword [0x10002e158]
jne 0x10001a932
lea r11, [0x10002e140]
jmp 0x10001a936
add r11, 0xfffffffffffffff4
mov eax, dword [r11 + 4]
lea r12d, [r12 + rax*2 + 2]
lea rcx, [rsp + 0x98]
call sym.WmiApSrv.exe_public:_void___cdecl_CHString::destructor_void____ptr64
inc ebx
cmp ebx, dword [rdi + 8]
jl 0x10001a905
mov eax, 2
add r12d, eax
mov ebx, r12d
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.10001df34
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x10001a997
and dword [rsp + 0x30], eax
lea rdx, [0x100029bc0]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
nop
lea r8, [r12 + r12]
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor r13d, r13d
xor ebx, ebx
cmp ebx, dword [rdi + 8]
jge 0x10001aa1c
mov r8d, ebx
lea rdx, [rsp + 0x98]
mov rcx, rdi
call sym.WmiApSrv.exe_public:_class_CHString___cdecl_CHStringArray::GetAt_int____ptr64
nop
xor edx, edx
lea rcx, [rsp + 0x98]
call sym.WmiApSrv.exe_public:_unsigned_short_int____ptr64___cdecl_CHString::GetBuffer_int____ptr64
mov edx, r12d
sub edx, r13d
lea rcx, [rsi + r13*2]
mov r8, rax
call fcn.1000088c8
mov r11, qword [rsp + 0x98]
cmp r11, qword [0x10002e158]
jne 0x10001a9fe
lea r11, [0x10002e140]
jmp 0x10001aa02
add r11, 0xfffffffffffffff4
mov eax, dword [r11 + 4]
lea r13d, [r13 + rax + 1]
lea rcx, [rsp + 0x98]
call sym.WmiApSrv.exe_public:_void___cdecl_CHString::destructor_void____ptr64
inc ebx
jmp 0x10001a9aa
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rsi
mov r9d, 7
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, rsi
call sub.msvcrt.dll_free
and qword [rsp + 0x38], 0
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x10001aa70
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [r9]
mov r10, r8
mov r11, rdx
lea rax, [0x10002e140]
cmp rcx, qword [0x10002e158]
je 0x10001aa91
lea rax, [rcx - 0xc]
mov eax, dword [rax + 4]
mov r9d, 2
xor r8d, r8d
lea eax, [rax + rax + 2]
mov rdx, r10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x10001b414
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov r11, r8
mov rcx, rdx
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret
Function at 0x10001b454
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov r11, r8
mov rcx, rdx
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x10001b5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x88]
mov r11d, r8d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov rcx, rdx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov r8, r10
mov edx, r11d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret
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.1000c2000
add rsp, 0x28
jmp 0x10001e024
Function at 0x10001e360
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10002e120]
jne 0x10001e37b
rol rcx, 0x10
test cx, 0xffff
jne 0x10001e377
ret 0
ror rcx, 0x10
jmp 0x10001e7a0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10002f9e0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x10002fad8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10001e825
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10002f9e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10001e847
mov rax, qword [rsp + 0x88]
mov qword [0x10002fad8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10002fa78], rax
mov rax, qword [0x10002fad8]
mov qword [0x10002f950], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10002fa60], rax
mov dword [0x10002f940], 0xc0000409
mov dword [0x10002f944], 1
mov rax, qword [0x10002e120]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10002e128]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000016c8]
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, 0x88
ret

Function at 0x10001e63c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10001e689
cmp rcx, 0xffffffffffffffff
je 0x10001e689
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10001e681
cmp dword [rcx + 0x3c], edx
jl 0x10001e681
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10001e681
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10001e689
mov rax, rdx
add rsp, 0x18
ret

Function at 0x10001e9cc
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10001ea37
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x10001ea57
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x100001758]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x140001620
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r11 - 0x28], xmm0
mov qword [r11 - 0x18], rax
lea rdx, str.https:__example.com
lea rcx, [rsp + 0x40]
call fcn.1400032c0
nop
lea rdx, str.https:__phishing.com
lea rcx, [rsp + 0x60]
call fcn.1400032c0
nop
lea rdx, str.https:__malware.com
lea rcx, [rsp + 0x80]
call fcn.1400032c0
nop
lea rdi, [rsp + 0x40]
lea rbx, [rsp + 0xa0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa0], xmm0
xor esi, esi
mov qword [rsp + 0xb0], rsi
mov ecx, 0x60
call fcn.140003f20
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
lea r8, [rax + 0x60]
mov qword [rsp + 0xb0], r8
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x30], r8
lea r9, [rsp + 0xa0]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140003cd0
mov qword [rsp + 0xa8], rax
lea r9, [0x140003250]
mov edx, 0x20
mov r8d, 3
lea rcx, [rsp + 0x40]
call fcn.140003f5c
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
cmp rbx, rdi
je 0x140001781
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000173e
mov r8, qword [rbx]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [0x1400066f0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
add rbx, 0x20
cmp rbx, rdi
jne 0x140001731
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x1400017d5
mov rdx, rdi
mov rcx, rbx
call fcn.1400039d0
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000402c
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140003f00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret