joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140115d78
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rbp - 0x30], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor r8d, r8d
lea rdx, [0x1401dbff0]
lea rcx, [rbp - 0x30]
call fcn.1400041b8
nop
lea r9, [rbp - 0x30]
mov r8, rsi
mov rdx, rbx
lea rcx, [0x1402309f8]
call fcn.140113888
mov dil, al
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140115e1d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140115e18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115f17
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
test dil, dil
jne 0x140115ef0
mov qword [rbp - 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea r8, [rbp - 0x50]
mov rdx, rsi
mov rcx, rbx
call fcn.1401179e0
test al, al
je 0x140115ea2
mov r8d, dword [0x1402479b0]
lea rdx, [rbp - 0x50]
mov rcx, rbx
test r8d, r8d
jne 0x140115e8e
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140115ea2
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140115ede
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140115ed9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115f11
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
int3
int3

Function at 0x140115f20
Capabilities:
Delete registry value

Disassembly:
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140115f34
Function at 0x140115f34
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [0x1402309f8]
call fcn.140113888
xor r14d, r14d
test al, al
jne 0x14011604c
mov qword [rbp - 0x28], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r14w
lea r8, [rbp - 0x28]
mov rdx, rsi
mov rcx, rdi
call fcn.1401179e0
test al, al
je 0x140115ffe
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140115ffe
cmp qword [rbx + 0x18], 8
jb 0x140115fe1
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140115ffe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14011603a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140116035
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140116063
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r14w
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
int3
Function at 0x140116368
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov qword [rbp - 0x21], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], r13w
jne 0x1401163b4
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.1400041b8
nop
mov qword [rbp - 1], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r13w
jne 0x1401163da
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.1400041b8
nop
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x21]
lea r8, [rbp - 1]
mov rdx, r12
lea rcx, [0x1402309f8]
call fcn.140114410
mov r15b, al
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140116459
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140116454
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401165c7
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r13w
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1401164ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401164a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401165cd
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r13w
test r15b, r15b
jne 0x140116593
mov qword [rbp - 0x21], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x1401164d2
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.1400041b8
nop
lea rdx, [rbp - 0x21]
mov rcx, r12
call fcn.140117be4
mov rdi, rax
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x14011653b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140116536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401165c1
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r13w
mov dword [rbp - 0x39], 8
test rdi, rdi
je 0x140116597
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140116597
cmp dword [rbp - 0x39], r13d
je 0x140116597
mov rsi, qword [rbp - 0x31]
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1401afad0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
int3
int3
int3
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140116368
Function at 0x1401165ec
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140116630

Function at 0x140116704
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12d, dword [rsp + 0x98]
lea rax, [r11 - 0x20]
mov rsi, qword [rsp + 0x90]
mov rdi, r9
mov qword [r11 - 0x38], rax
mov rbx, r8
mov qword [r11 - 0x40], rsi
mov rbp, rdx
mov qword [r11 - 0x48], r9
mov r15, rcx
mov r9, r8
mov qword [r11 - 0x20], r12
mov r8, rdx
mov rdx, rcx
lea rcx, [0x1402309f8]
call fcn.1401140c0
test al, al
je 0x140116773
mov eax, dword [rsp + 0x48]
jmp 0x1401167f6
mov rdx, rbp
mov rcx, r15
call fcn.140117be4
mov dword [rsp + 0x98], r12d
mov rbp, rax
test rax, rax
je 0x1401167d8
cmp qword [rbx + 0x18], 8
jb 0x140116798
mov rbx, qword [rbx]
lea rax, [rsp + 0x98]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1401167d8
mov eax, dword [rsp + 0x98]
test eax, eax
jne 0x1401167f6
mov r8, r12
mov rcx, rdi
test rsi, rsi
je 0x1401167ed
mov rdx, rsi
call fcn.1401b1b70
jmp 0x1401167f4
xor edx, edx
call fcn.1401b2770
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x140116984
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov esi, dword [rsp + 0xa8]
mov rdi, r9
mov r12, qword [rsp + 0xa0]
mov rbx, r8
mov qword [rax - 0x48], rsi
mov rbp, rdx
mov qword [rax - 0x50], r12
mov r14, rcx
mov qword [rax - 0x58], r9
mov r9, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [0x1402309f8]
call fcn.14011427c
xor r13d, r13d
test al, al
je 0x1401169ea
mov al, 1
jmp 0x140116a82
mov rdx, rbp
mov rcx, r14
call fcn.140117be4
mov r14, rax
mov bpl, r13b
test rax, rax
je 0x140116a71
cmp qword [rbx + 0x18], 8
lea ecx, [rsi + rsi]
mov dword [rsp + 0xa8], ecx
jb 0x140116a14
mov rbx, qword [rbx]
lea rax, [rsp + 0xa8]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov rcx, r14
mov ebx, eax
sete bpl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140116a71
mov ecx, dword [rsp + 0xa8]
shr ecx, 1
test esi, esi
jne 0x140116a62
mov word [rdi], r13w
jmp 0x140116a7f
lea eax, [rsi - 1]
cmp ecx, eax
cmovb eax, ecx
mov word [rdi + rax*2], r13w
jmp 0x140116a7f
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.1400ff058
mov al, bpl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140116aa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
call fcn.140117be4
mov rdi, rax
test rax, rax
je 0x140116afb
cmp qword [rbx + 0x18], 8
jb 0x140116ac4
mov rbx, qword [rbx]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
and qword [rsp + 0x20], 0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140116afb
mov eax, dword [rsp + 0x58]
jmp 0x140116afd
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140118088
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov qword [rbp - 0x41], r9
xor r12d, r12d
mov qword [rbp - 0x39], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rsi + r8*2], r12w
jne 0x1401180d5
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.1400041b8
nop
mov qword [rbp - 0x19], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r12w
jne 0x1401180fb
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.1400041b8
nop
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x19]
mov rdx, r15
lea rcx, [0x1402309f8]
call fcn.1401152d0
mov r14b, al
mov r13d, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140118173
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, r13
jb 0x14011816e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401182c5
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r12w
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1401181c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, r13
jb 0x1401181bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401182cb
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r12w
test r14b, r14b
je 0x1401181df
xor eax, eax
jmp 0x14011829f
mov qword [rbp - 0x39], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x1401181eb
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.1400041b8
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
mov rcx, r15
call fcn.140115818
mov rdi, rax
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140118250
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, r13
jb 0x14011824b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401182bf
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r12w
test rdi, rdi
je 0x14011829a
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14011829d
mov ebx, dword [rbp - 0x49]
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
int3
int3
int3
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140118088
Function at 0x1401182d4
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov r15, rcx
mov qword [rbp - 0x41], r9
xor r12d, r12d
mov qword [rbp - 0x39], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rsi + r8*2], r12w
jne 0x1401180d5
mov rdx, rsi
lea rcx, [rbp - 0x39]
call fcn.1400041b8
nop
mov qword [rbp - 0x19], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov r8, rbx
inc r8
cmp word [rdi + r8*2], r12w
jne 0x1401180fb
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.1400041b8
nop
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x19]
mov rdx, r15
lea rcx, [0x1402309f8]
call fcn.1401152d0
mov r14b, al
mov r13d, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x140118173
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, r13
jb 0x14011816e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401182c5
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r12w
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1401181c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, r13
jb 0x1401181bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401182cb
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r12w
test r14b, r14b
je 0x1401181df
xor eax, eax
jmp 0x14011829f
mov qword [rbp - 0x39], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x1401181eb
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.1400041b8
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
mov rcx, r15
call fcn.140115818
mov rdi, rax
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x140118250
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, r13
jb 0x14011824b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401182bf
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x29], xmm0
mov word [rbp - 0x39], r12w
test rdi, rdi
je 0x14011829a
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14011829d
mov ebx, dword [rbp - 0x49]
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
int3
int3
int3
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp 0x140118088

Function at 0x1401182ec
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, 0xffffffff80000001
jmp fcn.140118340
Function at 0x14011cd90
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov r8, rcx
jb 0x14011cdaa
mov r8, qword [rcx]
mov dword [rsp + 0x28], 8
lea rdx, str.print
and qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta dil
ja 0x14011cdff
mov rcx, rbx
call fcn.14011c4dc
test al, al
jne 0x14011cdff
cmp qword [rbx + 0x18], 8
jb 0x14011cdea
mov rbx, qword [rbx]
mov ecx, 0x557
call fcn.1400f70b0
mov rdx, rbx
mov rcx, rax
call fcn.14016b72c
mov rbx, qword [rsp + 0x40]
mov al, dil
add rsp, 0x30
pop rdi
ret

Function at 0x140129b54
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x1401efea0]
xor esi, esi
xor edi, edi
mov dword [rsp + 0x30], r9d
mov r13d, 0x400
mov r15d, r9d
mov r14, r8
mov rbp, rdx
mov rbx, rcx
movdqu xmmword [rsp + 0x34], xmm0
cmp rcx, r13
jb 0x140129bc3
lea eax, [rsi + 1]
cmp eax, 5
jae 0x140129bc3
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r13
jae 0x140129ba9
mov rcx, rbx
call fcn.140129a9c
cmp rbx, 0x64
jae 0x140129c62
test edi, edi
je 0x140129c62
imul eax, edi, 0x3e8
shr eax, 0xa
cmp rbx, 0xa
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test eax, eax
je 0x140129c62
cmp rbx, 0xa
jae 0x140129c0e
lea rbx, [0x1401e03ac]
cmp eax, 0xa
jb 0x140129c15
lea rbx, [0x1401dbff0]
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x60]
mov ecx, r13d
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r9d, word [rsp + 0x60]
lea r8, str._c_s_u
mov edx, 0xa
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call fcn.1400132f8
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1400ff030
test r15d, r15d
jne 0x140129c6b
test esi, esi
je 0x140129c94
mov r8, r14
lea rdx, [0x1401dc108]
mov rcx, rbp
call fcn.1400ff030
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.1400f70b0
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.1400ff030
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140129cb8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x108
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x20]
mov ecx, 0x400
lea edx, [r9 - 0x55]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401afad0
add rsp, 0x108
ret
Function at 0x14016333c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
lea r8, [0x1401ef788]
mov rdx, rcx
mov rcx, qword [0x14023fc50]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1401634c9
mov rdx, rax
mov rcx, qword [0x14023fc50]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x1401634c9
mov rdx, rbx
mov rcx, qword [0x14023fc50]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1401634c9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1401634c9
and qword [rsp + 0x68], 0
mov esi, edi
mov edx, edi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1401634c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1401634b9
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1401b1b70
and qword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1401634b0
mov rsi, qword [rsp + 0x58]
lea ecx, [rax + 0x18]
call fcn.1401af938
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14016345d
lea rax, [0x1401f2348]
mov qword [rbx], rax
lea rax, [0x1401f2358]
mov qword [rbx], rax
and qword [rsp + 0x60], 0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1401af950
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
jmp 0x14016345f
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f1dc3.0]
test rbx, rbx
je 0x1401634b0
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x14016349c
mov r8d, 0xffffff
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call fcn.1401af95c
test eax, eax
je 0x14016349c
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1400f1dc3.0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x68]
jmp 0x1401634cb
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401a1bd0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rsi, [0x14027e3a0]
mov rcx, rsi
mov rdi, rdx
call fcn.1400bbdd8
mov r8d, 0x12345678
mov r9d, 0x23456789
mov dword [rbx + 0x1e8], r8d
mov edx, 0x34567890
mov dword [rbx + 0x1ec], r9d
jmp 0x1401a1c61
movsx rcx, al
mov eax, r8d
xor rcx, rax
shr r8d, 8
movzx eax, cl
xor r8d, dword [rsi + rax*4]
movzx eax, r8b
add eax, r9d
mov dword [rbx + 0x1e8], r8d
imul r9d, eax, 0x8088405
mov eax, edx
shr edx, 8
inc r9d
mov ecx, r9d
mov dword [rbx + 0x1ec], r9d
shr rcx, 0x18
xor rcx, rax
movzx eax, cl
xor edx, dword [rsi + rax*4]
inc rdi
mov dword [rbx + 0x1f0], edx
mov al, byte [rdi]
test al, al
jne 0x1401a1c15
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401a1c80
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

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 r15
sub rsp, 0x30
cmp byte [0x140235378], 0
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1401a1d62
cmp byte [rcx + 4], 0
je 0x1401a1ccd
mov r8d, edi
add rcx, 8
imul r8d, esi
call fcn.14013f920
jmp 0x1401a1d62
mov r10, rsi
mov r11, rbp
imul r10, rdi
test r10, r10
je 0x1401a1d62
lea r15, [0x14027e3a0]
movsx rax, byte [r11]
mov r8d, dword [rbx + 0x1f0]
mov r9d, r8d
mov edx, dword [rbx + 0x1e8]
and r9d, 0xfffd
xor rax, rdx
or r9d, 2
movzx ecx, al
shr edx, 8
xor edx, dword [r15 + rcx*4]
movzx eax, dl
add eax, dword [rbx + 0x1ec]
imul eax, eax, 0x8088405
mov dword [rbx + 0x1e8], edx
inc eax
mov dword [rbx + 0x1ec], eax
shr rax, 0x18
xor rax, r8
shr r8d, 8
movzx eax, al
xor r8d, dword [r15 + rax*4]
mov eax, r9d
xor eax, 1
mov dword [rbx + 0x1f0], r8d
imul eax, r9d
shr eax, 8
xor byte [r11], al
inc r11
sub r10, 1
jne 0x1401a1ce7
and dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1401a02ac
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret