joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140148194
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140154a64
mov rsi, rax
test rax, rax
je 0x140148210
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14014820b
cmp dword [rbx], 0x40
jb 0x14014820b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14014820b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140148214
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14014eab8
Capabilities:
Extract resource via kernel32 functions

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
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14014eb20
call fcn.14013fe90
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14014eb20
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14014eb42
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14014e4c8
mov esi, eax
test rdi, rdi
je 0x14014eb40
test rbx, rbx
je 0x14014eb40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1401501e4
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x140150256
lea r8, [0x140202f88]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.140157c14
test eax, eax
je 0x140150278
cmp eax, 0xc
je 0x140150250
cmp eax, 0x16
je 0x14015024a
cmp eax, 0x22
je 0x14015024a
cmp eax, 0x50
je 0x140150278
call fcn.140140370
int3
call fcn.140140370
int3
call fcn.140140328
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14015039b
call fcn.14015a274
mov edi, dword [rax]
call fcn.14015a274
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.140159a3c
mov ebx, eax
call fcn.14015a274
cmp dword [rax], 0
je 0x140150300
call fcn.14015a274
cmp dword [rax], 0
je 0x140150307
cmp dword [rax], 0xc
je 0x1401502f5
cmp dword [rax], 0x16
je 0x1401502ea
cmp dword [rax], 0x22
je 0x1401502ea
cmp dword [rax], 0x50
je 0x140150307
mov ecx, 0x80004005
call fcn.140001940
int3
mov ecx, 0x80070057
call fcn.140001940
int3
mov ecx, 0x8007000e
call fcn.140001940
int3
call fcn.14015a274
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x14015039b
cmp ebx, esi
jae 0x14015039b
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], 0x70
call fcn.140158a90
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140150386
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140150386
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x14015038e
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14015039d
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140156fd0
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140156dd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140156e59
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140156e1b
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140156e69
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x140156e31
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140156e69
cmp dword [rax + 0x84], 0xe
ja 0x140156e45
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140156e69
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x140156e69
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.140535000
test eax, eax
jne 0x140156e99
cmp dword [0x14029ba78], 1
jne 0x140156e85
call fcn.14015ad7c
mov ecx, 0x1c
call fcn.14015ab54
mov ecx, 0xff
call fcn.14015a574
call fcn.14015ba78
test eax, eax
jne 0x140156ec4
cmp dword [0x14029ba78], 1
jne 0x140156eb0
call fcn.14015ad7c
mov ecx, 0x10
call fcn.14015ab54
mov ecx, 0xff
call fcn.14015a574
call fcn.14015b730
nop
call fcn.14015b440
test eax, eax
jns 0x140156edd
mov ecx, 0x1b
call fcn.14015a508
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x1402a30c8], rax
call fcn.14015b3ac
mov qword [0x14029ba70], rax
call fcn.14015b2bc
test eax, eax
jns 0x140156f08
mov ecx, 8
call fcn.14015a508
call fcn.14015afec
test eax, eax
jns 0x140156f1b
mov ecx, 9
call fcn.14015a508
mov ecx, 1
call fcn.14015a614
test eax, eax
je 0x140156f30
mov ecx, eax
call fcn.14015a508
call fcn.14015af90
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.140177a40
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140156f67
mov ecx, eax
call fcn.14015a850
call fcn.14015a868
jmp 0x140156f88
mov eax, edi
jmp 0x140156f91
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.14015bb48
add rsp, 0x28
jmp 0x140156dd0

Function at 0x14015a85c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14015a6c4
Function at 0x14015bca3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14028b7c8]
jne 0x140156fea
rol rcx, 0x10
test cx, 0xffff
jne 0x140156fe6
repz ret
ror rcx, 0x10
jmp 0x14015bbfc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14029c0c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14029c1b8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14015bc81
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, [0x14029c0c0]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14015bca3
mov rax, qword [rsp + 0x88]
mov qword [0x14029c1b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14029c158], rax
mov rax, qword [0x14029c1b8]
mov qword [0x14029c030], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14029c140], rax
mov dword [0x14029c020], 0xc0000409
mov dword [0x14029c024], 1
mov rax, qword [0x14028b7c8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14028b7d0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14029c0b8], eax
mov ecx, 1
call fcn.140169a3c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140204b40]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14029c0b8], 0
jne 0x14015bd2a
mov ecx, 1
call fcn.140169a3c
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 0x1401697f8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14015b7a8
xor ebx, ebx
mov rdi, rax
cmp qword [0x14029c970], rbx
jne 0x1401698fe
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1401699d3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401699d3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140204eb0]
mov rcx, rsi
mov qword [0x14029c970], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140204e98]
mov rcx, rsi
mov qword [0x14029c978], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14029c980], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14029c990], rax
test rax, rax
je 0x1401698f5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14029c988], rax
jmp 0x140169905
mov rax, qword [0x14029c988]
jmp 0x14016990c
mov rax, qword [0x14029c988]
mov r11, qword [0x14029c990]
cmp rax, rdi
je 0x140169974
cmp r11, rdi
je 0x140169974
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14029c990]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140169974
test rax, rax
je 0x140169974
call rsi
test rax, rax
je 0x14016996e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14016996e
test byte [rsp + 0x38], 1
jne 0x140169974
bts ebp, 0x15
jmp 0x1401699b2
mov rcx, qword [0x14029c978]
cmp rcx, rdi
je 0x1401699b2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401699b2
call rax
mov rbx, rax
test rax, rax
je 0x1401699b2
mov rcx, qword [0x14029c980]
cmp rcx, rdi
je 0x1401699b2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401699b2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14029c970]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401699d3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1401699d5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140171e80
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x140171f31
test rdx, rdx
je 0x140171f31
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [rsp + 0x40], eax
test eax, eax
je 0x140171f2a
mov ecx, eax
call fcn.14013f170
mov rbx, rax
test rax, rax
jne 0x140171ec8
mov eax, 0x8007000e
jmp 0x140171f36
mov r8d, dword [rsp + 0x40]
mov r9, rax
xor edx, edx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x140171f22
and qword [rsp + 0x58], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [0x1401cec70]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x140171f22
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140171f22
mov eax, dword [rcx + 8]
mov dword [rdi + 4], eax
mov eax, dword [rcx + 0xc]
mov rcx, rbx
mov dword [rdi], eax
call fcn.14013f178
xor eax, eax
jmp 0x140171f36
mov rcx, rbx
call fcn.14013f178
mov eax, 0x80004005
jmp 0x140171f36
mov eax, 0x80070057
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x140173d34
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x30]
lea rdx, str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
or ebx, 0xffffffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140173dbc
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea rdx, str.EnableFirewall
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140173dac
cmp dword [rsp + 0x60], 4
cmove ebx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140173dbc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x140173e78
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x58]
mov rdi, rcx
lea rdx, str.HTTP_shellopencommand
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140173eb6
xor eax, eax
jmp 0x140173f2a
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rbx
lea rdx, [0x1401cb3a2]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140173f18
cmp dword [rsp + 0x48], 1
jne 0x140173f18
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401cb3a2]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, 1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140173f28
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140174a38
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
lea edx, [rbp + 2]
xor ecx, ecx
mov qword [rax + 0x18], rbp
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebp
jl 0x140174b6e
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebp
jge 0x140174aa5
cmp eax, 0x80010119
jne 0x140174b66
xor edx, edx
lea rsi, [rdi + 0x48]
lea r9, [0x140206750]
lea r8d, [rdx + 1]
lea rcx, [0x140206820]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x140174b66
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsi]
lea rbx, [rdi + 0x40]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbp
mov qword [rdi + 0x60], rax
mov r10, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [r10 + 0x18]
cmp eax, ebp
jl 0x140174b66
mov rcx, qword [rbx]
cmp rcx, rbp
je 0x140174b66
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1402061d8]
call qword [rax]
cmp eax, ebp
jl 0x140174b66
mov rcx, qword [rbx]
mov dword [rsp + 0x38], ebp
xor r9d, r9d
lea esi, [r9 + 0xa]
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov edx, esi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rsp + 0x70]
cmp eax, ebp
jge 0x140174b85
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call fcn.1401745d0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
mov ebx, eax
call qword [rdx + 0x10]
cmp ebx, ebp
jl 0x140174b66
xor edx, edx
lea rbx, [rdi + 0x50]
lea r9, [0x1402067f0]
lea r8d, [rdx + 1]
lea rcx, [0x140206890]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x140174b66
mov rcx, qword [rbx]
lea r8, [rdi + 0x58]
lea rdx, [0x140206810]
mov rax, qword [rcx]
call qword [rax]
cmp eax, ebp
jl 0x140174b66
mov eax, 1
jmp 0x140174b70
Function at 0x14017a7f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x900
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x948], rbx
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov r9d, edx
mov r12, rcx
lea rax, vtable.CRJK.0
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 0
mov rdx, qword [0x1402a14e8]
movzx eax, byte [rdx]
add al, 0x30
mov byte [rsp + 0x4d0], al
movzx eax, byte [rdx + 4]
add al, 0x30
mov byte [rsp + 0x4d1], al
movzx eax, byte [rdx + 8]
add al, 0x30
mov byte [rsp + 0x4d2], al
movzx eax, byte [rdx + 0xc]
add al, 0x30
mov byte [rsp + 0x4d3], al
mov byte [rsp + 0x4d4], 0x35
mov byte [rsp + 0x4d5], 0x30
mov byte [rsp + 0x4d6], 0x65
mov byte [rsp + 0x4d7], 0x36
mov byte [rsp + 0x4d8], 0x67
mov byte [rsp + 0x4d9], 0x6b
mov byte [rsp + 0x4da], 0x69
mov byte [rsp + 0x4db], 0x75
mov byte [rsp + 0x4dc], 0x39
mov byte [rsp + 0x4dd], 0x37
mov byte [rsp + 0x4de], 0x31
mov byte [rsp + 0x4df], 0x61
mov qword [rsp + 0x20], r8
lea r8, str._X:_s_
mov edx, 0x100
lea rcx, [rsp + 0x6f0]
call fcn.1400444d0
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x200
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x6f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x4f0]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
lea r13d, [rcx + 0x10]
and r13d, 0xfffffff0
mov eax, dword [r12 + 0xa5c]
lea edx, [r13 + rax]
cmp edx, 0x1c000
jbe 0x14017a963
jmp 0x14017aa24
movsxd rax, ecx
cmp ecx, r13d
jge 0x14017a980
lea rcx, [rsp + rax + 0x4f0]
mov r8d, r13d
sub r8d, edi
xor edx, edx
call fcn.140158a90
mov dword [rsp + 0x20], 0x10
mov r9d, 0x10
lea r8, [0x140211628]
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x50]
call fcn.140187780
mov ebp, r13d
lea rdi, [rsp + 0x4f0]
lea rbx, [rsp + 0x4f0]
movsxd rcx, dword [rsp + 0x420]
xor edx, edx
mov eax, r13d
div rcx
test eax, eax
jle 0x14017a9fc
nop
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140187c60
movsxd rcx, dword [rsp + 0x420]
add rdi, rcx
add rbx, rcx
inc esi
xor edx, edx
mov rax, rbp
div rcx
cmp esi, eax
jl 0x14017a9d0
movsxd rcx, dword [r12 + 0xa5c]
add rcx, qword [r12 + 0xa48]
mov r8, rbp
lea rdx, [rsp + 0x4f0]
call fcn.140159620
add dword [r12 + 0xa5c], r13d
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.140156fd0
mov rbx, qword [rsp + 0x948]
add rsp, 0x900
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140181850
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx + 0x28], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x10], r9
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea r8, [0x140181700]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov qword [rbx + 0x20], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
mov dword [rbx + 0x30], 0
add rsp, 0x30
pop rbx
ret
Function at 0x14019b710
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
xor ebx, ebx
lea rcx, [0x14021bc40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetPhysicallyInstalledSystemMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14019b77b
lea rcx, [rsp + 0xd8]
call rax
test eax, eax
je 0x14019b77b
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0xd8]
mulsd xmm0, qword [0x140230a18]
movsd xmm6, qword [0x140230a10]
addsd xmm0, xmm6
cvttsd2si ebx, xmm0
jmp 0x14019b783
movsd xmm6, qword [0x140230a10]
test ebx, ebx
jne 0x14019b859
lea rcx, [0x14021bc78]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GlobalMemoryStatusEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14019b859
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x30], 0x40
lea rcx, [rsp + 0x30]
call rax
test eax, eax
je 0x14019b80b
mov rax, qword [rsp + 0x38]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x14019b831
addsd xmm0, qword [0x140230a08]
jmp 0x14019b831
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r11, qword [rsp + 0x78]
pxor xmm0, xmm0
cvtsi2sd xmm0, r11
test r11, r11
jns 0x14019b831
addsd xmm0, qword [0x140230a08]
mulsd xmm0, qword [0x140230a00]
addsd xmm0, xmm6
cvttsd2si ebx, xmm0
mov dword [rsp + 0x20], ebx
test bl, 1
je 0x14019b850
inc ebx
mov dword [rsp + 0x20], ebx
jmp 0x14019b859
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
ret
Function at 0x14019b880
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb80
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0xb70], rax
mov rsi, rcx
mov rdi, rdx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x11c
call fcn.140158a90
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14019b8f8
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x114
call fcn.140158a90
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea r8, [0x14021bc00]
lea rcx, [rsp + 0x170]
mov edx, 0x200
call fcn.140158644
lea rcx, [rsp + 0x370]
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov ebx, eax
test eax, eax
je 0x14019b95a
lea r8, str._temp
lea rcx, [rsp + 0x370]
mov edx, 0x200
call fcn.1401570e4
lea rcx, [rsp + 0x370]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14019b95a
test al, 0x10
jne 0x14019b96f
lea rdx, [rsp + 0x370]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
test ebx, ebx
je 0x14019b9ac
xor eax, eax
lea r8, [rsp + 0x370]
or r9d, 0xffffffff
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x170]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x14019b9b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rsi + 0x818], 0
mov dword [rsp + 0x40], eax
je 0x14019baad
cmp dword [0x1402a19b4], 0
je 0x14019baad
mov rax, qword [rsi + 0x818]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x170]
mov dword [rax + 0xd68], 0x6a
mov rax, qword [rsi + 0x818]
mov r9d, 1
mov dword [rax + 0xd6c], 0x6b
mov rax, qword [rsi + 0x818]
mov dword [rax + 0xd70], 0x6c
mov rax, qword [rsi + 0x818]
mov dword [rax + 0xd74], 0x6d
mov rax, qword [rsi + 0x818]
mov dword [rax + 0xd78], 0x6e
mov rax, qword [rsi + 0x818]
mov dword [rax + 0xd7c], 0x6f
mov rcx, qword [rsi + 0x818]
call fcn.14001598c
mov r8, qword [rsi + 0x818]
or r9d, 0xffffffff
mov ebx, eax
lea rax, [rsp + 0x770]
lea edx, [r9 + 2]
add r8, 0xb60
xor ecx, ecx
mov dword [rsp + 0x28], 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsi + 8]
lea r8, [rsp + 0x770]
mov edx, 0x400
call fcn.140157c14
mov r11d, dword [rsp + 0x40]
mov eax, ebx
mov dword [rdi], r11d
jmp 0x14019bab3
mov dword [rdi], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xb70]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0xb80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret