joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400316bc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031734
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031734
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031734
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031728
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031746
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031716
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031736

Function at 0x140033280
Capabilities:
Parse pe header

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

Function at 0x14003c014
Capabilities:
Parse pe header

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

Function at 0x140045f30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045f58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045f58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001b28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b72
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b74
xor al, al
add rsp, 0x28
ret
Function at 0x100005bc8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
lea rax, [r11 + 0x18]
lea rdx, [0x100001d90]
xor esi, esi
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x58], rax
mov qword [r11 + 0x18], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x100005c70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea rdx, [0x100001e80]
mov ecx, 0x30000e7
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [0x100001db0]
lea r8, [0x100001e78]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov edx, 0xe0000
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x7b
call sub.WDSCORE.dll_WdsSetupLogMessageW
jmp 0x100005d75
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x88]
lea rdx, [0x100001eb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov ebx, 4
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x88], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x80]
cmp eax, esi
lea rax, [rsp + 0x80]
cmovne ecx, esi
lea rdx, [0x100001eb8]
mov r9d, ebx
inc ecx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
je 0x100005d67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea rdx, [0x100001ee0]
mov ecx, 0x30000e8
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [0x100001db0]
lea r8, [0x100001e78]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov edx, 0xe0000
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x95
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1000066b8
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x100014100]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
lea rcx, [rsp + 0xa2]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0xa0], si
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xa0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, esi
je 0x10000690c
mov ecx, 0x82
lea rdx, [rsp + 0xa0]
mov rax, rcx
cmp word [rdx], si
je 0x100006735
add rdx, 2
sub rax, 1
jne 0x100006726
cmp rax, rsi
je 0x10000690c
mov rdx, rcx
mov r10d, esi
sub rdx, rax
sub rcx, rdx
lea rax, [rsp + rdx*2 + 0xa0]
je 0x10000678e
lea r8, [rcx + rdx + 0x7fffff7d]
lea rdx, [0x100002160]
sub rdx, rax
cmp r8, rsi
je 0x100006789
movzx r9d, word [rdx + rax]
cmp r9w, si
je 0x100006789
dec rcx
mov word [rax], r9w
dec r8
add rax, 2
cmp rcx, rsi
jne 0x100006766
cmp rcx, rsi
jne 0x100006798
sub rax, 2
mov r10d, 0x8007007a
cmp r10d, esi
mov word [rax], si
jl 0x10000690c
lea rcx, [rsp + 0x68]
lea rdx, [0x100002190]
mov r8d, 0x35
call sub.msvcrt.dll_memcpy
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0xa0]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x88000080
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10000685c
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea r8, [rsp + 0xa0]
lea rdx, [0x100002200]
mov ecx, 0x20000ca
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov rcx, rax
lea rax, [0x1000021c8]
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1b6
jmp 0x1000068f8
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov r8d, 0x34
mov rcx, rax
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x10000689a
cmp dword [rsp + 0x60], 0x34
je 0x10000690c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea r8, [rsp + 0xa0]
lea rdx, [0x100002248]
mov ecx, 0x20000cb
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rbx
mov rcx, rax
lea rax, [0x1000021c8]
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1c8
lea r8, [0x100001e78]
xor r9d, r9d
mov edx, 0xe0000
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.10000f390
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x100006938
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
lea r8, [0x100002280]
xor edx, edx
xor ecx, ecx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbp, rax
cmp rax, rsi
je 0x100006a82
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100006a79
mov rdx, rbx
mov rcx, rdi
call fcn.10000a918
cmp eax, esi
jne 0x100006a02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea rdx, [0x100002318]
mov ecx, 0x20000cd
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [0x1000022c8]
lea r8, [0x100001e78]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov edx, 0xe0000
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1e7
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov esi, 5
jmp 0x100006a6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea rdx, [0x100002340]
mov ecx, 0x40000ce
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [0x1000022c8]
lea r8, [0x100001e78]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov edx, 0xe0000
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1ec
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x100006af2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
lea rdx, [0x1000022e8]
mov ecx, 0x20000cc
mov rbx, rax
call fcn.1000092e8
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [0x1000022c8]
lea r8, [0x100001e78]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [0x100001df0]
mov edx, 0xe0000
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1e1
call sub.WDSCORE.dll_WdsSetupLogMessageW
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x100009310
Capabilities:
Create thread
Get file version info

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x100014100]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor ebx, ebx
mov dword [0x100015294], ecx
lea rcx, [r11 - 0x224]
xor edx, edx
mov r8d, 0x204
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
mov ebp, ebx
mov dword [rsp + 0x80], ebx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x80]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x100009421
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp eax, ebx
je 0x100009421
lea ecx, [rbx + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
cmp rax, rbx
je 0x100009421
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x80]
mov r9, rax
mov r8d, esi
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, ebx
je 0x100009418
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [0x1000032a4]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x100009418
add qword [rsp + 0x38], 0x10
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [0x1000032b0]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
cmp eax, ebx
je 0x100009418
mov rax, qword [rsp + 0x38]
movzx ebp, word [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 0x3ff
and bp, ax
mov word [0x100015074], bp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r8, [0x1000094dc]
movsxd r9, eax
lea rax, [rsp + 0x44]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1000152a0], rax
cmp rax, rbx
je 0x1000094a6
mov edi, 0xbf1
call qword [sym.imp.USER32.dll_WaitMessage]
lea rcx, [rsp + 0x48]
mov r9d, edi
mov r8d, edi
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
cmp eax, ebx
je 0x100009469
mov rcx, qword [rsp + 0x60]
mov rax, qword [0x1000152a0]
mov qword [0x1000152a8], rcx
cmp rax, rbx
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.10000f390
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x10000a358
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rcx
lea r8, [0x100002280]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x10000a3be
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
jne 0x10000a3a8
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rdi]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x10000c560
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
xor ebp, ebp
xor r8d, r8d
xor edx, edx
mov rbx, rbp
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp eax, ebp
je 0x10000c5e2
mov rbx, rdi
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbp + 8]
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
cmp rax, rbp
je 0x10000c5e2
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, ebp
je 0x10000c5c8
cmp bp, word [rbx]
jne 0x10000c5e2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, ebp
cmovne rbx, rbp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x10000d66c
Capabilities:
Create directory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x100014100]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov r12, rcx
lea r14d, [rbx + 1]
mov qword [r11 - 0x40], rbx
mov esi, ebx
cmp rcx, rbx
je 0x10000d847
cmp bx, word [rcx]
je 0x10000d847
lea rdx, [r11 - 0x40]
call fcn.10000d400
mov rbp, rax
cmp rax, rbx
je 0x10000d834
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], ebx
call fcn.10000d988
cmp eax, ebx
lea r13d, [rbx + 0x5c]
jl 0x10000d7aa
cmp dword [rsp + 0x30], r14d
jne 0x10000d775
mov r13, qword [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
mov rax, qword [rsp + 0x38]
not rcx
lea rdi, [rax + rcx*2 - 2]
cmp r13, rbx
je 0x10000d72d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r13d, 0x5c
cmp r14d, 1
jne 0x10000d7f8
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcschr]
mov rdi, rax
cmp rax, rbx
je 0x10000d7c0
mov rcx, rbp
mov word [rax], bx
call fcn.10000dd6c
cmp eax, ebx
jne 0x10000d76b
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rdi], r13w
add rdi, 2
jmp 0x10000d73d
mov rdi, qword [rsp + 0x38]
cmp word [rdi], 0x61
jb 0x10000d786
cmp word [rdi], 0x7a
jbe 0x10000d792
cmp word [rdi], 0x41
jb 0x10000d733
cmp word [rdi], 0x5a
ja 0x10000d733
mov eax, 0x3a
cmp ax, word [rdi + 2]
jne 0x10000d733
cmp r13w, word [rdi + 4]
jne 0x10000d733
add rdi, 8
jmp 0x10000d733
movzx ecx, ax
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x38]
jmp 0x10000d733
cmp r14d, 1
jne 0x10000d7f8
mov rcx, rbp
call fcn.10000dd6c
cmp eax, r14d
je 0x10000d7f1
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r14d
je 0x10000d7f1
call sub.KERNEL32.dll_GetLastError
lea r8, [0x100004b90]
jmp 0x10000d804
mov ebx, 1
jmp 0x10000d81e
call sub.KERNEL32.dll_GetLastError
lea r8, [0x100004bf0]
lea rcx, [0x1000152b8]
mov r9, r12
mov edx, 0x3000000
mov esi, eax
mov dword [rsp + 0x20], eax
call fcn.10000c95c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10000d83b
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x10000d854
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.10000f390
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x10000f390
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100014100]
jne 0x10000f3ab
rol rcx, 0x10
test cx, 0xffff
jne 0x10000f3a7
ret 0
ror rcx, 0x10
jmp 0x10000f72c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100014b90]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x100014c88]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10000f7b1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100014b90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10000f7d3
mov rax, qword [rsp + 0x88]
mov qword [0x100014c88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100014c28], rax
mov rax, qword [0x100014c88]
mov qword [0x100014b00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100014c10], rax
mov dword [0x100014af0], 0xc0000409
mov dword [0x100014af4], 1
mov rax, qword [0x100014100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100014108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001730]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400018f4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movsxd rdi, r8d
mov rcx, qword [rcx]
mov rsi, rdx
test rcx, rcx
je 0x14000191a
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
lea rdx, str.ComboBoxEx32
or qword [rbx + 8], 0xffffffffffffffff
mov r9d, 0x44200046
mov rax, qword [0x14018fc38]
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
mov rcx, rax
mov qword [rbx], rax
lea r8d, [r9 + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400019a6
mov rcx, rax
call fcn.1400c8544
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.1400019c0
Function at 0x1400019c0
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140001b41
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140001aa9
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4209
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401bd670]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x70]
and dword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 1]
call fcn.140001b6c
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140001ad5
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140001360
test al, al
jne 0x140001b39
call fcn.1400c6c10
mov esi, eax
xor ebx, ebx
bt esi, ebx
jae 0x140001b32
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.140002694
mov byte [rsp + 0x40], 1
lea rdx, [rbp + 0x220]
or qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
mov dword [rsp + 0x30], 2
xor r8d, r8d
and qword [rsp + 0x28], 0
mov rcx, rdi
or dword [rsp + 0x20], 0xffffffff
call fcn.140001b6c
inc ebx
cmp ebx, 0x20
jl 0x140001ade
mov rcx, rdi
call fcn.140001f4c
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.1400f3220
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001b6c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.1400f2e40
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.14008ec28
mov rdx, rax
lea rcx, [r14 + 0x10]
mov r8d, 0x800
call fcn.14008eff0
mov ebx, dword [rbp + 0x2a0]
or rsi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], 0
jne 0x140001c37
cmp ebx, esi
je 0x140001bf9
test rdi, rdi
jne 0x140001c37
mov eax, 0x4203
lea r8, [rsp + 0x70]
cmp r15d, 2
mov r9d, 0x2b8
lea ecx, [rax - 2]
cmovne eax, ecx
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, esi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400f4420
mov rax, qword [rbp + 0x2b8]
lea r9, [rsp + 0x30]
mov rcx, qword [r13]
test rdi, rdi
mov qword [rsp + 0x38], rax
mov edx, 0x40b
mov eax, dword [rbp + 0x2b0]
cmovne rsi, rdi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400f3220
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret