joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140038f88
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140069000]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, r8d
mov rsi, rdx
xor eax, eax
cmp ecx, 0x7b
ja 0x140038fc8
movsxd rax, ecx
lea rcx, [0x140067a70]
mov rax, qword [rcx + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
test rax, rax
jne 0x14003900c
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x1400441c8]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], 0
jmp 0x14003901c
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14003a2c8
mov rdx, qword [rbp - 0x10]
cmp edi, 1
jne 0x14003906c
lea eax, [rdi + 0xc]
cmp rdx, rax
jb 0x140039052
lea rbx, [rbp - 0x28]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov r8d, eax
lea rdx, str.Press_the_key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x140039068
lea r9, str.Press_the_key
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1400331bc
mov rdx, qword [rbp - 0x10]
mov dword [rbp - 0x30], 0x42fa0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp rdx, 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.140025cf4
test al, al
je 0x1400390b3
test edi, edi
jne 0x1400390b3
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400390f1
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400390ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400390ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003cf80
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d340
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003913c
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push r14
sub rsp, 0x60
lea r14, [rsp + 0x68]
movabs rcx, 0x7a5db90d33787107
mov qword [r11 - 0x20], rcx
mov qword [r11 - 0x18], r14
mov rdi, qword [r14]
mov rax, rdi
xor rax, rcx
mov qword [r11 - 0x28], rax
and qword [r14], 0
lea rdx, [0x140069a18]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
js 0x1400392de
xor edx, edx
lea r8d, [rdx + 0x40]
lea rbx, [0x140069980]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140069a38]
mov dword [0x140069980], eax
mov eax, dword [0x140069a3c]
mov dword [0x140069984], eax
mov dword [0x140069988], 0x15
and dword [0x140069990], 0
mov dword [0x1400699b0], 0x50
mov r8d, 1
mov dword [0x140069998], r8d
mov dword [0x1400699ac], r8d
mov r9, qword [0x140069ea8]
mov qword [0x1400699a0], r9
mov dword [0x1400699a8], r8d
mov rcx, qword [0x140069a18]
mov rax, qword [rcx]
lea rdx, [0x140069eb0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x20
xor edx, edx
call qword [rax + 0x80]
test eax, eax
js 0x1400392de
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov edx, 0x1548
mov r9d, 8
mov r8d, 0x3a0
lea rcx, str.1.67_WIP
call fcn.1400077a4
xor ecx, ecx
call fcn.140007408
call fcn.1400094c0
mov rbx, rax
mov rcx, qword [0x140069ea8]
call fcn.14001ff50
mov rcx, qword [0x140069eb0]
call fcn.14001f61c
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
movss xmm3, dword [0x14003fd8c]
mov r8d, 0x1b44c
lea rdx, str.OTTO
mov rcx, qword [rbx + 0x98]
call fcn.140013d9c
mov qword [0x1400698b0], rax
mov rcx, qword [0x140069a18]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [r14], rdi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop r14
ret
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400396c8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
lea r14, [rsp + 0xc8]
xor ebp, ebp
mov rbx, qword [r14]
xor ecx, ecx
mov qword [r14], rbp
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [rbp + 1]
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x14003998c]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [rsp + 0x64], ebp
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x98], rbp
call qword [sym.imp.GDI32.dll_GetStockObject]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
lea r15, str.notepad
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x60]
lea rax, [0x140039ba0]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 3
call qword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x1400397ba
lea r9d, [rbp + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Failed_to_register_window_class.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140039845
mov qword [rsp + 0x58], rbp
mov r9d, 0x80000000
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rdx, r15
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140069ea8], rax
test rax, rax
je 0x140039845
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140069ea8]
lea rdx, [0x140043e68]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140069ea8]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140069ea8]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea r11, [rsp + 0xb0]
mov qword [r14], rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140039da0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140039db7
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140039e02
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret

Function at 0x14003a3f4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x140069000]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea r14, [rsp + 0x178]
mov rbp, rdx
mov rsi, qword [r14]
lea rcx, [rsp + 0x24]
xor ebx, ebx
xor edx, edx
mov r8d, 0x12c
mov qword [r14], rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32First
jmp 0x14003a483
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rdi
test eax, eax
je 0x14003a4bd
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14003a464
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], rsi
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14003d340
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x28]
jmp 0x14003a490

Function at 0x14003a4cc
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], ecx
lea rcx, [0x140032760]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14003a505
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14003a505
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x14003a507
xor eax, eax
add rsp, 0x38
ret
Function at 0x14003da48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003da92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003da92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003da92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003da92
cmp dword [rcx + 0x84], 0xe
jbe 0x14003da92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003da94
xor al, al
add rsp, 0x28
ret
Function at 0x14000e633
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
not ecx
lea r10, [0x140043828]
mov r9d, 0xff
cmp r8, 0x40
jb 0x14000e775
mov r11, r8
shr r11, 4
xor eax, eax
cmp rax, 0x40
je 0x14000e76a
sub r11, 1
jb 0x14000e79c
movzx edi, byte [rdx + rax + 0xf]
movzx esi, byte [rdx + rax + 0xe]
mov esi, dword [r10 + rsi*4 + 0x400]
xor esi, dword [r10 + rdi*4]
movzx edi, byte [rdx + rax + 0xd]
xor esi, dword [r10 + rdi*4 + 0x800]
movzx edi, byte [rdx + rax + 0xc]
xor esi, dword [r10 + rdi*4 + 0xc00]
movzx edi, byte [rdx + rax + 0xb]
xor esi, dword [r10 + rdi*4 + 0x1000]
movzx edi, byte [rdx + rax + 0xa]
xor esi, dword [r10 + rdi*4 + 0x1400]
movzx edi, byte [rdx + rax + 9]
xor esi, dword [r10 + rdi*4 + 0x1800]
movzx edi, byte [rdx + rax + 8]
xor esi, dword [r10 + rdi*4 + 0x1c00]
movzx edi, byte [rdx + rax + 7]
xor esi, dword [r10 + rdi*4 + 0x2000]
movzx edi, byte [rdx + rax + 6]
xor esi, dword [r10 + rdi*4 + 0x2400]
movzx edi, byte [rdx + rax + 5]
xor esi, dword [r10 + rdi*4 + 0x2800]
movzx edi, byte [rdx + rax + 4]
xor esi, dword [r10 + rdi*4 + 0x2c00]
movzx edi, byte [rdx + rax + 3]
mov ebx, ecx
shr ebx, 0x18
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3000]
movzx edi, byte [rdx + rax + 2]
mov ebx, ecx
shr ebx, 0x10
and ebx, r9d
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3400]
movzx edi, byte [rdx + rax + 1]
mov ebx, ecx
shr ebx, 8
and ebx, r9d
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3800]
movzx edi, byte [rdx + rax]
and ecx, r9d
xor rcx, rdi
xor esi, dword [r10 + rcx*4 + 0x3c00]
add rax, 0x10
mov ecx, esi
jmp 0x14000e65c
sub r8, rax
add rdx, rax
jmp 0x14000e649
xor esi, esi
cmp r8, rsi
je 0x14000e790
mov al, byte [rdx + rsi]
xor al, cl
movzx eax, al
shr ecx, 8
xor ecx, dword [r10 + rax*4]
inc rsi
jmp 0x14000e777
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
sub r8, rax
lea rax, [0x140047890]
mov ecx, 0xf
mov rdx, r8
mov r8, rax
call fcn.140035800
ud2
Function at 0x14000ee4a
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r12, rdx
mov rbx, rcx
mov byte [rdx + 0xf0], 0xa
mov edx, 4
call fcn.14000efa2
mov edi, eax
mov dword [r12], eax
lea rcx, [rbx + 4]
mov edx, 4
call fcn.14000efa2
mov dword [r12 + 4], eax
lea rcx, [rbx + 8]
mov edx, 4
call fcn.14000efa2
mov dword [r12 + 8], eax
add rbx, 0xc
mov edx, 4
mov rcx, rbx
call fcn.14000efa2
mov dword [r12 + 0xc], eax
xor ecx, ecx
lea r8, [0x140047c28]
mov r15d, 0xff
lea r9, [0x140048028]
lea r10, [0x140048428]
lea r11, [0x140048828]
lea r14, [0x140048c28]
mov esi, eax
mov rdx, rsi
shr rdx, 0xe
and edx, 0x3fc
movzx edx, byte [rdx + r8 + 3]
shl edx, 0x18
xor edx, edi
mov rdi, rsi
shr rdi, 8
and rdi, r15
movzx edi, byte [r9 + rdi*4 + 2]
shl edi, 0x10
mov rbx, rsi
and rbx, r15
movzx ebx, byte [r10 + rbx*4 + 1]
shl ebx, 8
xor ebx, edi
xor ebx, edx
shr rsi, 0x18
movzx edi, byte [r11 + rsi*4]
xor edi, ebx
xor edi, dword [rcx + r14]
mov dword [r12 + rcx*4 + 0x10], edi
mov edx, dword [r12 + rcx*4 + 4]
xor edx, edi
mov dword [r12 + rcx*4 + 0x14], edx
xor edx, dword [r12 + rcx*4 + 8]
mov dword [r12 + rcx*4 + 0x18], edx
xor eax, edx
mov dword [r12 + rcx*4 + 0x1c], eax
add rcx, 4
cmp rcx, 0x28
jne 0x14000eedb
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400169f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140016a42
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x140016a42
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x140016a5d
cmp eax, 0x42
jne 0x140016a42
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x140016a9a
cmp byte [rdi + rcx], 0x5f
jne 0x140016a9a
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140016b92
mov rcx, rsi
xor edx, edx
call fcn.140012450
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call fcn.140012450
test al, al
jne 0x140016a95
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016b0c
lea rdx, [0x14004bc9b]
mov r8d, 1
call fcn.140009e60
test al, al
je 0x140016b0c
mov dil, 2
jmp 0x140016a51
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x140016bec
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x140016b86
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140016aef
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140016ade
add dl, 0xa9
jmp 0x140016aed
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140016bec
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x140016bec
movzx edx, bl
add rax, rdx
jae 0x140016ab0
jmp 0x140016bec
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140016a51
xor ebx, ebx
lea r14, [0x14004c076]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140016b44
cmp byte [rax + rcx], 0x45
je 0x140016c44
sub rbx, 1
jb 0x140016b69
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016b69
mov r8d, 2
mov rdx, r14
call fcn.140009e60
test al, al
jne 0x140016a95
mov rcx, rsi
call fcn.140016c50
test al, al
jne 0x140016a95
mov rax, qword [rsi]
test rax, rax
jne 0x140016b30
jmp 0x140016a51
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x140016bec
cmp rax, r9
jae 0x140016be9
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140016c3d
cmp qword [rsi + 0x20], 0
je 0x140016c36
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1400169f0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140016a53
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016c2c
lea rax, [0x14004c041]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140009e60
mov dil, 2
test al, al
jne 0x140016a51
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x140016a51
mov bl, 1
xor r8d, r8d
jmp 0x140016bee
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140016a51
Function at 0x14001c7c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor r12d, r12d
xor r15d, r15d
xor ebx, ebx
cmp r8, 0x201
jae 0x14001c860
jmp 0x14001c84f
jae 0x14001c91e
cmp r8, 0x201
jae 0x14001c860
lea rdi, [rbp - 0x58]
mov r13d, 0x200
mov rsi, r8
jmp 0x14001c8b7
sub r8, rbx
sub r15, rbx
cmp r15, r8
jae 0x14001c88f
lea rcx, [rbp + 0x3c8]
mov rdx, rbx
call fcn.1400365f0
mov r12, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp r12, rax
mov ebx, 0xffffffff
cmovb rbx, r12
mov qword [rbp + 0x3d8], rbx
mov r15, r12
mov rdi, qword [rbp + 0x3e8]
mov r13, rbx
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14001c8df
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001c97d
mov r8d, r14d
cmp rsi, r8
jne 0x14001c840
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001c9a0
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x14001c84f
jmp 0x14001c860
cmp r13, r8
jb 0x14001c9ba
lea rcx, [rbp + 0x3a8]
mov rdx, rdi
call fcn.14001d220
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rax, qword [rbp + 0x3e0]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
test r12, r12
je 0x14001c968
mov edx, 2
mov rcx, qword [rbp + 0x3e8]
call fcn.1400052b0
nop
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x3e0]
mov qword [rcx], rax
mov byte [rcx + 0x18], 2
test r12, r12
jne 0x14001c957
jmp 0x14001c968
lea rcx, str.internal_error:_entered_unreachable_codex
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400358a0
jmp 0x14001c9cf
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r13
mov r8, rax
call fcn.140035890
ud2
Function at 0x14002f420
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14002f45f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14001fbf0]
mov qword [rbp - 0x28], rax
lea rax, [0x14004edd0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400357c0
ud2

Function at 0x1400352e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003532e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003532e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003532e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003532e
cmp dword [rcx + 0x84], 0xe
jbe 0x14003532e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140035330
xor al, al
add rsp, 0x28
ret
Function at 0x180001500
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x850
mov rax, qword [0x180015070]
xor rax, rsp
mov qword [rsp + 0x840], rax
xor edi, edi
lea rax, vtable.CDeskBand.0
mov rbx, rcx
mov qword [rcx], rax
lea rax, vtable.CDeskBand.1.0
mov dword [rcx + 0x20], 1
mov qword [rcx + 8], rax
lea rax, vtable.CDeskBand.2.0
mov qword [rcx + 0x28], rdi
mov qword [rcx + 0x10], rax
lea rax, vtable.CDeskBand.3.0
mov qword [rcx + 0x30], rdi
mov dword [rcx + 0x3c], edi
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x68], rdi
mov dword [rcx + 0x70], edi
mov qword [rcx + 0x78], rdi
mov dword [rcx + 0x88], 0x20
mov dword [rcx + 0x8c], 0x20
lea rcx, [0x180011b30]
call fcn.1800031d0
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x40], di
call fcn.180004fb0
lea rax, [rsp + 0x38]
lea rdx, str.Software24x7HELP
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x3ff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180001628
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.REPRESENTATIVE_ICON
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180001628
lea rcx, [rsp + 0x40]
call fcn.180003b98
mov dword [rbx + 0x9c], eax
cmp eax, 1
jl 0x180001628
cmp eax, 8
jle 0x180001632
mov dword [rbx + 0x9c], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lock inc dword [0x1800175e0]
lea rcx, [0x180011b98]
mov qword [rbx + 0x54], rdi
mov qword [rbx + 0x94], rdi
call fcn.1800031d0
mov rax, rbx
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.180003a00
mov rbx, qword [rsp + 0x868]
add rsp, 0x850
pop rdi
ret