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

Disassembly:
cld
pop r11
jmp 0x1406c248d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1406c249d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1406c2485
lea eax, [rcx + 1]
jmp 0x1406c24ab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1406c24be
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1406c24a4
sub eax, 3
jb 0x1406c24de
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1406c252d
sar eax, 1
movsxd rbp, eax
jb 0x1406c2514
jmp 0x1406c24ec
add ebx, ebx
jne 0x1406c24ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1406c2514
inc ecx
add ebx, ebx
jne 0x1406c24fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1406c2514
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1406c250d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1406c24fc
add ecx, 2
jmp 0x1406c2519
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1406c2442
jmp 0x1406c248d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb0e00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1406c2579
cmp rsi, rcx
jae 0x1406c2581
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1406c2560
cmp al, 0x8f
ja 0x1406c2560
cmp byte [rsi - 2], 0xf
je 0x1406c2566
sub al, 0xe8
cmp al, 1
ja 0x1406c254a
cmp rsi, rcx
jae 0x1406c2581
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1406c2550
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1406c2581
lodsb al, byte [rsi]
jmp 0x1406c2560
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6be000]
mov eax, dword [rdi]
or eax, eax
je 0x1406c25de
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6c249c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1406c258e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1406c25d8
mov qword [rbx], rax
add rbx, 8
jmp 0x1406c25ae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1406c2618
cmp al, 0xef
ja 0x1406c260a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1406c25ea
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1406c25f9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1406c2697], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1406c2697
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1406c2687
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x38
lea rcx, [0x14001d200]
call fcn.140002e48
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x258
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
lea rcx, [0x14001d208]
call fcn.140002e48
mov r8d, 0x1ff
lea rdx, section..data
mov rcx, qword [rsp + 0x20]
call fcn.140001ae0
lea rcx, [0x14001d210]
call fcn.140002e48
call qword [rsp + 0x20]
lea rcx, str.YOYO_n
call fcn.140002e48
mov eax, 1
add rsp, 0x38
ret

Function at 0x1400017b8
Capabilities:
Parse pe header

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

Function at 0x140003b68
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003994
Function at 0x140002c3e
Capabilities:
Get common file path

Disassembly:
jmp 0x14006c370
push rbx
sub rsp, 0x430
mov rax, qword [0x140a06430]
xor rax, rsp
mov qword [rsp + 0x420], rax
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x3fe
xor bl, bl
mov word [rsp + 0x20], ax
call sub.MSVCR120.dll_memset
lea rcx, [rsp + 0x20]
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14006c3ce
movzx eax, byte [rsp + 0x20]
mov ecx, 1
sub al, 0x58
test al, 0xdf
movzx eax, bl
cmove eax, ecx
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1401b0060
add rsp, 0x430
pop rbx
ret

Function at 0x1400037ba
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14006c240
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140a06430]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, word [0x14022a8e8]
movups xmm0, xmmword [str.SoftwareMicrosoftWindows_NTCurrentVersionWinPE]
movups xmm1, xmmword [0x14022a8c8]
mov word [rsp + 0x70], ax
movzx eax, byte [0x14022a8ea]
xor ebx, ebx
mov byte [rsp + 0x72], al
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14022a8d8]
movups xmmword [rsp + 0x50], xmm1
mov r9d, 0x101
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor dil, dil
mov qword [rsp + 0x30], rbx
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x38], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14006c2d2
xor al, al
jmp 0x14006c312
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea rdx, [0x14022a8f8]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, 1
movzx ebx, dil
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401b0060
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x1400044c6
Capabilities:
Set registry value

Disassembly:
jmp 0x140072f40
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
mov r9d, 0x103
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 0x2af8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140072f84
xor al, al
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
sete bl
test rcx, rcx
je 0x140072fc2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
add rsp, 0x30
pop rbx
ret

Function at 0x140005713
Capabilities:
Connect network resource

Disassembly:
jmp 0x14010e600
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rax + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rax
lea r9d, [rax + 4]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call sub.MPR.dll_WNetAddConnection2W
mov ebx, eax
or r8d, 0xffffffff
mov rdx, rsi
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140005a5b
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x1400c5590
sub rsp, 0x28
lea rdx, [rsp + 0x30]
lea rcx, [0x1400027d9]
mov qword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x1400c55c0
mov al, 1
add rsp, 0x28
ret
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c55e5
mov rcx, qword [rsp + 0x30]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor al, al
add rsp, 0x28
ret
Function at 0x14006c240
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14006c240
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140a06430]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, word [0x14022a8e8]
movups xmm0, xmmword [str.SoftwareMicrosoftWindows_NTCurrentVersionWinPE]
movups xmm1, xmmword [0x14022a8c8]
mov word [rsp + 0x70], ax
movzx eax, byte [0x14022a8ea]
xor ebx, ebx
mov byte [rsp + 0x72], al
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14022a8d8]
movups xmmword [rsp + 0x50], xmm1
mov r9d, 0x101
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
xor dil, dil
mov qword [rsp + 0x30], rbx
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x38], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14006c2d2
xor al, al
jmp 0x14006c312
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea rdx, [0x14022a8f8]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, 1
movzx ebx, dil
test eax, eax
cmove ebx, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401b0060
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x14006c370
Capabilities:
Get common file path

Disassembly:
jmp 0x14006c370
push rbx
sub rsp, 0x430
mov rax, qword [0x140a06430]
xor rax, rsp
mov qword [rsp + 0x420], rax
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x3fe
xor bl, bl
mov word [rsp + 0x20], ax
call sub.MSVCR120.dll_memset
lea rcx, [rsp + 0x20]
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14006c3ce
movzx eax, byte [rsp + 0x20]
mov ecx, 1
sub al, 0x58
test al, 0xdf
movzx eax, bl
cmove eax, ecx
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1401b0060
add rsp, 0x430
pop rbx
ret

Function at 0x140072f40
Capabilities:
Set registry value

Disassembly:
jmp 0x140072f40
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
mov r9d, 0x103
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 0x2af8
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140072f84
xor al, al
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9d, 4
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
sete bl
test rcx, rcx
je 0x140072fc2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x1400c5590
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x1400c5590
sub rsp, 0x28
lea rdx, [rsp + 0x30]
lea rcx, [0x1400027d9]
mov qword [rsp + 0x30], 0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x1400c55c0
mov al, 1
add rsp, 0x28
ret
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c55e5
mov rcx, qword [rsp + 0x30]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor al, al
add rsp, 0x28
ret

Function at 0x1400f9700
Capabilities:
Set file attributes

Disassembly:
jmp 0x1400f9700
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov rdx, rdi
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::setPath_class_QString_const____ptr64____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QDir::mkpath_class_QString_const____ptr64_const___ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140006a5a
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rcx, rax
mov edx, 6
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14010e600
Capabilities:
Connect network resource

Disassembly:
jmp 0x14010e600
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rax + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rax
lea r9d, [rax + 4]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call sub.MPR.dll_WNetAddConnection2W
mov ebx, eax
or r8d, 0xffffffff
mov rdx, rsi
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf16_unsigned_short_int_const____ptr64__int_]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x88]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140193a40
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x20
mov edi, r8d
sub edx, 0x100
je 0x140193a73
sub edx, 4
je 0x140193ae1
dec edx
jne 0x140193a6b
cmp r8d, 0x12
sete al
add rsp, 0x20
pop rdi
ret
xor al, al
add rsp, 0x20
pop rdi
ret
cmp r8d, 9
je 0x140193ae1
cmp r8d, 0x2e
je 0x140193ae1
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x30], rbx
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 1
xor ebx, ebx
test ax, ax
cmovs ebx, ecx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140193aaf
or ebx, 2
mov ecx, SafeArrayLock
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140193ac2
or ebx, 4
test ebx, ebx
je 0x140193ad3
xor ebx, ebx
lea eax, [rdi - 0x25]
cmp eax, 3
seta bl
test ebx, ebx
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1401b2630
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r15
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1401b2665
or rax, 0xffffffffffffffff
add rsp, 0x78
pop r15
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x90], rbx
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x60], r14
movsxd rcx, eax
mov eax, 8
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.1401afd44
xor ebx, ebx
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
jle 0x1401b276a
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r13
mov r13, rdi
mov r12, r14
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r13 + r12]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov r9d, r15d
xor edx, edx
xor ecx, ecx
mov r8, rbp
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1401afd44
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov r9d, r15d
mov r8, rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov rsi, rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
mov eax, dword [rsp + 0x40]
inc r14d
lea r12, [r12 + 8]
cmp r14d, eax
jl 0x1401b26e0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x98]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.1400028a6
mov esi, eax
cmp dword [rsp + 0x40], ebx
jle 0x1401b27a9
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401b27a9
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jl 0x1401b2790
mov rcx, r14
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x90]
mov eax, esi
mov rsi, qword [rsp + 0xa0]
add rsp, 0x78
pop r15
pop rdi
ret
Function at 0x180001260
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
xor r10d, r10d
movsxd rbp, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
mov edi, r10d
mov ebx, r10d
mov r11d, r10d
test edx, edx
jle 0x1800012b5
mov edx, r10d
lea r12, [0x1800315e0]
movzx eax, byte [rdx + rsi]
cmp al, 0x3d
jne 0x1800012d6
inc ebx
cmp ebx, 2
jle 0x1800012da
mov r10d, 0xffffffee
mov rbx, qword [rsp + 0x20]
test r10d, r10d
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
sete al
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
cmp al, 0x7f
ja 0x1800012af
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x1800012af
cmp cl, 0x40
jae 0x1800012f0
test ebx, ebx
jne 0x1800012af
inc edi
inc r11d
inc rdx
cmp rdx, rbp
jl 0x1800012a0
test edi, edi
je 0x1800012b5
lea eax, [rdi + rdi*2]
lea eax, [rax*2 + 7]
sar eax, 3
cmp dword [r9], eax
jge 0x18000131e
mov dword [r9], eax
mov r10d, 0xfffffff0
jmp 0x1800012b5
mov r9d, 3
mov r8d, r10d
mov ebx, r10d
mov rax, r15
test r11d, r11d
jle 0x180001397
movzx ecx, byte [rsi]
movzx edx, byte [rcx + r12]
mov ecx, r10d
cmp dl, 0x40
sete cl
and edx, 0x3f
sub r9d, ecx
inc ebx
mov ecx, r8d
mov r8d, edx
shl ecx, 6
or r8d, ecx
cmp ebx, 4
jne 0x18000138c
mov ebx, r10d
test r9d, r9d
jle 0x18000136f
mov ecx, r8d
shr ecx, 0x10
mov byte [rax], cl
inc rax
cmp r9d, 1
jle 0x180001380
mov ecx, r8d
shr ecx, 8
mov byte [rax], cl
inc rax
cmp r9d, 2
jle 0x18000138c
mov byte [rax], r8b
inc rax
dec r11d
inc rsi
test r11d, r11d
jg 0x180001332
sub eax, r15d
mov dword [r14], eax
jmp 0x1800012b5

Function at 0x1800016b0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x68], 0
xor eax, eax
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x1800016ec
mov rdx, qword [rdx]
call fcn.1800026d0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x180003350
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18004a0a8]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov edi, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea r9, [rcx + 0xc0]
cmp qword [r9 + 0x18], 8
jb 0x1800033a1
mov r9, qword [r9]
mov r8d, edi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp eax, edi
jne 0x18000354d
movdqa xmm0, xmmword [0x1800317a0]
movdqu xmmword [rsp + 0x48], xmm0
xor r12d, r12d
mov word [rsp + 0x38], r12w
xor r8d, r8d
lea rdx, [0x180031940]
lea rcx, [rsp + 0x38]
call fcn.180006750
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.1800174c0
mov r8d, edi
lea rdx, [0x18003178c]
lea rcx, [rbp - 0x80]
call fcn.180002c70
lea rax, [rbp - 0x80]
mov r9, r15
mov r8, r14
mov qword [rsp + 0x20], rax
cmp byte [rsi + 9], r12b
je 0x1800034bd
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.180003240
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180003468
lea rcx, [rsp + 0x38]
call fcn.180002a00
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1800034aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800034a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003576
call fcn.1800153bc
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
jmp 0x180003508
lea rdx, str.HaoKanWallPaper
lea rcx, [rsp + 0x58]
call fcn.18000d920
lea rcx, [rsp + 0x38]
call fcn.180002a00
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm1
lea rcx, [rsp + 0x38]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rcx, rdx
call fcn.18001ad00
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18000354d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003570
call fcn.1800153bc
mov eax, ebx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1800154d0
add rsp, 0x890
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180019c44
nop
call fcn.180019c44
nop
int3