joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025fd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x55d0], 0
lea rbx, [rcx + 0x55d8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140026077
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002602a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14003c980
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000ccf0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x55d0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x55e0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400dd100]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002607f
mov rcx, rbx
call fcn.14000ccf0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400267c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140026812
lea r11, [0x1400b22b0]
cmp r9b, 0x23
jne 0x1400267f5
cmp byte [r8], r9b
jne 0x1400267f5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400267e2
mov r11, qword [0x1400dd108]
xor r9d, r9d
not eax
mov r10, qword [r11 + 0x5598]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14002685e
cmp dword [r9], eax
je 0x140026867
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x5590]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140026835
mov rcx, rbx
pop rbx
jmp fcn.1400266d0
test r9, r9
je 0x14002685e
mov rax, r9
pop rbx
ret
Function at 0x140032300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14003234d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x140032352
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14003237d
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14003237d
mov rax, qword [rax + 0x388]
test rax, rax
je 0x14003237d
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x140032382
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14003239c
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x1400323a1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x140032423
inc ecx
test r8d, r8d
je 0x14003240e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140032413
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14003c400
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x140032462
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.140032300
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x140032472
inc esi
jmp 0x140032330
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140083760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x190]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x14008379c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0x118]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0x130], xmm0
subss xmm0, dword [r9 + 0x48]
movss dword [r9 + 0x11c], xmm1
subss xmm0, dword [r9 + 0x158]
movss dword [r9 + 0x15c], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x16c], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d4], eax
cmp byte [rbx + 0x5a], 0
jne 0x140083837
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0x11c], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0xd0], al
cmp byte [rbx + 0x60], 0
je 0x14008385d
mov rax, qword [0x1400dd108]
xor ecx, ecx
mov dword [rax + 0x40b0], ecx
mov dword [rax + 0x40b8], ecx
test dword [r10 + 4], 0x100000
je 0x14008386f
mov r8d, 2
jmp 0x1400838e5
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b8]
movss xmm1, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movss xmm3, dword [rbx + 0x28]
movss xmm4, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rax + 0x88], xmm1
movss dword [rax + 0x8c], xmm2
movss dword [rax + 0x90], xmm3
movss dword [rax + 0x94], xmm4
mov rax, qword [r9 + 0x2b8]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movss dword [rcx + rdx*8 - 0x10], xmm1
movss dword [rcx + rdx*8 - 0xc], xmm2
movss dword [rcx + rdx*8 - 8], xmm3
movss dword [rcx + rdx*8 - 4], xmm4
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x2b8]
mov rcx, qword [r10 + 0x1a8]
call fcn.140075b70
mov rdi, qword [0x1400dd108]
cmp byte [rdi + 0x55c4], 0
je 0x14008392a
cmp byte [rbx + 0x60], 0
jne 0x14008392a
xor r8d, r8d
lea rdx, [0x1400c90a0]
mov rcx, rsi
call fcn.1400260e0
mov dword [rdi + 0x55f8], 0x7f7fffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140085d80
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400dd108]
mov rdx, qword [rax + 0x44b8]
cmp ecx, 0xffffffff
jne 0x140085d9a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140085e19
mov r10d, dword [rdx]
lea r8, [0x1400c9091]
movzx eax, word [rdx + 0x80]
lea r11, [0x1400b22b0]
not r10d
mov byte [rdx + 0x1f0], cl
mov ecx, r10d
mov byte [rdx + 0x1fe], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x140085df3
cmp byte [r8], r9b
jne 0x140085df3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140085de0
not ecx
xor edx, edx
jmp fcn.1400205e0
ret
Function at 0x1400a6240
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov r11, qword [0x1400dd108]
mov r8, rcx
mov rbx, qword [r11 + 0x4520]
test rbx, rbx
je 0x1400a62ce
test dword [rbx + 0x10], 0x100000
jne 0x1400a62ce
mov rdx, rcx
mov rcx, qword [r11 + 0x3fe0]
call fcn.140010860
test eax, eax
je 0x1400a637a
movsxd rcx, dword [rbx]
xor r8d, r8d
test ecx, ecx
jle 0x1400a637a
mov r10, qword [rbx + 8]
mov r9, rcx
mov rcx, r10
mov edx, r8d
cmp dword [rcx], eax
je 0x1400a62b0
inc r8d
inc rdx
add rcx, 0x30
cmp rdx, r9
jl 0x1400a6297
add rsp, 0x20
pop rbx
ret
movsxd rax, r8d
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r10
je 0x1400a637a
mov byte [rcx + 0x2c], 1
add rsp, 0x20
pop rbx
ret
movzx r9d, byte [r8]
mov r10d, 0xffffffff
inc r8
mov ecx, r10d
test r9b, r9b
je 0x1400a631f
lea rbx, [0x1400b22b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400a6303
cmp byte [r8], r9b
jne 0x1400a6303
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400a62f0
not ecx
call fcn.140017250
mov rbx, rax
test rax, rax
je 0x1400a637a
test byte [rax + 0x3f9], 1
je 0x1400a637a
mov rcx, qword [rax + 0x418]
test rcx, rcx
je 0x1400a637a
mov edx, dword [rax + 0x90]
cmp dword [r11 + 0x4034], edx
jne 0x1400a6359
mov dword [r11 + 0x4038], edx
cmp dword [r11 + 0x4080], edx
jne 0x1400a636a
mov byte [r11 + 0x4084], 1
mov rcx, qword [rcx + 0x40]
call fcn.1400a49e0
or byte [rbx + 0x3f9], 8
add rsp, 0x20
pop rbx
ret
Function at 0x1400adb10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400d8040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400adb50
cmp al, 0x25
jne 0x1400adb44
cmp byte [r8 + 1], al
jne 0x1400adb50
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400adb37
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400adcae
cmp byte [r8 + 1], dl
je 0x1400adcae
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400adb8d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400adbb5
sub dl, 0x61
cmp dl, 0x19
ja 0x1400adba7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400adbb5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400adb70
jmp 0x1400adbb8
inc r9
cmp r8, r9
jae 0x1400adbef
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400adbe4
bt rdx, rax
jb 0x1400adbea
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400adbd0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14000bea0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400adc28
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400adc20
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400adc9c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x1400adc48
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400adc8a
movss xmm2, dword [0x1400c9d9c]
cmp al, 0x39
ja 0x1400adc8a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400adc64
cmp r8b, 0x2d
jne 0x1400adca9
xorps xmm1, xmmword [0x1400ca8e0]
movaps xmm0, xmm1
jmp 0x1400adcb1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400adcb1
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ae540
add rsp, 0x90
pop rbx
ret
Function at 0x1400ae2f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400d8040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1400ae330
cmp al, 0x25
jne 0x1400ae324
cmp byte [r8 + 1], al
jne 0x1400ae330
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1400ae317
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400ae488
cmp byte [r8 + 1], dl
je 0x1400ae488
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400ae36d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400ae395
sub dl, 0x61
cmp dl, 0x19
ja 0x1400ae387
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400ae395
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400ae350
jmp 0x1400ae398
inc r9
cmp r8, r9
jae 0x1400ae3cf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400ae3c4
bt rdx, rax
jb 0x1400ae3ca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400ae3b0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14000bea0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400ae408
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400ae400
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400ae47a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x1400ae428
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x1400ae468
movsd xmm2, qword [0x1400c9d40]
cmp al, 0x39
ja 0x1400ae468
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400ae444
cmp r8b, 0x2d
jne 0x1400ae483
xorps xmm1, xmmword [0x1400ca8d0]
movaps xmm0, xmm1
jmp 0x1400ae48b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400ae48b
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400ae540
add rsp, 0x90
pop rbx
ret

Function at 0x1400af318
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400af362
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400af362
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400af362
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400af362
cmp dword [rcx + 0x84], 0xe
jbe 0x1400af362
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400af364
xor al, al
add rsp, 0x28
ret
Function at 0x1800043f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x180035514
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r8d, r8d
movabs r9, 0x1801450c8
mov dword [rax + 8], 0x62756373
mov r9, qword [r9]
mov byte [rax + 0xc], r8b
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [rax + r9 + 0x88]
test ecx, ecx
je 0x1800355c5
lea rax, [r9 + rcx]
mov r10d, r8d
mov esi, dword [rax + 0x18]
test esi, esi
jle 0x1800355c5
mov r11d, dword [rax + 0x20]
mov ebx, dword [rax + 0x24]
mov r14d, dword [rax + 0x1c]
add r11, r9
add rbx, r9

Function at 0x18000af70
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x170
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x180144010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
cmp byte [rcx + 0x12], 0
jne 0x18000b0eb
mov byte [rcx + 0x12], 1
movzx edi, byte [rcx + 0x10]
mov r14, qword [rcx + 8]
mov rsi, qword [rcx]
xor edx, edx
mov r8d, 0x107
lea rcx, [rsp + 0x50]
call fcn.180064850
nop
test rsi, rsi
je 0x18000b0c0
cmp byte [rsi], 0
je 0x18000b0c0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18000b031
mov rax, rsi
lea r9, [rsp + 0x58]
sub r9, rsi
nop word [rax + rax]
movzx r8d, byte [rax]
movzx edx, byte [rax + r9]
sub r8d, edx
jne 0x18000b015
inc rax
test edx, edx
jne 0x18000b000
test r8d, r8d
je 0x18000b07a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x18000b031
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x58], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
sete bpl
test eax, eax
jne 0x18000b070
mov r8, rsi
mov edx, 0xff
lea rcx, [rsp + 0x58]
call fcn.180089cf8
test bpl, bpl
je 0x18000b0c0
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], 4
test rcx, rcx
je 0x18000b0c0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, 0xfffffffd
jne 0x18000b0c0
cmp dword [rsp + 0x30], 0
setne dil
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18000b0e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x18000b0e1
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x58], al
mov byte [rbx + 0x11], dil
movzx eax, dil
jmp 0x18000b0ef
movzx eax, byte [rcx + 0x11]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800341c0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18000ed20
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rax, [0x18000ea40]
mov rdi, rdx
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 8], rax
lea rax, [0x18000ea80]
mov qword [rcx + 0x10], rax
lea rax, [0x18000f2c0]
mov qword [rcx + 0x18], rax
lea rax, [0x18000eaa0]
mov qword [rcx + 0x20], rax
lea rax, [0x18000ea70]
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
test rdx, rdx
je 0x18000ee3c
lea rdx, str.XInputGetState
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ed93
mov qword [rbx], rax
mov edx, 0x64
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000edaa
mov qword [rbx + 8], rax
mov edx, 0x65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000edc1
mov qword [rbx + 0x10], rax
mov edx, 0x66
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000edd8
mov qword [rbx + 0x18], rax
lea rdx, str.XInputSetState
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000edf1
mov qword [rbx + 0x20], rax
lea rdx, str.XInputGetCapabilities
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ee0a
mov qword [rbx + 0x28], rax
lea rdx, str.XInputGetKeystroke
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ee23
mov qword [rbx + 0x30], rax
lea rdx, str.XInputGetBatteryInformation
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000ee3c
mov qword [rbx + 0x38], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180012c20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov ebp, 4
mov ecx, dword [0x1801485ec]
mov rax, qword gs:[0x58]
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rbp]
cmp dword [0x18014b69c], eax
jle 0x180012c90
lea rcx, [0x18014b69c]
call fcn.180034ab8
cmp dword [0x18014b69c], 0xffffffff
jne 0x180012c90
mov eax, dword [0x18014b188]
mov dword [0x18014b698], eax
lea rcx, [0x18014b69c]
call fcn.180034a58
mov esi, dword [0x18014b698]
test esi, esi
je 0x180012da1
mov ecx, esi
call fcn.180034dac
mov rdi, rax
mov qword [rsp + 0x50], rax
mov edx, dword [rbx + rbp]
cmp dword [0x18014b69c], edx
jle 0x180012ce5
lea rcx, [0x18014b69c]
call fcn.180034ab8
cmp dword [0x18014b69c], 0xffffffff
jne 0x180012ce5
mov eax, dword [0x18014b188]
mov dword [0x18014b698], eax
lea rcx, [0x18014b69c]
call fcn.180034a58
test rdi, rdi
je 0x180012d20
mov ebx, dword [0x18014b698]
cmp esi, ebx
jb 0x180012d26
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call fcn.180064850
mov rax, qword [0x18014b208]
test rax, rax
je 0x180012db9
mov rdx, rdi
mov ecx, ebx
mov rax, qword [rax + 8]
call qword [case.0x18001dfea.0]
mov esi, dword [0x18014b698]
xor ebx, ebx
mov r11d, esi
mov r9d, ebx
test esi, esi
je 0x180012d92
mov esi, 0x8005
mov ebp, 0x100
mov r14d, 1
nop dword [rax]
nop word [rax + rax]
movzx r8d, r14w
movzx r10d, byte [r9 + rdi]
nop dword [rax]
movzx edx, bx
add dx, dx
test r8w, r10w
setne cl
shr bx, 0xf
movzx eax, dx
xor ax, si
cmp bl, cl
cmove ax, dx
add r8w, r8w
movzx ebx, ax
cmp r8w, bp
jb 0x180012d60
inc r9
cmp r9, r11
jb 0x180012d50
test rdi, rdi
je 0x180012da3
mov rcx, rdi
call fcn.180034d9c
jmp 0x180012da3
xor ebx, ebx
movzx eax, bx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call fcn.180036440
nop
int3
Function at 0x180015ef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x180015fcf
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x180015f27
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x180015fd2
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x180015f76
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x180015f80
test rax, rax
je 0x180015fcf
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x180015fc0
cmp rdx, rax
jb 0x180015fa0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret