joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009ed0
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, 0x60
mov r12, r8
mov rsi, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rbp - 0x18], r14d
call fcn.1400019a0
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r14b
mov byte [rsp + 0x20], r14b
mov ebx, 0xffffffff
mov r9d, ebx
mov r8d, ebx
lea rdx, [0x140043dd8]
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsi], rax
mov r15d, 1
mov dword [rbp - 0x18], r15d
mov rcx, qword [r13]
test rcx, rcx
je 0x14000a05c
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, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a05c
mov ecx, dword [rbp - 0x20]
lea eax, [rcx - 1]
cmp eax, r15d
jbe 0x14000a077
cmp ecx, 4
jne 0x14000a05c
mov dword [rbp + 0x58], r14d
mov rcx, qword [r13]
test rcx, rcx
je 0x14000a047
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, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140009fdc
mov dword [rbp + 0x58], r14d
jmp 0x14000a047
mov eax, dword [rbp - 0x1c]
cmp eax, 4
je 0x14000a047
mov dword [rbp + 0x58], r14d
cmp eax, r15d
jne 0x14000a047
lea r9, [0x140043dd8]
mov r8, r12
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.140009ed0
nop
mov rax, qword [rbp - 0x10]
cmp dword [rax - 0x10], 0
jle 0x14000a01d
mov rcx, rax
call fcn.1400079a0
mov dword [rbp + 0x58], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14000a047
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14000a03d
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000a047
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
movsxd rdx, dword [rbp + 0x58]
mov r9d, 0xa
xor r8d, r8d
mov rcx, rsi
call fcn.140005390
mov rax, rsi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
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.140003940
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, r12
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rcx, edi
mov word [rbx + rcx*2], r14w
mov rdx, qword [rsi]
test rdx, rdx
je 0x14000a0e6
mov rcx, rdx
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14000a0d0
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 0x14000a05f
xchg dword [rdx - 8], r15d
jmp 0x14000a05f
Function at 0x14000a270
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.1400019a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rdi], rax
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 0x14000a40b
mov rbx, qword [rdi]
mov rcx, qword [rbx - 0x18]
mov eax, dword [rbx - 8]
cmp eax, esi
jle 0x14000a343
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 0x14000a3bb
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x14000a333
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x14000a3bb
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
jmp 0x14000a3bb
mov edx, 0x820
cmp dword [rbx - 0xc], edx
jg 0x14000a3b3
mov r9d, esi
add r9d, r9d
shr edx, 1
jne 0x14000a350
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 0x14000a3bb
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x14000a3a3
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x14000a3bb
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
jmp 0x14000a3bb
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 0x14000a3f5
mov rcx, rdx
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14000a3e0
sub rcx, rdx
sar rcx, 1
lea ebp, [rcx - 1]
mov dword [rdx - 0x10], ebp
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
jne 0x14000a403
xchg dword [rdx - 8], esi
mov rcx, rdi
call fcn.14000de00
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000a41e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rdi
call fcn.14000a840
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017828
Capabilities:
Parse pe header

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

Function at 0x140023fb8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140023db4

Function at 0x140024628
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140050028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140024672
call fcn.140024220
mov dword [rax], 0xf
call fcn.140024240
mov dword [rax], 0xd
call fcn.140024b54
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140017400
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14002467d
lea eax, [rbx + 1]
jmp 0x14002465f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14002465d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14002465f

Function at 0x14002c748
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400278e0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14002c7e9
cmp ebx, dword [rsp + 0x30]
je 0x14002c7e2
test esi, esi
je 0x14002c7e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14002c7bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14002c7ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002c7a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14002c7ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14002c7eb
mov eax, 1
jmp 0x14002c7eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002edc0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002edd6
mov al, 1
jmp 0x14002ee36
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002ede7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14002ee34
mov ecx, dword [rcx + 0x18]
nop
call fcn.140030a50
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002ee34
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14002ee34
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002ee34
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14002ee36
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14003056c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400305f3
mov rsi, rbx
cmp word [rax], bp
je 0x1400305b2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003059c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140030598
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140027d54
mov rdi, rax
test rax, rax
je 0x1400305e0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140019170
mov rbp, rdi
xor ecx, ecx
call fcn.140027d18
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140034730
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140034758
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140034758
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800026d8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
mov rsi, qword [rcx]
test rbx, rbx
je 0x18000274e
cmp qword [rbx], 0
je 0x180002741
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180002747
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180002747
mov rdx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rsi
mov rdx, rdi
call rax
jmp 0x180002757
cmp dword [rbx + 8], 0
jne 0x18000274e
mov eax, 1
jmp 0x180002757
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180002908
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.180002820
jmp 0x18000297a
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.180002908
mov ebx, eax
test eax, eax
jne 0x1800029e3
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x18000296b
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800029d1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.1800026d8
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800029f3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18009c630
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180002f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdi
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.1800a0440
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180002faf
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180002faf
call fcn.180002404
mov ebx, eax
jmp 0x1800030ba
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180002fd0
call fcn.180002404
jmp 0x1800030a9
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180002fc6
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18000300b
mov ebx, 0x8007000e
jmp 0x1800030ab
mov ecx, eax
test eax, eax
je 0x18000303d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1800030f2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18000303d
lea rcx, [rsp + 0x70]
call fcn.180005a64
jmp 0x180003047
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180003059
cmp qword [rsp + 0x70], rdi
je 0x180003001
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x180002fc6
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180003cd4
mov ebx, eax
test rsi, rsi
je 0x1800030ba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1800030d1
lea rcx, [rsp + 0x70]
call fcn.18000588c
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18009c630
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.1800023d8
int3
Function at 0x18000b250
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x4f8], rbx
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
xor sil, sil
lea rdx, str.Ole32.dll
lea rcx, [rsp + 0x48]
call fcn.180005fa4
nop
call fcn.180073db0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.180073e50
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180005bf8
test rbx, rbx
jne 0x18000b2da
mov ebx, 0x8000ffff
mov dword [rsp + 0x30], ebx
jmp 0x18000b304
lea rdx, str.OleInitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x18000b2fa
mov ebx, 0x80004001
mov dword [rsp + 0x30], ebx
jmp 0x18000b304
xor ecx, ecx
call rax
mov ebx, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1800d67a0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800d6800]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18000b44a
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000b44a
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1800d67f0]
call qword [rax]
test eax, eax
js 0x18000b43d
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x18000b43d
mov rdi, qword [r14]
mov rcx, r15
call fcn.180005be8
mov rdx, rax
xor r8d, r8d
mov rcx, r14
call qword [rdi + 0x28]
test eax, eax
js 0x18000b432
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.1800a0440
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call fcn.1800a0440
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rsp + 0x70]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x180]
call qword [rax + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1800063e0
mov r8, rax
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.180006148
lea rcx, [rbp + 0x180]
call fcn.1800063e0
mov r8, rax
lea rdx, [rbp + 0x180]
mov rcx, r13
call fcn.180006148
mov rcx, r12
call fcn.180005ea0
test al, al
sete sil
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18000b44d
xor sil, sil
cmp ebx, 1
ja 0x18000b49f
lea rdx, str.Ole32.dll
lea rcx, [rsp + 0x48]
call fcn.180005fa4
nop
call fcn.180073db0
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.180073e50
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.180005bf8
test rbx, rbx
je 0x18000b49f
lea rdx, str.OleUninitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000b49f
call rax
movzx eax, sil
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.18009c630
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000b7b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x410
call fcn.1800a0440
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x18000b823
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x18000b83e
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000b823
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18009c630
add rsp, 0x450
pop rbx
ret
lea rcx, [rsp + 0x30]
call fcn.1800a31e4
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180006148
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18000b868
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
jmp 0x18000b825
Function at 0x18001b8e0
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18001bb05
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
xor bpl, bpl
lea rcx, [r11 - 0x60]
call fcn.180007ae0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x48]
call fcn.180007a80
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x18001b969
cmp rdi, qword [rax]
je 0x18001b956
add rax, 0x18
cmp rax, rcx
jne 0x18001b946
jmp 0x18001b969
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.18001bb10
movzx ebp, al
xor r14d, r14d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001b989
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001b984
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x50]
call fcn.180007ae0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.180007a80
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x18001bac9
cmp rdi, qword [rbx]
je 0x18001b9c5
add rbx, 0x18
cmp rbx, rax
jne 0x18001b9b2
jmp 0x18001bac9
test bpl, bpl
je 0x18001ba98
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1800aad70
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001ba98
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
call fcn.180014e30
nop
lea rcx, [rsp + 0x68]
call fcn.180005ea0
test al, al
jne 0x18001ba8e
lea rcx, [rsp + 0x68]
call fcn.180005be8
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001ba8e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.180005bf8
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18001bab5
mov rcx, qword [rax]
test rcx, rcx
je 0x18001bab0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov rcx, rdi
test bpl, bpl
je 0x18001bac1
mov dl, 1
jmp 0x18001bac3
xor edx, edx
call fcn.180014a40
nop
lea rcx, [rsp + 0x50]
call fcn.180007ab0
nop
lea rcx, [rsp + 0x48]
call fcn.180007ab0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18009c630
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18001b8e9
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x18001bb05
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180122010]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
xor bpl, bpl
lea rcx, [r11 - 0x60]
call fcn.180007ae0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x48]
call fcn.180007a80
nop
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
cmp rax, rcx
je 0x18001b969
cmp rdi, qword [rax]
je 0x18001b956
add rax, 0x18
cmp rax, rcx
jne 0x18001b946
jmp 0x18001b969
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rsi
call fcn.18001bb10
movzx ebp, al
xor r14d, r14d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18001b989
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001b984
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x50]
call fcn.180007ae0
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.180007a80
nop
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rbx, rax
je 0x18001bac9
cmp rdi, qword [rbx]
je 0x18001b9c5
add rbx, 0x18
cmp rbx, rax
jne 0x18001b9b2
jmp 0x18001bac9
test bpl, bpl
je 0x18001ba98
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.1800aad70
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x18001ba98
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
call fcn.180014e30
nop
lea rcx, [rsp + 0x68]
call fcn.180005ea0
test al, al
jne 0x18001ba8e
lea rcx, [rsp + 0x68]
call fcn.180005be8
mov rcx, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18001ba8e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.180005bf8
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x18001bab5
mov rcx, qword [rax]
test rcx, rcx
je 0x18001bab0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x50], r14
mov rcx, rdi
test bpl, bpl
je 0x18001bac1
mov dl, 1
jmp 0x18001bac3
xor edx, edx
call fcn.180014a40
nop
lea rcx, [rsp + 0x50]
call fcn.180007ab0
nop
lea rcx, [rsp + 0x48]
call fcn.180007ab0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18009c630
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret