joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042364
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 rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14004243c
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14004243c
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14004243c
test rsi, rsi
je 0x14004243c
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.1400362c4
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140042409
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14004243c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.14004f01c
mov esi, eax
test rbp, rbp
je 0x14004242c
test rdi, rdi
je 0x14004242c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x140042438
mov rcx, rbx
call fcn.140041fcc
mov eax, esi
jmp 0x14004243e
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

Function at 0x140043578
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.14003d9d0
mov rdi, rax
test rax, rax
je 0x1400435f4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400435ef
cmp dword [rbx], 0x40
jb 0x1400435ef
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x1400435ef
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400435f8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004b520
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 0x14004f84f
cmp dword [rcx + 0xe8], 0
jne 0x14004f84f
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.1400362c4
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.14004fc08
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 0x14004f810
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 0x14004f84f
cmp dword [rcx + 0xe8], 0
jne 0x14004f84f
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.1400362c4
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.14004fc08
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 0x14004f8ac
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.1400362c4
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 0x14004f908
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.14004f940
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 0x140052820
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 0x140052849
mov rdi, qword [rdx + 0x10]
jmp 0x14005289a
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 0x14005286a
call fcn.14004a4cc
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x140052884
call fcn.14004a4cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14005289a
call fcn.14004a4cc
call fcn.1400362c4
cmp qword [rax + 0x68], 0
je 0x1400528b4
mov rdx, rdi
mov rcx, rbp
call fcn.140051c20
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.140052b20
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400528db
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400528ea
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 0x14006d3a4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp qword [0x1402e70e8], 0
mov rdi, rcx
jne 0x14006d3c2
xor eax, eax
jmp 0x14006d4bd
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 0x40]
call fcn.14003aa58
mov edx, 1
mov rcx, rdi
call fcn.14006d328
mov rcx, rax
call fcn.140072e08
test rax, rax
jne 0x14006d3ef
xor r9d, r9d
jmp 0x14006d3f3
mov r9, qword [rax + 8]
mov rcx, qword [rdi + 0x40]
mov ebx, 0x1003
mov edx, ebx
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.140072e08
xor edx, edx
mov rcx, rdi
call fcn.14006d328
mov rcx, rax
call fcn.140072e08
test rax, rax
jne 0x14006d42b
xor r9d, r9d
jmp 0x14006d42f
mov r9, qword [rax + 8]
mov rcx, qword [rdi + 0x40]
mov r8d, 1
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.140072e08
mov rax, qword [rdi]
mov rbx, qword [rax + 0x328]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
cmp qword [rdi + 0x248], 0
jne 0x14006d4b8
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x28]
xorps xmm0, xmm0
xor edx, edx
xor ecx, ecx
movdqu xmmword [rsp + 0x20], xmm0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x14006d4b8
mov rcx, qword [rdi]
mov rbx, qword [rcx + 0x310]
mov rcx, rbx
call fcn.1401cc2e4
lea rdx, [rsp + 0x20]
mov rcx, rdi
call rbx
mov rdx, qword [rsp + 0x28]
mov rcx, qword [0x1402e70e8]
call fcn.1400cf4b0
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14006df54
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 [0x1402d6cb0]
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 0x14006dfa5
call fcn.140035158
int3
mov ecx, r14d
test r14d, r14d
je 0x14006e101
sub ecx, 1
je 0x14006dffb
sub ecx, 1
je 0x14006dfc5
cmp ecx, 1
je 0x14006dffb
jmp 0x14006e12e
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 0x14006e12e
lea rdx, [rbp + 0x388]
jmp 0x14006e135
lea rdx, [rbp + 0x430]
mov rcx, qword [r10 + 8]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14006e12e
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.14004c210
test eax, eax
je 0x14006e12e
call fcn.140035a3c
mov rdi, rax
test rax, rax
jne 0x14006e057
mov ecx, 0x80004005
call fcn.140006230
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401cc2e4
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rsp + 0x30], rax
cmp r14d, 1
jne 0x14006e09a
test byte [rsp + 0x60], 0x18
jne 0x14006e0bb
mov rax, qword [r15]
mov rbx, qword [rax + 0x340]
mov rcx, rbx
call fcn.1401cc2e4
mov rdx, qword [rsp + 0x58]
jmp 0x14006e0b1
mov rax, qword [r15]
mov rbx, qword [rax + 0x348]
mov rcx, rbx
call fcn.1401cc2e4
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x30]
mov rcx, r15
call rbx
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
call fcn.140035abc
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 0x14006e13d
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401cc2e4
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
jmp 0x14006e13d
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 0x14006e135
lea rdx, [0x14027bbe8]
mov rcx, rsi
call fcn.140005eb0
mov rax, rsi
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1401cb5d0
mov rbx, qword [rsp + 0x790]
add rsp, 0x750
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006ec90
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 [0x1402e70e8], 0
jne 0x14006ecc0
call fcn.140035158
int3
lea r8, [rbp + 0x77]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x14006ecd8
xor eax, eax
jmp 0x14006ee7f
lea rcx, [rbp + 0x7f]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14006ecd1
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 0x14006ed09
call fcn.140035158
int3
mov rax, qword [rbp + 0x77]
mov qword [rdi + 0x10], rax
mov rdx, qword [rbp + 0x77]
mov rcx, qword [0x1402e70e8]
call fcn.1400cf3ac
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.1401cc2e4
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 0x14006ed64
mov ecx, 0x80070057
call fcn.140006230
int3
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, r8d
or ecx, edx
jge 0x14006ed86
mov edx, r8d
lea rcx, [rbp + 0x6f]
call fcn.140006140
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x41], rax
mov rax, qword [rsi]
mov rbx, qword [rax + 0x2d0]
mov rcx, rbx
call fcn.1401cc2e4
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.1401cc2e4
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.1401cc2e4
mov rcx, rdi
call rbx
nop
mov rsi, qword [rbp + 0x6f]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x14006ee7a
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401cc2e4
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 0x140082670
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 0x1400826a1
call fcn.1400362c4
mov rdi, qword [rax + 0x18]
lea r8, [0x140227840]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x1400826c0
xor eax, eax
jmp 0x14008270c
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400826bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140082701
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140082728
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 0x1400bb17c
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 [0x1402d6cb0]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x1400bb1c0
xor eax, eax
jmp 0x1400bb2ce
test rdi, rdi
je 0x1400bb1b9
call fcn.1400362c4
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 0x1400bb1b9
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400bb1b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400bb2f4
mov rcx, rax
call fcn.1401e5540
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 0x1400bb287
cmp rdx, 0x400
ja 0x1400bb26b
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x1400bb249
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401cc390
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x1400bb2fa
mov dword [rdi], 0xcccc
jmp 0x1400bb281
mov rcx, rdx
call fcn.1401e53d8
mov rdi, rax
test rax, rax
je 0x1400bb28a
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x1400bb28a
mov rdi, rbx
test rdi, rdi
je 0x1400bb2fa
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.1400359f8
test rax, rax
je 0x1400bb2b2
mov rdx, rax
mov rcx, r12
call fcn.1400bddf8
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x1400bb2cc
call fcn.1401d8e48
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401cb5d0
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.140035158
int3
call fcn.140035158
int3
Function at 0x14011133c
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 0x14011150c
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 0x14011154e
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 0x1401119d8
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 0x140111aaa
test rbx, rbx
je 0x140111ab0
test r9, r9
je 0x140111ab6
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 0x140111a93
cmp dword [rsp + 0x48], 3
jne 0x140111a93
test eax, eax
jne 0x140111a93
cmp dword [rdi], eax
je 0x140111a93
mov ecx, dword [rdi]
call fcn.140034490
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 0x140111a87
cmp dword [rsp + 0x48], 3
jne 0x140111a87
test eax, eax
jne 0x140111a87
mov eax, 1
jmp 0x140111a95
mov rcx, qword [rbx]
call fcn.140034498
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.140035158
int3
call fcn.140035158
int3
call fcn.140035158
int3

Function at 0x140111de0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140111df1
xor eax, eax
jmp 0x140111e1f
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 0x140111e28
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x140111e39
xor eax, eax
jmp 0x140111e5d
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 0x1401692b0
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 0x140169370
mov rcx, rdx
mov ebx, 0x811c9dc5
xor esi, esi
call fcn.1401d8b54
mov r8, rax
mov eax, 0xcccccccd
mul r8d
shr edx, 3
test r8d, r8d
je 0x140169314
movzx ecx, word [rdi + rsi*2]
inc esi
imul ebx, ebx, 0x1000193
add esi, edx
xor ebx, ecx
cmp esi, r8d
jb 0x1401692ff
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 0x140169355
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140169355
mov eax, dword [r14]
cmp dword [rbx + 8], eax
jne 0x14016934b
mov rcx, qword [rbx + 0x10]
mov rdx, rdi
call fcn.1401e5c78
test eax, eax
je 0x140169350
mov rbx, qword [rbx]
jmp 0x14016932e
mov rax, rbx
jmp 0x140169357
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.140035158
int3

Function at 0x1401cff18
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14026e248]
xor ecx, ecx
lea r8, [0x14026e240]
lea rdx, str.FlsAlloc
call fcn.1401cfd40
mov rbx, rax
test rax, rax
je 0x1401cff58
mov rcx, rax
call fcn.1401cc2e4
mov rcx, rdi
call rbx
jmp 0x1401cff5e
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401cffc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14026e258]
mov ecx, 2
lea r8, [0x14026e250]
lea rdx, str.FlsGetValue
call fcn.1401cfd40
mov rdi, rax
test rax, rax
je 0x1401d0001
mov rcx, rax
call fcn.1401cc2e4
mov ecx, ebx
call rdi
jmp 0x1401d0009
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1401d0014
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, [0x14026e260]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14026e258]
call fcn.1401cfd40
mov rsi, rax
test rax, rax
je 0x1401d0060
mov rcx, rax
call fcn.1401cc2e4
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1401d006b
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 0x1401e3ee0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401e3f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d86b8
or eax, 0xffffffff
jmp 0x1401e3f02
xor eax, eax
add rsp, 0x28
ret
jmp 0x1401e3ee0
Function at 0x1401e3f08
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401e3f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401d86b8
or eax, 0xffffffff
jmp 0x1401e3f02
xor eax, eax
add rsp, 0x28
ret
jmp 0x1401e3ee0

Function at 0x1401ea034
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 0x1401e9ebf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401e9ebf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401e9ebf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401e9ebf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401e9ebf
cmp dword [rcx + 0x84], 0xe
jbe 0x1401e9ebf
cmp dword [rcx + 0xf8], 0
je 0x1401e9ebf
mov ecx, ebx
call fcn.1401e9f60
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.1401e9d3c
cmp dword [rbp + 0x20], 0
je 0x1401e9f0c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401e9f14
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401e9e58