joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400166b0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, r9
mov esi, r8d
mov rdi, rdx
xor ecx, ecx
mov qword [r11 + 0x20], rcx
lea rax, [r11 + 0x10]
mov qword [r11 - 0x28], rax
lea rax, [r11 + 0x20]
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001674e
mov rbx, qword [rsp + 0x88]
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001674e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
mov ebx, 0xffffffff
cmp eax, 0x7ffffc17
je 0x140016781
mov eax, dword [rdx + 0x10]
cmp eax, ebx
je 0x140016777
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016781
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400167ae
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400167a4
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400167ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x140017800
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x130]
mov rbx, rcx
mov edx, 0x3f3
mov rcx, rdi
call fcn.1400e8cf4
mov edx, 0x3f1
mov rcx, rdi
call fcn.14011f59c
cmp dword [rdi], 0
lea rcx, [rbx + 0x218]
mov rdx, rax
je 0x140017855
mov r8d, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005ed20
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005f170
Function at 0x1400181f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401f7b80]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp + 0x38], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax + 0xb0]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rcx + 0x598], rdx
lea rdx, str.SoftwareJ._RiverCDLabelerSettings
mov qword [rsp + 0x30], r14
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400183db
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x28]
mov rbx, qword [rbp + 0x38]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, str.PrintFrontCover
mov qword [rsp + 0x50], rsi
mov rcx, rbx
lea rsi, [rdi + 0x4d1]
mov dword [rbp + 0x20], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rbp + 0x28], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x20], 4
jne 0x1400182b0
test eax, eax
je 0x1400182b3
mov byte [rsi], 1
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], r14d
mov qword [rsp + 0x28], rax
lea rsi, [rdi + 0x4d2]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x28], 4
lea rdx, str.PrintBackCover
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x20], 4
jne 0x1400182f4
test eax, eax
je 0x1400182f7
mov byte [rsi], 1
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], r14d
mov qword [rsp + 0x28], rax
lea rsi, [rdi + 0x4d3]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x28], 4
lea rdx, str.PrintCDLabeler
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x20], 4
jne 0x140018338
test eax, eax
je 0x14001833b
mov byte [rsi], 1
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], r14d
mov qword [rsp + 0x28], rax
lea rsi, [rdi + 0x4e0]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rbp + 0x28], 4
lea rdx, str.LabelStyle
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x20], 4
jne 0x14001837c
test eax, eax
je 0x14001837f
mov dword [rsi], r14d
lea rax, [rbp + 0x28]
mov dword [rbp + 0x20], r14d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
add rdi, 0x4d4
mov dword [rbp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.PrintOutlines
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x20], 4
mov rsi, qword [rsp + 0x50]
jne 0x1400183c5
test eax, eax
je 0x1400183c8
mov byte [rdi], 1
test rbx, rbx
je 0x1400183d6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
add rsp, 0x60
pop r14
pop rdi
pop rbp
ret
Function at 0x14001e710
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x130]
mov rsi, rcx
mov edx, 0x439
mov rcx, rdi
call fcn.1400e8cf4
mov edx, 0x417
mov rcx, rdi
call fcn.14011f59c
cmp dword [rdi], 0
lea rcx, [rsi + 0x218]
mov rdx, rax
je 0x14001e762
mov r8d, 0xffffffff
call fcn.14005ed20
jmp 0x14001e767
call fcn.14005f170
mov edx, 0x418
mov rcx, rdi
call fcn.14011f59c
cmp dword [rdi], 0
lea rcx, [rsi + 0x220]
mov rdx, rax
je 0x14001e79d
mov r8d, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005ed20
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f170
Function at 0x140025a80
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], esi
test rcx, rcx
jne 0x140025aa8
mov ecx, esi
jmp 0x140025aac
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140025abe
mov rcx, rdi
call fcn.1400269c0
mov rcx, qword [rdi + 0x770]
mov rax, qword [0x1401f7b80]
mov qword [rax + 0xb0], rcx
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareJ._RiverCDLabelerSettings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140025c0c
mov rbx, qword [rsp + 0x78]
movzx eax, byte [rdi + 0x6a2]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.PrintFrontCover
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx eax, byte [rdi + 0x6a3]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.PrintBackCover
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx eax, byte [rdi + 0x6a4]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.PrintCDLabeler
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rdi + 0x6b0]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LabelStyle
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140025c0c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
test rbx, rbx
je 0x140025c1a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140033b50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
push rbx
push rsi
push r12
push r13
sub rsp, 0x48
mov r13, rdx
mov rbx, rcx
test rcx, rcx
je 0x140033d61
movzx eax, word [rcx]
test ax, ax
je 0x140033d61
mov rsi, rcx
nop dword [rax]
cmp ax, 0x20
je 0x140033b8c
cmp ax, 0x2b
jne 0x140033ba9
add rbx, 2
mov rax, rbx
sub rax, rsi
sar rax, 1
cmp eax, 0x7fffffff
jge 0x140033d61
movzx eax, word [rbx]
jmp 0x140033b80
xor r12b, r12b
cmp ax, 0x2d
je 0x140033bbc
mov ecx, 0xe2
cmp ax, cx
jne 0x140033bd7
add rbx, 2
mov r12b, 1
mov rax, rbx
sub rax, rsi
sar rax, 1
cmp eax, 0x7fffffff
jge 0x140033d61
movzx ecx, word [rbx]
xor r8b, r8b
mov qword [rsp + 0x70], rbp
xor ebp, ebp
mov qword [rsp + 0x78], rdi
mov edi, ebp
mov qword [rsp + 0x88], r14
mov r14d, ebp
mov qword [rsp + 0x40], r15
mov r15d, ebp
movaps xmmword [rsp + 0x30], xmm6
test cx, cx
je 0x140033cda
mov r9d, 0xffdf
mov edx, 0xfffd
lea eax, [rcx - 0x2c]
test dx, ax
je 0x140033c6c
lea eax, [rcx - 0x45]
test r9w, ax
je 0x140033ca0
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140033cda
movzx edx, cx
test r8b, r8b
je 0x140033c5e
lea r15, [r15 + r15*4]
lea r15, [r15 - 0x18]
lea r15, [rdx + r15*2]
test rdi, rdi
jne 0x140033c55
mov edi, 0xa
jmp 0x140033c7f
lea rdi, [rdi + rdi*4]
add rdi, rdi
jmp 0x140033c7f
lea r14, [r14 + r14*4]
lea r14, [r14 - 0x18]
lea r14, [rdx + r14*2]
jmp 0x140033c7f
test r8b, r8b
jne 0x140033cda
call fcn.140033ab0
mov r8b, 1
mov r9d, 0xffdf
add rbx, 2
mov rax, rbx
sub rax, rsi
sar rax, 1
cmp eax, 0x7fffffff
jge 0x140033cda
movzx ecx, word [rbx]
test cx, cx
je 0x140033cda
jmp 0x140033c12
lea rcx, [rbx + 2]
mov dword [rsp + 0x80], ebp
mov r9d, 0x7fffffff
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, [rsp + 0x80]
call fcn.140033b50
mov eax, dword [rsp + 0x80]
inc eax
movsxd rcx, eax
cvttsd2si ebp, xmm0
lea rbx, [rbx + rcx*2]
xorps xmm6, xmm6
cvtsi2sd xmm6, r14
mov r14, qword [rsp + 0x88]
test rdi, rdi
jle 0x140033d07
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, r15
cvtsi2sd xmm0, rdi
divsd xmm1, xmm0
addsd xmm6, xmm1
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
test ebp, ebp
je 0x140033d2e
movsd xmm0, qword [0x1401b06f8]
movd xmm1, ebp
cvtdq2pd xmm1, xmm1
call fcn.140158ef0
mulsd xmm6, xmm0
mov rbp, qword [rsp + 0x70]
test r13, r13
je 0x140033d42
sub rbx, rsi
sar rbx, 1
mov dword [r13], ebx
test r12b, r12b
je 0x140033d4e
xorps xmm6, xmmword [0x1401b0be0]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop r13
pop r12
pop rsi
pop rbx
ret
xorps xmm0, xmm0
add rsp, 0x48
pop r13
pop r12
pop rsi
pop rbx
ret
Function at 0x14003e900
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x170
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.140002570
mov ebp, 1
mov dword [rsp + 0x30], ebp
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
test rax, rax
je 0x14003ea5a
mov dword [rsp + 0x1a0], ebx
lea rdx, [rsp + 0x1a0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x44]
call fcn.140136ad0
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14003ea51
mov eax, dword [rsp + 0x1a0]
cmp dword [rsp + 0x48], eax
je 0x14003e9b7
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14003e993
jmp 0x14003ea51
lea rdi, [rsp + 0x6c]
nop dword [rax]
movzx eax, byte [rdi]
inc rdi
test al, al
jne 0x14003e9c0
lea rax, [rsp + 0x6c]
sub edi, eax
dec edi
mov rcx, r14
test edi, edi
jle 0x14003ea4c
xor r9d, r9d
movzx r8d, bpl
mov edx, edi
call fcn.140030f50
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0x6c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdx, eax
mov rcx, qword [r14]
cmp edx, 0xffffffff
jne 0x14003ea36
test rcx, rcx
je 0x14003ea3c
mov rbx, rcx
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14003ea20
sub rbx, rcx
sar rbx, 1
dec ebx
jmp 0x14003ea3c
mov word [rcx + rdx*2], bx
mov ebx, edx
mov dword [rcx - 0x10], ebx
mov eax, dword [rcx - 8]
cmp eax, 0xffffffff
jne 0x14003ea51
xchg dword [rcx - 8], ebp
jmp 0x14003ea51
call fcn.1400310b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003f140
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, r8
mov rsi, rdx
mov r12, rcx
xor r14d, r14d
mov dword [rbp - 0x18], r14d
lea rdx, [0x14018ac20]
mov rcx, rsi
call fcn.140002450
mov r15d, 1
mov dword [rbp - 0x18], r15d
mov rcx, qword [r12]
test rcx, rcx
je 0x14003f2ad
mov dword [rbp - 0x20], r15d
mov dword [rbp + 0x40], r14d
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003f2ad
mov ecx, dword [rbp - 0x20]
lea eax, [rcx - 1]
cmp eax, r15d
jbe 0x14003f2c8
cmp ecx, 4
jne 0x14003f2ad
mov dword [rbp + 0x58], r14d
mov rcx, qword [r12]
test rcx, rcx
je 0x14003f298
mov dword [rbp - 0x14], 4
mov dword [rbp - 0x1c], 0xffffffff
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1c]
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003f228
mov dword [rbp + 0x58], r14d
jmp 0x14003f298
mov eax, dword [rbp - 0x1c]
cmp eax, 4
je 0x14003f298
mov dword [rbp + 0x58], r14d
cmp eax, r15d
jne 0x14003f298
lea r9, [0x14018ac20]
mov r8, r13
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.14003f140
nop
mov rax, qword [rbp - 0x10]
cmp dword [rax - 0x10], 0
jle 0x14003f269
mov rcx, rax
call fcn.140014050
mov dword [rbp + 0x58], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14003f298
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14003f28e
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003f298
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
movsxd rdx, dword [rbp + 0x58]
mov r9d, 0xa
xor r8d, r8d
mov rcx, rsi
call fcn.140033f40
mov rax, rsi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edi, dword [rbp + 0x40]
inc rdi
shr rdi, 1
lea edx, [rdi + 1]
movzx r9d, r15b
xor r8d, r8d
mov rcx, rsi
call fcn.140030f50
mov rbx, rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rcx, edi
mov word [rbx + rcx*2], r14w
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003f336
mov rcx, rdx
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14003f320
sub rcx, rdx
sar rcx, 1
lea r14d, [rcx - 1]
mov dword [rdx - 0x10], r14d
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
mov rax, rsi
jne 0x14003f2b0
xchg dword [rdx - 8], r15d
jmp 0x14003f2b0
Function at 0x14003f600
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call fcn.140002570
mov ebp, 1
mov dword [rsp + 0x40], ebp
mov rdi, qword [rsi]
mov rcx, qword [rdi - 0x18]
mov eax, dword [rdi - 8]
cmp eax, ebp
jle 0x14003f69f
mov rax, qword [rcx]
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], bpl
mov byte [rsp + 0x20], bpl
mov r9d, 0x820
mov r8d, dword [rdi - 0x10]
mov rdx, qword [rsi]
call qword [rax + 0x28]
mov qword [rsi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rdi - 8]
cmp eax, 0x7ffffc17
je 0x14003f71b
mov eax, dword [rdi - 8]
cmp eax, edx
je 0x14003f68f
lock xadd dword [rdi - 8], edx
sub edx, ebp
jg 0x14003f71b
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003f71b
cmp dword [rdi - 0xc], 0x820
jg 0x14003f713
mov eax, 0x820
mov r9d, ebp
add r9d, r9d
shr eax, 1
jne 0x14003f6b0
mov rdx, qword [rsi]
mov eax, dword [rdi - 8]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rdi - 0x10]
call qword [r10 + 0x28]
mov qword [rsi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rdi - 8]
cmp eax, 0x7ffffc17
je 0x14003f71b
mov eax, dword [rdi - 8]
cmp eax, edx
je 0x14003f703
lock xadd dword [rdi - 8], edx
sub edx, ebp
jg 0x14003f71b
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003f71b
mov edx, 0xffffffff
xchg dword [rdi - 8], edx
mov edx, 0x820
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003f748
mov rbx, rcx
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x14003f734
sub rbx, rcx
sar rbx, 1
dec ebx
mov dword [rcx - 0x10], ebx
mov eax, dword [rcx - 8]
cmp eax, 0xffffffff
jne 0x14003f756
xchg dword [rcx - 8], ebp
mov rcx, rsi
call fcn.140040b50
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14003f780
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
call fcn.140002570
mov esi, 1
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x80], rbp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x101a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x14003f90b
mov rbx, qword [rdi]
mov rcx, qword [rbx - 0x18]
mov eax, dword [rbx - 8]
cmp eax, esi
jle 0x14003f847
mov rax, qword [rcx]
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x20], sil
mov r9d, 0x820
mov r8d, dword [rbx - 0x10]
mov rdx, qword [rdi]
call qword [rax + 0x28]
mov qword [rdi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x14003f8bf
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x14003f837
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x14003f8bf
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003f8bf
mov edx, 0x820
cmp dword [rbx - 0xc], edx
jg 0x14003f8b7
mov r9d, esi
add r9d, r9d
shr edx, 1
jne 0x14003f854
mov rdx, qword [rdi]
mov eax, dword [rbx - 8]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rbx - 0x10]
call qword [r10 + 0x28]
mov qword [rdi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x14003f8bf
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x14003f8a7
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x14003f8bf
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003f8bf
mov edx, 0xffffffff
xchg dword [rbx - 8], edx
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rdx, qword [rdi]
test rdx, rdx
je 0x14003f8f5
mov rcx, rdx
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14003f8e0
sub rcx, rdx
sar rcx, 1
lea ebp, [rcx - 1]
mov dword [rdx - 0x10], ebp
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
jne 0x14003f903
xchg dword [rdx - 8], esi
mov rcx, rdi
call fcn.140042b50
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14003f91e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rdi
call fcn.140040b50
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005dc20
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, r9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x20]
lea rcx, [0x14005d5c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdi, qword [rsp + 0x30]
lea rax, vtable.JRWndPtr.0
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005dc8e
cmp dword [rbx + 0x10], 1
jne 0x14005dc8e
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x608]
cmp dword [rbx + 0x10], 2
jne 0x14005dcac
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005dcac
mov r8, qword [rcx]
mov edx, 1
call qword [r8 + 0x2e8]
mov dword [rbx + 0x10], esi
mov qword [rbx + 8], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14005fa30
Capabilities:
Hide graphical window

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, edx
mov rdi, rcx
test edx, edx
setne bpl
mov byte [rcx + 0x28], bpl
test edx, edx
je 0x14005fb7a
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x518]
nop
lea r14, vtable.JRWndPtr.0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14005fb35
mov rax, qword [rbx]
lea rdx, str.JRControlWnd
mov rcx, rbx
call qword [rax + 0x2f8]
test al, al
je 0x14005fb30
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + 0x3c8]
test al, al
je 0x14005fb2b
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x518]
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005a700
nop
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005fb00
cmp dword [rsp + 0x48], 1
jne 0x14005fb00
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x608]
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 2
jne 0x14005fb1b
test rcx, rcx
je 0x14005fb1b
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x2e8]
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x14005fa85
jmp 0x14005fb35
xor esi, esi
xor bpl, bpl
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x20], r14
test rbx, rbx
je 0x14005fb5c
cmp dword [rsp + 0x30], 1
jne 0x14005fb5c
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x608]
mov rbx, qword [rsp + 0x28]
cmp dword [rsp + 0x30], 2
jne 0x14005fb7a
test rbx, rbx
je 0x14005fb7a
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x2e8]
nop
mov byte [rdi + 0x28], bpl
mov edx, esi
mov rcx, qword [rdi + 0x190]
call qword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
setne bl
cmp byte [rdi + 0x28], 0
je 0x14005fbb4
cmp byte [rdi + 0x1bc], 0
jne 0x14005fbb4
mov byte [rdi + 0x1bc], 1
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x6d0]
movzx eax, bl
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