joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456ce0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456d8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00456de0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045fba0
xorps xmm15, xmm15
mov r14, qword [0x005f94d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045fce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00456ce0
Function at 0x461ac0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403a83
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.004094e0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045fce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403a60
cmp byte [0x005f928a], 0
je 0x461ad5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45ed20
jmp 0x403a60

Function at 0x461ae0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005f9580]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005f928a], 0
je 0x461b15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005f9840]
aesenc xmm0, xmmword [0x005f9850]
aesenc xmm0, xmmword [0x005f9860]
movq rax, xmm0
ret
jmp 0x409700

Function at 0x461b20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005f9580]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005f928a], 0
je 0x461b56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005f9840]
aesenc xmm0, xmmword [0x005f9850]
aesenc xmm0, xmmword [0x005f9860]
movq rax, xmm0
ret
jmp 0x409760

Function at 0x463820
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x463854
mov rcx, 0x28
jmp 0x46385f
shl rcx, 3
add rcx, 0x1480
mov qword [0x005f94d8], rcx
pop rbp
ret
Function at 0x46c220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46c2ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403940
xorps xmm15, xmm15
mov r14, qword [0x005f94d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46c2cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004befc0]
xor ebx, ebx
mov rcx, rdx
call fcn.00448460
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0046c800
inc rbx
cmp rcx, rbx
jae 0x46c2be
mov edi, 1
lea rsi, [0x004befc0]
call fcn.00448540
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00502448]
lea rsi, [0x00501d20]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045fce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046c220
Function at 0x47b360
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47b59b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x47b3fa
mov qword [rsp + 0x88], rax
lea rbx, [0x004d6b80]
mov rcx, rax
lea rax, [0x005a64a0]
call fcn.004675c0
test cl, cl
jne 0x47b3e3
mov rax, qword [rsp + 0x88]
call fcn.0047ac80
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x00500d28]
call fcn.0044c220
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x50], rax
call fcn.0047b5e0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x47b417
lea rdx, [0x004d4c40]
cmp rax, rdx
jne 0x47b405
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call fcn.0045d8c0
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004c2a80]
call fcn.0040a3a0
inc rdx
cmp rbx, rdx
jle 0x47b461
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x47b414
lea rax, [0x005a64a0]
lea rbx, [0x004d6b80]
lea rdi, [0x004d4c40]
nop dword [rax + rax]
call fcn.00467780
lea rdx, [0x004d4c40]
cmp rax, rdx
jne 0x47b58b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x004bbd80]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x004c7920]
call fcn.0040ce80
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x005f9500], 0
nop
je 0x47b4bb
mov rbx, rax
lea rax, [0x004c7920]
call fcn.00412440
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call fcn.00401500
call fcn.0045d980
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x47b522
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x47b514
mov dword [rsi + 0x10], edx
cmp dword [0x005f9500], 0
je 0x47b543
call fcn.00461c00
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x005a64a0]
lea rbx, [0x004d6b80]
lea rdi, [0x004d4c40]
nop dword [rax]
call fcn.00467780
lea rdx, [0x004d4c40]
cmp rax, rdx
jne 0x47b57c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004c2a80]
call fcn.0040a3a0
mov rbx, rdx
lea rcx, [0x004c2a80]
call fcn.0040a3a0
nop
mov qword [rsp + 8], rax
call fcn.0045fce0
mov rax, qword [rsp + 8]
jmp fcn.0047b360
Function at 0x495b20
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x495b37
inc rax
cmp rax, 4
jge 0x495b4f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x495b34
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x495b60
inc rax
cmp rax, 4
jge 0x495b6e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x495b97
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x495b7b
jmp 0x495b5d
Function at 0x49f8c0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x49f8ff
jb 0x49f914
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x49f980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x49fa54
jb 0x49fab3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0049f860
aeskeygenassist xmm1, xmm0, 1
call fcn.0049f880
aeskeygenassist xmm1, xmm2, 2
call fcn.0049f860
aeskeygenassist xmm1, xmm0, 2
call fcn.0049f880
aeskeygenassist xmm1, xmm2, 4
call fcn.0049f860
aeskeygenassist xmm1, xmm0, 4
call fcn.0049f880
aeskeygenassist xmm1, xmm2, 8
call fcn.0049f860
aeskeygenassist xmm1, xmm0, 8
call fcn.0049f880
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0049f860
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0049f880
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0049f860
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0049f880
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0049f860
jmp 0x49fb21
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0049f7c0
aeskeygenassist xmm1, xmm2, 2
call fcn.0049f820
aeskeygenassist xmm1, xmm2, 4
call fcn.0049f7c0
aeskeygenassist xmm1, xmm2, 8
call fcn.0049f820
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0049f7c0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0049f820
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0049f7c0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0049f820
jmp 0x49fb21
aeskeygenassist xmm1, xmm0, 1
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 2
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 4
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 8
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0049f780
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0049f780
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x49fb2e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x140007d40
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007d7b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007da0
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007db8
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007d6e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3d2]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007e84
test al, 0x10
je 0x140007d84
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007d84
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007e30
jmp 0x140007d84

