joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141d79058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141d791df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141d79089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d7906f
add dl, dl
jne 0x141d79096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d790f6
xor eax, eax
add dl, dl
jne 0x141d790a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d791ad
add dl, dl
jne 0x141d790b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d790c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d790d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d790dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d790ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d7907e
mov eax, 1
add dl, dl
jne 0x141d79106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d79113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d790fb
sub eax, ebx
mov ebx, 1
jne 0x141d7914c
mov ecx, 1
add dl, dl
jne 0x141d7912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d7913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d79123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d7907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d79168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d79175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d7915d
cmp eax, 0x7d00
jae 0x141d7919b
cmp eax, 0x500
jb 0x141d79196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d7907e
cmp eax, 0x7f
ja 0x141d7919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d7907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d791d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141d7907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140017c90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

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
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x140017e86
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140017d44
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x140017d00
mov ecx, dword [r10]
jmp 0x140017e27
cmp ecx, 0x4e0
jb 0x140017e27
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140017d60
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140017db0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x140017ce0
movzx ecx, byte [rdi + 8]
or esi, eax
add cl, 0xff
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x140017cd0
xor edx, edx
mov eax, ebp
div r15d
xor edx, edx
mov ecx, eax
mov eax, esi
div r15d
cmp eax, ecx
jb 0x140017eaa
xor edx, edx
mov eax, ebp
div r15d
cmp edx, r14d
jne 0x140017cc0
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x1400187f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor r8d, r8d
mov r10, rdx
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
jb 0x140018809
mov r10, qword [rdx]
movzx r9d, byte [r10]
test r9b, r9b
je 0x140018858
nop dword [rax]
nop word [rax + rax]
movzx edx, r9b
lea r10, [r10 + 1]
sub r9b, 0x41
cmp r9b, 0x19
movzx r9d, byte [r10]
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
test r9b, r9b
jne 0x140018820
lea eax, [r8 + r8*8]
mov edx, 0x40
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul r8d, ecx, 0x8001
mov rcx, rbx
call fcn.1400188a0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400188a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x13f0
call fcn.14001ca80
sub rsp, rax
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
xor edi, edi
mov qword [rsp + 0x40], rcx
mov rsi, rcx
mov dword [rsp + 0x13d4], 0xffffffff
mov rbp, rdx
mov dword [rsp + 0x54], r8d
lea ecx, [rdi + 1]
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, ecx
mov dword [rsp + rcx*4 + 0x54], r8d
inc rcx
cmp rcx, 0x270
jb 0x1400188f0
mov dword [rsp + 0x50], 0x270
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
test rbp, rbp
je 0x140018999
mov rcx, rsi
mov qword [rsp + 0x1420], rbx
call fcn.140017f10
mov rbx, qword [rsi]
mov r8, rbp
mov rcx, rbx
xor edx, edx
call fcn.14001f250
lea rax, [rbx + rbp]
mov rbx, qword [rsp + 0x1420]
mov qword [rsi + 8], rax
test rbp, rbp
je 0x140018999
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], 0x20
mov edx, pe_nt_image_headers64
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x38], 0xffffffff
call fcn.140017c90
mov rcx, qword [rsi]
mov byte [rdi + rcx], al
inc rdi
cmp rdi, rbp
jb 0x140018961
mov rax, rsi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.14001ca20
add rsp, 0x13f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019620
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140019651
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x1400196cb
mov rdi, r14
mov rcx, rbx
call fcn.1400134b0
test rax, rax
jle 0x1400196a3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14001eba0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400196bb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400196c3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140019665
sub r14, rdi
jmp 0x1400197af
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400196e2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400196e4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140019716
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14001eba0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400197ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140019751
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14001978d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140025940
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400197ac
cmp rbp, rax
ja 0x140019760
test rbp, rbp
je 0x1400197ac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140025940
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400197d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140019868
test r8, r8
jle 0x140019860
nop word [rax + rax]
mov rcx, rdi
call fcn.140013c30
test rax, rax
jle 0x14001983e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14001eba0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140019858
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140019860
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140019800
sub r14, rbx
mov rax, r14
jmp 0x1400198e6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140019881
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140019883
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x1400198db
test ecx, ecx
jle 0x1400198bc
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14001eba0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x1400198db
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400198db
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140025ea0
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14001adc0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14001af71
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001ac90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001af36
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001aeb0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14001af25
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14001aeed
mov r10, qword [rdx]
cmp r10, rax
je 0x14001aee7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14001af25
cmp r9, rdx
je 0x14001af01
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14001af4b
cmp r9, rdx
jne 0x14001aef2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14001ae60
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001af25
lea rcx, str.invalid_hash_bucket_count
call fcn.14001bb2c
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14001afa5
cvtsi2ss xmm0, rdx
jmp 0x14001afba
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400279e8
movss xmm1, dword [0x1400445c8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14001afe8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14001afe8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001b01a
cmp rbx, 0x200
jae 0x14001b017
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14001b01a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14001adc0
Function at 0x14001b4d0
Capabilities:
Access peb ldr_data
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov esi, edx
mov dword [rsp + 0x20], ecx
mov ecx, dword [0x14005d490]
mov rax, qword gs:[0x58]
mov ebp, 4
mov rdi, qword [rax + rcx*8]
xor ebx, ebx
mov eax, dword [rdi + rbp]
cmp dword [0x14005cde0], eax
jg 0x14001b673
mov eax, dword [rdi + rbp]
cmp dword [0x14005cdf0], eax
jg 0x14001b62b
mov ecx, dword [rsp + 0x20]
call fcn.14001b030
test rax, rax
jne 0x14001b5fa
mov edx, dword [rsp + 0x20]
movzx ecx, dl
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
movzx eax, byte [rsp + 0x21]
xor rcx, rax
imul rcx, r8
movzx eax, byte [rsp + 0x22]
xor rcx, rax
imul rcx, r8
movzx eax, byte [rsp + 0x23]
xor rcx, rax
imul rcx, r8
mov r8, qword [0x14005cdd0]
and r8, rcx
add r8, r8
mov rcx, qword [0x14005cdb8]
mov rax, qword [rcx + r8*8 + 8]
cmp rax, qword [0x14005cda8]
je 0x14001b5c5
mov rcx, qword [rcx + r8*8]
cmp edx, dword [rax + 0x10]
je 0x14001b5c2
cmp rax, rcx
je 0x14001b5c5
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x14001b5b4
mov rbx, rax
test rbx, rbx
je 0x14001b627
mov rbx, qword [0x14005cde8]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [0x14005cda0]
call fcn.14001a520
mov rcx, qword [rax]
add rcx, 0x18
cmp qword [rcx + 0x18], 0x10
jb 0x14001b5f8
mov rcx, qword [rcx]
call rbx
mov edx, esi
mov rcx, rax
call fcn.14001b780
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001ca20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x14001b604
lea rcx, [0x14005cdf0]
call fcn.14001cf78
cmp dword [0x14005cdf0], 0xffffffff
jne 0x14001b531
mov ecx, 0xd4250f59
call fcn.14001b030
mov rcx, rax
mov edx, 0xb2844d9f
call fcn.14001b780
mov qword [0x14005cde8], rax
lea rcx, [0x14005cdf0]
call fcn.14001cf18
jmp 0x14001b531
lea rcx, [0x14005cde0]
call fcn.14001cf78
cmp dword [0x14005cde0], 0xffffffff
jne 0x14001b522
mov dword [rsp + 0x38], 0xdedc9aff
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], 0xc
movsd xmm0, qword [str.advapi32.dll]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140044580]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0
mov ecx, 0x38
call fcn.14001c8d0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x14005cda8], rax
mov qword [0x14005cdb8], rbx
xorps xmm0, xmm0
movdqa xmmword [0x14005cdc0], xmm0
mov qword [0x14005cdd0], 7
mov qword [0x14005cdd8], 8
movss xmm0, dword [0x1400445c4]
movss dword [0x14005cda0], xmm0
mov r8, rax
mov edx, 0x10
lea rcx, [0x14005cdb8]
call fcn.14001ac90
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [0x14005cda0]
call fcn.14001a810
nop
lea r9, [fcn.14001ac30]
mov edx, 0x28
lea r8d, [rdx - 0x27]
lea rcx, [rsp + 0x38]
call fcn.14001cad0
lea rcx, [0x14003ee20]
call fcn.14001cdd8
nop
lea rcx, [0x14005cde0]
call fcn.14001cf18
jmp 0x14001b522
Function at 0x14001b780
Capabilities:
Encode data using xor
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 r12
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
xor r11d, r11d
mov r12d, edx
mov rbp, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov ebx, dword [r8 + 0x20]
mov edi, dword [r8 + 0x24]
add rbx, rcx
mov r15d, dword [r8 + 0x1c]
add rdi, rcx
mov r14d, dword [r8 + 0x18]
add r15, rcx
test r14d, r14d
je 0x14001b84b
movzx eax, word [rdi]
xor r9d, r9d
mov r10d, dword [rbx]
add r10, rbp
mov esi, dword [r15 + rax*4]
add rsi, rbp
movzx eax, byte [r10]
test al, al
je 0x14001b825
nop dword [rax + rax]
movzx r8d, al
lea r10, [r10 + 1]
sub al, 0x41
cmp al, 0x19
lea ecx, [r8 + 0x20]
movzx edx, cl
cmova edx, r8d
movsx eax, dl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx eax, byte [r10]
test al, al
jne 0x14001b7f0
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, r12d
je 0x14001b868
inc r11d
add rdi, 2
add rbx, 4
cmp r11d, r14d
jb 0x14001b7d0
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
mov rax, rsi
jmp 0x14001b84d

Function at 0x14001d8b4
Capabilities:
Parse pe header

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

Function at 0x14002bd98
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002bbc4
Function at 0x180001928
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
lea r9, [rsp + 0x30]
xor r8d, r8d
lea ecx, [rbx + 0x13]
mov dl, 1
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
cmp eax, ebx
jl 0x180001960
lea ecx, [rbx + 6]
xor edx, edx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, ebx
jne 0x180001965
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180001965
mov ebx, 0x522
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180001970
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rcx, qword [0x180029648]
mov esi, 0x104
xor edx, edx
mov r8, rsi
mov ebx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x180001a72
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x180001a58
mov dx, 0x3a
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrChrA]
lea rdx, [0x18002c15d]
mov r8, rdi
lea rcx, [rax + 2]
mov rbx, rax
mov byte [rax + 1], 0
call qword [sym.imp.USER32.dll_wsprintfA]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov r8d, 3
lea rcx, [rbx + 2]
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x180001a58
mov rdx, qword [0x180029880]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180001a3c
xor ebx, ebx
jmp 0x180001a44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x180001a60
call fcn.180001928
jmp 0x180001a5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x180029648]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180001a84
Capabilities:
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov r12d, edx
mov r13, rcx
xor edx, edx
xor ecx, ecx
mov esi, r9d
mov ebx, 8
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov rcx, qword [0x180029648]
xor edx, edx
lea r8d, [rax + 0x11]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x180001ba1
lea ecx, [rbp + 1]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rdi + rbx]
lea rdx, [0x18002c16c]
mov r8d, eax
call qword [sym.imp.USER32.dll_wsprintfA]
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
mov dword [rsp + 0x20], 1
call fcn.1800153c0
test eax, eax
mov ebx, eax
jne 0x180001b8f
test esi, esi
je 0x180001b8f
lea r8, [rsp + 0x30]
lea rdx, [0x18002c23d]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
mov ebx, eax
jne 0x180001b8f
movsx r8d, byte [0x18002c1e6]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrRChrA]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x30]
add eax, 1
lea rdx, [rbx + 1]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x180029648]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret