joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004c350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x14004c38f
cmp dword [rcx + 0xe8], 0
jne 0x14004c38f
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140035090
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14004c748
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004c3ec
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, 0x20
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.140035090
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14004c448
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14004c480
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14004f360
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14004f389
mov rdi, qword [rdx + 0x10]
jmp 0x14004f3da
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14004f3aa
call fcn.14003cae0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14004f3c4
call fcn.14003cae0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14004f3da
call fcn.14003cae0
call fcn.140035090
cmp qword [rax + 0x68], 0
je 0x14004f3f4
mov rdx, rdi
mov rcx, rbp
call fcn.14004e674
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14004f660
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14004f41b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14004f42a
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140069fd4
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x678]
sub rsp, 0x750
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1402cece8]
xor rax, rsp
mov qword [rbp + 0x640], rax
mov r14d, r9d
mov rsi, rdx
mov r15, rcx
mov r10, qword [rbp + 0x6a0]
test r10, r10
jne 0x14006a025
call fcn.140032800
int3
mov ecx, r14d
test r14d, r14d
je 0x14006a181
sub ecx, 1
je 0x14006a07b
sub ecx, 1
je 0x14006a045
cmp ecx, 1
je 0x14006a07b
jmp 0x14006a1ae
mov dword [rsp + 0x20], 0x408
mov r9d, 0x2b8
lea r8, [rbp + 0x170]
xor edx, edx
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14006a1ae
lea rdx, [rbp + 0x388]
jmp 0x14006a1b5
lea rdx, [rbp + 0x430]
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14006a1ae
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
and qword [rsp + 0x50], 0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x430]
call fcn.140047ff4
test eax, eax
je 0x14006a1ae
call fcn.140031ba4
mov rdi, rax
test rax, rax
jne 0x14006a0d7
mov ecx, 0x80004005
call fcn.140016620
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp r14d, 1
jne 0x14006a11a
test byte [rsp + 0x60], 0x18
jne 0x14006a13b
mov rax, qword [r15]
mov rbx, qword [rax + 0x340]
mov rcx, rbx
call fcn.1401c8134
mov rdx, qword [rsp + 0x58]
jmp 0x14006a131
mov rax, qword [r15]
mov rbx, qword [rax + 0x348]
mov rcx, rbx
call fcn.1401c8134
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rcx, r15
call rbx
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.1400225e0
add rax, 0x18
mov qword [rsi], rax
mov r14, qword [rsp + 0x30]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x14006a1bd
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401c8134
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
jmp 0x14006a1bd
mov dword [rsp + 0x20], 0x208
mov r9d, 0x2b8
lea r8, [rbp + 0x170]
xor edx, edx
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
lea rdx, [rbp + 0x180]
jne 0x14006a1b5
lea rdx, [0x140276550]
mov rcx, rsi
call fcn.140015f40
mov rax, rsi
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1401c73d0
mov rbx, qword [rsp + 0x790]
add rsp, 0x750
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006accc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rcx
cmp qword [0x1402dbf68], 0
jne 0x14006acfc
call fcn.140032800
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x14006ad14
xor eax, eax
jmp 0x14006aebb
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14006ad0d
mov dword [rbp - 0x59], 0x67
mov edx, 0x18
lea ecx, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x14006ad45
call fcn.140032800
int3
mov rax, qword [rbp + 0x77]
mov qword [rdi + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402dbf68]
call fcn.1400caf48
mov qword [rdi + 8], rax
and qword [rdi], 0
mov qword [rbp - 0x29], rdi
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2c8]
mov rcx, rbx
call fcn.1401c8134
mov r8, rdi
lea rdx, [rbp + 0x6f]
mov rcx, rsi
call rbx
nop
mov rax, qword [rbp + 0x6f]
mov r8d, dword [rax - 0x10]
test r8d, r8d
jns 0x14006ada0
mov ecx, 0x80070057
call fcn.140016620
int3
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, r8d
or ecx, edx
jge 0x14006adc2
mov edx, r8d
lea rcx, [rbp + 0x6f]
call fcn.1400163d0
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2d0]
mov rcx, rbx
call fcn.1401c8134
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rbx
mov dword [rbp - 0x35], eax
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2d0]
mov rcx, rbx
call fcn.1401c8134
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call rbx
mov dword [rbp - 0x31], eax
mov dword [rbp - 0x2d], 1
movups xmm0, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x49]
movaps xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp + 0x17], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp + 0x27], xmm1
mov qword [rbp - 0x11], 0xffffffffffff0002
mov qword [rbp - 0x19], 0xffffffffffff0000
lea r9, [rbp - 0x19]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rax
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rbp + 0x7f]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call fcn.1401c8134
mov rcx, rdi
call rbx
nop
mov rsi, qword [rbp + 0x6f]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x14006aeb6
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401c8134
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, 1
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140072ab1
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
movabs rax, sym.imp.KERNEL32.dll_GetProcessHeap
movabs rbx, sym.imp.KERNEL32.dll_HeapAlloc
movabs r14, sym.imp.KERNEL32.dll_HeapFree
mov rax, qword [rax]
mov rbx, qword [rbx]
mov r14, qword [r14]
mov dword [rbp - 0x20], 0x46633178
mov dword [rbp - 0x1c], 0x4b614443
mov dword [rbp - 0x18], 0x65442b66
mov dword [rbp - 0x14], 0x26245e79
mov dword [rbp - 0x10], 0x50765f52
mov dword [rbp - 0xc], 0x504f235a
mov dword [rbp - 8], 0x676f26
call rax
xor edx, edx
mov rcx, rax
mov r8d, 0x5f5e100
mov rsi, rax
call rbx
xor r10d, r10d
mov r9, rax
mov ecx, r10d
nop dword [rax]
nop word [rax + rax]
mov byte [rcx + rax], cl
inc rcx
cmp rcx, 0x5f5e100
jb 0x140072b51
movzx ecx, byte [rax]
mov r11, r10
mov ebx, 1
movabs r12, 0x140069073
movabs r15, 0x2492492492492493
imul edx, ecx, 0x57
movzx ecx, byte [rax + 1]
movzx eax, byte [rax + 0x64]
sub ecx, edx
imul eax, eax, 0x6e
cdq
idiv ecx
movsxd rdi, eax
movabs rax, 0x14006657b
add rdi, rax
movzx eax, byte [r9 + 1]
movzx r8d, byte [r9]
movsxd rcx, r10d
inc r10d
imul r8, rbx
add r8, rax
mov rax, r15
dec rbx
mul rcx
imul r8, r11
mov rax, rcx
sub rax, rdx
inc r11
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x1c
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 + r12], al
cmp r10d, 0x7d0
jb 0x140072ba2
mov r8, r9
xor edx, edx
mov rcx, rsi
call r14
movabs rcx, resource.20
call rdi
mov rbx, qword [rsp + 0x60]
invalid
invalid
invalid
Function at 0x140072ab4
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
movabs rax, sym.imp.KERNEL32.dll_GetProcessHeap
movabs rbx, sym.imp.KERNEL32.dll_HeapAlloc
movabs r14, sym.imp.KERNEL32.dll_HeapFree
mov rax, qword [rax]
mov rbx, qword [rbx]
mov r14, qword [r14]
mov dword [rbp - 0x20], 0x46633178
mov dword [rbp - 0x1c], 0x4b614443
mov dword [rbp - 0x18], 0x65442b66
mov dword [rbp - 0x14], 0x26245e79
mov dword [rbp - 0x10], 0x50765f52
mov dword [rbp - 0xc], 0x504f235a
mov dword [rbp - 8], 0x676f26
call rax
xor edx, edx
mov rcx, rax
mov r8d, 0x5f5e100
mov rsi, rax
call rbx
xor r10d, r10d
mov r9, rax
mov ecx, r10d
nop dword [rax]
nop word [rax + rax]
mov byte [rcx + rax], cl
inc rcx
cmp rcx, 0x5f5e100
jb 0x140072b51
movzx ecx, byte [rax]
mov r11, r10
mov ebx, 1
movabs r12, 0x140069073
movabs r15, 0x2492492492492493
imul edx, ecx, 0x57
movzx ecx, byte [rax + 1]
movzx eax, byte [rax + 0x64]
sub ecx, edx
imul eax, eax, 0x6e
cdq
idiv ecx
movsxd rdi, eax
movabs rax, 0x14006657b
add rdi, rax
movzx eax, byte [r9 + 1]
movzx r8d, byte [r9]
movsxd rcx, r10d
inc r10d
imul r8, rbx
add r8, rax
mov rax, r15
dec rbx
mul rcx
imul r8, r11
mov rax, rcx
sub rax, rdx
inc r11
shr rax, 1
add rax, rdx
shr rax, 4
imul rax, rax, 0x1c
sub rcx, rax
movzx eax, byte [rbp + rcx - 0x20]
xor byte [r8 + r12], al
cmp r10d, 0x7d0
jb 0x140072ba2
mov r8, r9
xor edx, edx
mov rcx, rsi
call r14
movabs rcx, resource.20
call rdi
mov rbx, qword [rsp + 0x60]
invalid
invalid
invalid

Function at 0x14007e3f0
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, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x14007e421
call fcn.140035090
mov rdi, qword [rax + 0x18]
lea r8, [0x140220e50]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14007e440
xor eax, eax
jmp 0x14007e48c
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14007e43c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14007e481
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.14007e4a8
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400b6cc4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x1402cece8]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x1400b6d08
xor eax, eax
jmp 0x1400b6e16
test rdi, rdi
je 0x1400b6d01
call fcn.140035090
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400b6d01
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400b6d01
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400b6e3c
mov rcx, rax
call fcn.1401da5b0
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd rdx, ecx
lea rcx, [rdx + 0x10]
cmp rdx, rcx
sbb rdx, rdx
and rdx, rcx
je 0x1400b6dcf
cmp rdx, 0x400
ja 0x1400b6db3
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1400b6d91
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401c8060
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x1400b6e42
mov dword [rdi], 0xcccc
jmp 0x1400b6dc9
mov rcx, rdx
call fcn.1401da594
mov rdi, rax
test rax, rax
je 0x1400b6dd2
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x1400b6dd2
mov rdi, rbx
test rdi, rdi
je 0x1400b6e42
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.140031b60
test rax, rax
je 0x1400b6dfa
mov rdx, rax
mov rcx, r12
call fcn.1400b9940
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x1400b6e14
call fcn.1401d3f70
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401c73d0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.140032800
int3
call fcn.140032800
int3
Function at 0x14010d148
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14010d318
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14010d35a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x14010d7e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14010d8b6
test rbx, rbx
je 0x14010d8bc
test r9, r9
je 0x14010d8c2
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010d89f
cmp dword [rsp + 0x48], 3
jne 0x14010d89f
test eax, eax
jne 0x14010d89f
cmp dword [rdi], eax
je 0x14010d89f
mov ecx, dword [rdi]
call fcn.1400316d0
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010d893
cmp dword [rsp + 0x48], 3
jne 0x14010d893
test eax, eax
jne 0x14010d893
mov eax, 1
jmp 0x14010d8a1
mov rcx, qword [rbx]
call fcn.1400316d8
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140032800
int3
call fcn.140032800
int3
call fcn.140032800
int3

Function at 0x14010dbec
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010dbfd
xor eax, eax
jmp 0x14010dc2b
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14010dc34
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010dc45
xor eax, eax
jmp 0x14010dc69
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140164f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140165050
mov rcx, rdx
mov ebx, 0x811c9dc5
xor esi, esi
call fcn.1401d3a30
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
test r8d, r8d
je 0x140164ff4
movzx ecx, word [rdi + rsi*2]
inc esi
imul ebx, ebx, 0x1000193
add esi, edx
xor ebx, ecx
cmp esi, r8d
jb 0x140164fdf
mov dword [r14], ebx
xor edx, edx
mov eax, ebx
div dword [rbp + 0x10]
mov dword [r15], edx
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140165035
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140165035
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x14016502b
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call fcn.1401e0f4c
test eax, eax
je 0x140165030
mov rbx, qword [rbx]
jmp 0x14016500e
mov rax, rbx
jmp 0x140165037
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.140032800
int3

Function at 0x1401cbd30
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140267958]
xor ecx, ecx
lea r8, [0x140267950]
lea rdx, str.FlsAlloc
call fcn.1401cbb58
mov rbx, rax
test rax, rax
je 0x1401cbd70
mov rcx, rax
call fcn.1401c8134
mov rcx, rdi
call rbx
jmp 0x1401cbd76
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401cbdd8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140267968]
mov ecx, 2
lea r8, [0x140267960]
lea rdx, str.FlsGetValue
call fcn.1401cbb58
mov rdi, rax
test rax, rax
je 0x1401cbe19
mov rcx, rax
call fcn.1401c8134
mov ecx, ebx
call rdi
jmp 0x1401cbe21
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401cbe2c
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140267970]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140267968]
call fcn.1401cbb58
mov rsi, rax
test rax, rax
je 0x1401cbe78
mov rcx, rax
call fcn.1401c8134
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1401cbe83
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401d3fbc
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401d3fdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d37a8
or eax, 0xffffffff
jmp 0x1401d3fde
xor eax, eax
add rsp, 0x28
ret
jmp 0x1401d3fbc
Function at 0x1401d3fe4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401d3fdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d37a8
or eax, 0xffffffff
jmp 0x1401d3fde
xor eax, eax
add rsp, 0x28
ret
jmp 0x1401d3fbc

Function at 0x1401e4fec
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1401e4e77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401e4e77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401e4e77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401e4e77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401e4e77
cmp dword [rcx + 0x84], 0xe
jbe 0x1401e4e77
cmp dword [rcx + 0xf8], 0
je 0x1401e4e77
mov ecx, ebx
call fcn.1401e4f18
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1401e4cf4
cmp dword [rbp + 0x20], 0
je 0x1401e4ec4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401e4ecc
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401e4e10
Function at 0x1415b2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415b21df
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 0x1415b2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b206f
add dl, dl
jne 0x1415b2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b20f6
xor eax, eax
add dl, dl
jne 0x1415b20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b21ad
add dl, dl
jne 0x1415b20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415b20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415b207e
mov eax, 1
add dl, dl
jne 0x1415b2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b20fb
sub eax, ebx
mov ebx, 1
jne 0x1415b214c
mov ecx, 1
add dl, dl
jne 0x1415b212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415b2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b215d
cmp eax, 0x7d00
jae 0x1415b219b
cmp eax, 0x500
jb 0x1415b2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b207e
cmp eax, 0x7f
ja 0x1415b219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415b21d2
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 0x1415b207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20