Function at 0x14000e4f0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400156b0
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e590
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e52c
jmp 0x14000e540
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e540
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e520
jmp 0x14000e577
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e555
cmp word [rsi + 2], 0x3a
je 0x14000e577
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e5e0
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e5f8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e61a
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e511
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e564
xor eax, eax
jmp 0x14000e57c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e577
mov rcx, rbx
call fcn.140007c80
nop
nop word cs:[rax + rax]
nop
Function at 0x140003c4c
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
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003cc3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140003cc3
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140003cb0
cmp rbx, rcx
jae 0x140003cc3
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140003c9b
cmp rbx, rcx
jae 0x140003cc3
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x140003cc5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140004a88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x140004af0
call fcn.140012558
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140004af0
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140004b36
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x140004b15
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x14000bb9a.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x140004b34
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x14000bb9a.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400055bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rdi, r9
mov rbx, r8
and qword [r9], 0
mov r14, qword [rbp + 0x40]
and dword [r14], 0
cmp qword [rcx + 0xb0], 0
je 0x140005694
xor r8d, r8d
call fcn.140005a34
mov rsi, rax
test rax, rax
je 0x140005743
mov qword [rbp - 0x20], rsi
and dword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and dword [rbp + 0x20], 0
and dword [rbp + 0x40], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x40]
mov dword [r14], ecx
test eax, eax
jne 0x140005678
call fcn.140002050
mov qword [rdi], rax
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005678
lea ebx, [rax + 1]
jmp 0x140005686
mov rcx, qword [rdi]
call fcn.1400014c0
and qword [rdi], 0
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140005741
mov rax, qword [rcx]
and qword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdx
lea rdx, [rbp + 0x40]
mov rax, qword [rax + 0x108]
call qword [case.0x14000bb9a.0]
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax - 0x10]
test ecx, ecx
jne 0x1400056c4
xor ebx, ebx
jmp 0x140005720
shr ecx, 1
mov dword [r14], ecx
call fcn.140002050
mov qword [rdi], rax
xor r8d, r8d
lea ebx, [r8 + 1]
cmp dword [r14], r8d
jbe 0x14000571c
lea ecx, [r8 + r8]
lea edx, [rcx + 1]
test edx, edx
js 0x140005758
mov rax, qword [rbp + 0x40]
cmp edx, dword [rax - 0x10]
jg 0x140005758
movsxd r9, ecx
movzx edx, word [rax + r9*2 + 2]
test ecx, ecx
js 0x140005758
cmp ecx, dword [rax - 0x10]
jg 0x140005758
shl dl, 4
sub dl, 0x51
add dl, byte [rax + r9*2]
mov rax, qword [rdi]
mov byte [r8 + rax], dl
add r8d, ebx
cmp r8d, dword [r14]
jb 0x1400056dd
mov rax, qword [rbp + 0x40]
lea rdx, [rax - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140005741
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14000bb9a.0]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400014d0
int3
Function at 0x140005764
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x1400057df
xor r8d, r8d
call fcn.140005a34
mov rsi, rax
test rax, rax
je 0x1400057db
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400057db
mov eax, dword [rsp + 0x30]
jmp 0x1400057f5
mov eax, edi
jmp 0x1400057f5
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140005808
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f68]
mov eax, 0x2068
call fcn.140032d10
sub rsp, rax
mov rax, qword [0x140068690]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
mov r12, r9
mov r10, r8
mov rdi, rdx
mov r14, qword [rbp + 0x1fd0]
mov qword [rsp + 0x38], rdx
xor r13d, r13d
cmp qword [rcx + 0xb0], r13
je 0x1400059b5
xor r8d, r8d
mov rdx, r10
call fcn.140005a34
mov rsi, rax
test rax, rax
jne 0x14000587b
mov rdx, r14
jmp 0x1400059ed
call fcn.1400116dc
mov rcx, rax
test rax, rax
je 0x140005a26
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14000bb9a.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test eax, eax
jne 0x140005951
mov edx, dword [rsp + 0x30]
shr edx, 1
lea ecx, [rax + 1]
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400058fa
lea rcx, [rsp + 0x38]
call fcn.140002fb4
mov rbx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
test rbx, rbx
jne 0x14000592a
mov eax, r13d
jmp 0x14000593e
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140037e88
test eax, eax
js 0x140005a1b
cmp eax, dword [rbx - 0xc]
jg 0x140005a1b
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], r13w
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15d, r15d
jne 0x140005986
lea rcx, [rbx - 0x18]
call fcn.140002544
add rax, 0x18
mov qword [rdi], rax
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x1400059f5
mov rcx, qword [rbx - 0x18]
lea rdx, [rbx - 0x18]
jmp 0x1400059a6
mov rdx, r14
mov rcx, rdi
call fcn.140001aec
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400059f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14000bb9a.0]
jmp 0x1400059f5
lea r8, [0x14004bda8]
test r14, r14
cmovne r8, r14
mov rax, qword [rcx + 0xd8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x50]
mov rdx, r12
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140001aec
mov rax, rdi
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.140032710
add rsp, 0x2068
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400014d0
nop
mov ecx, 0x80004005
call fcn.1400014d0
int3