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

Disassembly:
jmp 0x140012f50
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 0x14001127b
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
jmp 0x140011930
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240f2]
call fcn.140011389
mov dword [rbp + 4], 0x12
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x100000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x140011988
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x64], eax
jge 0x1400119f1
movsxd rax, dword [rbp + 0x64]
lea rcx, section..data
mov rax, qword [rcx + rax*8]
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.RPCRT4.dll_UuidFromStringA]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x1400119e3
lea rcx, str.____UUID_convert_error_n
call fcn.1400111a4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x140011a0c
mov rax, qword [rbp + 0x48]
add rax, 0x10
mov qword [rbp + 0x48], rax
jmp 0x140011980
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142c0
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142d3
xor al, al
jmp 0x140014341
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 0x1400142fd
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014311
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014323
xor al, al
jmp 0x140014341
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001433f
xor al, al
jmp 0x140014341
mov al, 1
add rsp, 0x38
ret
Function at 0x140029b84
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001db8
Capabilities:
Parse pe header

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

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180219650
Capabilities:
Encode data using xor

Disassembly:
cli
add al, 0x1d
wait
mov ebx, 0x55568911
push rbx
push 0x34
rcr dword [rax + 0x47823a9], 0x1d
xor al, 0xc1
cwde
test eax, 0x1d047823
shr dword [rbx - 0x6f], cl
mov byte [0x1f10bc144], al
push rbp
loope 0x18021965b
cmpsb byte [rsi], byte [rdi]
rcr byte [rax + 0x3ccf442], 0x1d
invalid

Function at 0x181ddc000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x181ddc00a
jmp 0x181dde00f
jmp fcn.1818de058
Function at 0x1414a7bf8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1414a7c02
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1414a7c2b
pop rbp
sub rbp, 0x33
sub rbp, 0x14a7bf8
sub rsp, 0x20
jmp 0x1414a7c4a
mov rax, 0x14a7bf8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff8340b950
xor byte [rax], dl
inc rax
dec rcx
jne 0x1414a7c69
jmp 0x1414a7c80
sbb cl, bl
mov ecx, 0x506cd9db
push rax
push rax
sbb cl, dl
xchg ecx, eax
pop rax
push rcx
push rax
push rax
sbb byte [rcx - 0x47], dl
sbb byte [rdi + 0x50505790], dl
push rax
sbb byte [rdi + 0x50507892], dl
push rax
sbb byte [rdi - 0x6eaee74e], ah
fcmovnbe st(0), st(1)
pop rsp
push rax
push rax
push rax
sbb byte [rcx - 0x48], dl
add byte [rax], al
sbb al, ch
mov dword [rax + rdx*2 + 0x50], esp
push rax
push rax
push rax
sbb cl, ch
mov eax, 0x505145f2
push rax
push rax
push rax
sbb byte [rcx - 0x47], dl
sbb dl, ch
invalid
Function at 0x180039228
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180039262
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180039267
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800392b0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18005f260]
cmp byte [rcx + rax], 0
je 0x1800392b0
dec r8
sub rdx, 1
jne 0x180039296
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18004844c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800484bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800484bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800484bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800484bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800484bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1800484bb
cmp dword [rcx + 0xf8], 0
je 0x1800484bb
mov ecx, ebx
call fcn.18004856c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180048348
nop
cmp dword [rbp + 0x20], 0
je 0x180048509
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180048514
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18004844c
Function at 0x180051778
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 0x1800517a8
xor eax, eax
jmp 0x18005186b
mov rbp, rbx
cmp word [rax], si
je 0x1800517cd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800517b4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800517b0
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.18004fe60
movsxd r14, eax
test eax, eax
jne 0x18005180b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800517a1
mov rcx, r14
call fcn.18004a35c
mov rdi, rax
test rax, rax
jne 0x180051824
xor ecx, ecx
call fcn.18004a320
jmp 0x180051800
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.18004fe60
test eax, eax
jne 0x180051855
mov rcx, rdi
call fcn.18004a320
jmp 0x18005185f
xor ecx, ecx
call fcn.18004a320
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 0x180055c60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180049fc0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180055d01
cmp ebx, dword [rsp + 0x30]
je 0x180055cfa
test esi, esi
je 0x180055cfa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180055cd5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180055ce2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180055cbf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180055ce6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180055d03
mov eax, 1
jmp 0x180055d03
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180059f00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180059f28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180059f28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400171a8
Capabilities:
Identify system language via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x10]
cdqe
mov rcx, rax
call fcn.14011bf10
call fcn.14011bb00
mov qword [rbp - 0x20], 0
call fcn.14011bc80
call fcn.14011bc80
call sub.KERNEL32.dll_GetUserDefaultLangID
mov qword [rbp - 0x10], rax
call fcn.14011bb90
mov edx, eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.140119d60
call fcn.14011bb90
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.14011bd50
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.1401195a0
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 3
jne 0x14001725a
call fcn.14011bc80
lea rax, [0x140932140]
mov rcx, rax
call fcn.14011bce0
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011bce0
call fcn.14011bb90
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call fcn.14011bd50
jmp 0x14001725b
nop
call fcn.14011bc80
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011bce0
call fcn.14011bc50
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 0x20]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp - 8]
add rsp, 0x40
pop rbp
ret
Function at 0x140030d85
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp - 8], 0
mov eax, dword [rbp + 0x18]
cdqe
mov rcx, rax
call fcn.14011bf10
call fcn.14011bb00
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14011bf50
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x10], 0
call fcn.14011bc80
call fcn.14011bc80
call fcn.14011bb90
mov edx, eax
mov ecx, 0x3e8
call fcn.1401195f0
call fcn.14011bb90
mov edx, eax
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.14011bd50
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x18], rax
lea rax, str.WINDIR
mov rdx, qword [rbp - 0x18]
mov r8d, 0x3e8
mov rcx, rax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x78]
lea rdx, [0x140959be0]
mov rcx, rax
call fcn.14011bde0
call fcn.14011bc80
call fcn.14011bc80
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011bce0
lea rax, str.System32
mov rcx, rax
call fcn.14011bce0
call fcn.14011be90
call fcn.14011bc80
lea rax, str.__c
mov rcx, rax
call fcn.14011bce0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14011bce0
call fcn.14011be90
call fcn.14011bc80
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011bce0
lea rax, str.System32cmd.exe
mov rcx, rax
call fcn.14011bce0
call fcn.14011bc50
mov qword [rbp - 0x28], rax
call fcn.14011bc50
mov qword [rbp - 0x30], rax
call fcn.14011bc50
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov r9d, SafeArrayGetLBound
mov r8, rcx
mov rcx, rax
call fcn.1400c2d78
mov qword [rbp - 0x40], rax
call fcn.14011bbe0
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x140030fdd
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c3384
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
je 0x140030fca
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c33e0
mov qword [rbp - 0x50], rax
cmp qword [rbp - 0x50], 0
je 0x140030fc4
call fcn.14011bc80
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011bce0
call fcn.14011bc80
call fcn.14011bc80
call fcn.14011bc80
call fcn.14011bc80
call fcn.14011bb90
mov edx, eax
mov rax, qword [rbp - 0x10]
mov r8d, edx
mov edx, SafeArrayPutElement
mov rcx, rax
call fcn.1400c352c
call fcn.14011bc50
mov qword [rbp - 0x58], rax
call fcn.14011bb90
mov edx, eax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.140014863
mov qword [rbp - 0x60], rax
call fcn.14011bb90
lea rax, [0x14094d910]
mov rcx, rax
call fcn.14011bce0
call fcn.14011bb90
mov edx, eax
lea rax, [rbp - 0x78]
mov rcx, rax
call fcn.14011bd50
jmp 0x140030f02
nop
jmp 0x140030f02
nop
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400c34bc
mov qword [rbp - 0x68], rax
jmp 0x140030fde
nop
call fcn.14011bc80
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011bce0
call fcn.14011bc50
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp - 0x70]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp - 0x78]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x1400354f3
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
call fcn.14011bb00
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
lea rax, str.Kernel32
mov rcx, rax
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rbp - 0x20], rax
lea rdx, [0x14094bc80]
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
call sub.KERNEL32.dll_CreateRemoteThread
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x1400355af
mov qword [rbp - 8], 0
jmp 0x1400355fc
nop
mov rax, qword [rbp - 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call sub.KERNEL32.dll_WaitForSingleObject
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_GetExitCodeThread
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.KERNEL32.dll_CloseHandle
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
nop
mov rax, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
Function at 0x1400363d4
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0
call fcn.14011bb00
mov rdx, qword [rbp + 0x18]
lea rax, [rbp + 0x18]
mov rcx, rax
call fcn.14011bf50
mov rdx, qword [rbp + 0x20]
lea rax, [rbp + 0x20]
mov rcx, rax
call fcn.14011bf50
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x18]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rbp - 0x10]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegCreateKeyExW
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x1400364e1
mov rax, qword [rbp + 0x20]
mov r10, rax
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegSetValueExW
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x30], rax
jmp 0x1400364e2
nop
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.14011bef0
mov rax, qword [rbp - 8]
add rsp, 0x90
pop rbp
ret
Function at 0x140075f10
Capabilities:
Parse pe header

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

Function at 0x14007a878
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14007a8e7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007a8e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007a8e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007a8e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007a8e7
cmp dword [rcx + 0x84], 0xe
jbe 0x14007a8e7
cmp dword [rcx + 0xf8], 0
je 0x14007a8e7
mov ecx, ebx
call fcn.14007a9ec
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14007a6ac
nop
cmp dword [rbp + 0x20], 0
je 0x14007a935
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14007a940
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14007a878

Function at 0x14007aad8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14007a878