joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030c54
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rsi
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call fcn.10002de38
xor esi, esi
cmp eax, esi
jne 0x100030dce
mov dword [rsp + 0x38], esi
xor edx, edx
lea r8d, [rsi + 0x34]
lea rcx, [rsp + 0x3c]
call sub.msvcrt.dll_memset
lea rcx, [0x1000071f8]
call qword [sym.imp.msvcrt.dll__wgetenv]
mov rdx, rax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rsi
mov word [rsp + 0x80], si
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x78]
call fcn.100017078
nop
lea rdx, [0x100007210]
lea rcx, [rsp + 0x78]
call fcn.100016e6c
mov dword [rsp + 0x3c], 7
mov dword [rsp + 0x38], esi
lea rax, [0x100007240]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rsi
lea rax, [0x100007270]
mov qword [rsp + 0x40], rax
lea rax, [0x100001e98]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x38]
lea r8, [0x100030660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
cmp rax, rsi
je 0x100030db6
cmp rax, 0xffffffffffffffff
je 0x100030db6
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [rsp + 0x30]
lea rcx, [0x1000072b0]
call fcn.1000250f8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x98], 8
jb 0x100030dce
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.100068440
mov rsi, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x100030df8
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebx, ebx
mov dword [rsp + 0x38], ebx
xor edx, edx
lea r8d, [rbx + 0x34]
lea rcx, [r11 - 0x7c]
call sub.msvcrt.dll_memset
lea rcx, [0x1000071f8]
call qword [sym.imp.msvcrt.dll__wgetenv]
mov rdx, rax
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rbx
mov word [rsp + 0x80], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x78]
call fcn.100017078
nop
lea rdx, [0x100007338]
lea rcx, [rsp + 0x78]
call fcn.100016e6c
mov dword [rsp + 0x3c], 8
mov dword [rsp + 0x38], ebx
lea rax, [0x100007240]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x100007368]
mov qword [rsp + 0x50], rax
lea rax, [0x100007370]
mov qword [rsp + 0x40], rax
lea rax, [0x100001e98]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x38]
lea r8, [0x100030660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
cmp rax, rbx
je 0x100030f53
cmp rax, 0xffffffffffffffff
je 0x100030f53
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [rsp + 0x30]
lea rcx, [0x1000073b0]
call fcn.1000250f8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x98], 8
jb 0x100030f6b
mov rcx, qword [rsp + 0x80]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.100068440
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret

Function at 0x100031370
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rbx, rcx
lea rdx, [0x100003e38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100031409
test rbx, rbx
je 0x1000313f2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x100007780]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x60], 0x1450
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1000313f7
cmp dword [rsp + 0x68], 7
je 0x1000313f7
lea ebx, [rax + 0xd]
jmp 0x1000313f7
mov ebx, 0x57
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100031407
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x10003177c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
test r8, r8
je 0x1000317cb
lea rax, [r9 + r9]
mov r9d, 0xffffffff
cmp rax, r9
ja 0x1000317cb
and dword [rsp + 0x60], 0
mov dword [rsp + 0x30], eax
lea rax, [r11 - 0x18]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r8
lea r9, [r11 + 0x18]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000317d0
cmp dword [rsp + 0x60], 1
je 0x1000317d0
mov eax, 0xd
jmp 0x1000317d0
mov eax, 0x57
add rsp, 0x48
ret

Function at 0x1000317dc
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x110
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor edi, edi
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x100031953
test rdx, rdx
je 0x100031953
lea rax, [rsp + 0x40]
xor r12d, r12d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rbx
xor edx, edx
jmp 0x1000318f9
test rbx, rbx
je 0x100031860
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x10003192a
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100031919
mov eax, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100031919
lea rax, [rsp + 0x40]
inc r12d
mov rcx, rsi
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
mov edx, r12d
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x44], 0x56
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100031847
cmp eax, 0x103
je 0x100031931
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100031936
mov ecx, 8
jmp 0x100031922
mov edi, 1
test rbx, rbx
je 0x10003194f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
jmp 0x100031960
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.100068440
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x100031a84
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x40], 0
mov eax, edx
mov rbx, rcx
test rcx, rcx
jne 0x100031aae
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100031b44
lea rdi, [0x100007830]
test r8d, r8d
je 0x100031ad0
lea rdx, [0x1000077d0]
test eax, eax
mov rcx, 0xffffffff80000001
cmove rdx, rdi
jmp 0x100031aeb
lea rdx, [0x100007890]
lea r8, [0x100007900]
test eax, eax
cmove rdx, r8
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100031b3f
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x100031b2f
lea rcx, [0x100007970]
mov r9d, eax
mov r8, rbx
mov rdx, rdi
call fcn.1000250f8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x100031b3f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x100031b58
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
mov esi, r8d
mov eax, edx
and qword [r11 + 0x20], rbx
and qword [r11 - 0x18], rbx
mov rdi, rcx
mov dword [rsp + 0x70], 1
test rcx, rcx
jne 0x100031b8f
lea ecx, [rdi + 0x57]
jmp 0x100031c60
test eax, eax
lea rcx, [0x100007830]
lea rax, [rsp + 0x88]
lea rdx, [0x1000077d0]
cmove rdx, rcx
and qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 4
and dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x100031be7
and qword [rsp + 0x88], rbx
jmp 0x100031c5e
and qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x100031c29
and qword [rsp + 0x50], rbx
jmp 0x100031c5e
test esi, esi
je 0x100031c68
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x70]
lea rdx, [0x100004f80]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100031c68
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100031c6d
mov ebx, 1
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x100031c80
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x88], 0
test rcx, rcx
je 0x100031c99
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x100031ed8
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
call fcn.100031990
test eax, eax
je 0x100031ef8
xor eax, eax
jmp 0x100031f91
lea rax, [rsp + 0x58]
lea rdx, [0x100003e38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100031f27
mov ecx, eax
jmp 0x100031f76
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [0x100007a40]
xor r8d, r8d
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100031f65
mov ecx, eax
jmp 0x100031f70
mov ecx, 0xb
cmp dword [rsp + 0x48], ecx
je 0x100031f7c
and qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x100031f8c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
add rsp, 0x38
ret

Function at 0x100031f9c
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
call fcn.100031990
test eax, eax
je 0x100031fbc
xor eax, eax
jmp 0x100032055
lea rax, [rsp + 0x58]
lea rdx, [0x100003e38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100031feb
mov ecx, eax
jmp 0x10003203a
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [0x100007a40]
xor r8d, r8d
mov dword [rsp + 0x40], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100032029
mov ecx, eax
jmp 0x100032034
mov ecx, 0xb
cmp dword [rsp + 0x48], ecx
je 0x100032040
and qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x100032050
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x50]
add rsp, 0x38
ret

Function at 0x100032060
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 8]
lea rdx, [0x100003e38]
and qword [r11 - 0x18], rbx
and qword [r11 + 8], rbx
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000320ec
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r11, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
lea r9d, [rbx + 0xb]
lea rdx, [0x100007a40]
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1000320f6
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1000320fb
mov ebx, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x10003210b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x10003211c
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rax, [r11 + 8]
lea rdx, [0x100003e38]
and qword [r11 - 0x18], rbx
and qword [r11 + 8], rbx
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1000321a8
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r11, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
lea r9d, [rbx + 0xb]
lea rdx, [0x100007a40]
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x70], r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1000321b2
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1000321b7
mov ebx, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1000321c7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x1000321d8
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
and qword [r11 + 8], rbx
test rcx, rcx
je 0x100032258
test rdx, rdx
je 0x100032258
lea rax, [r11 + 8]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10003221d
mov ecx, eax
jmp 0x10003225d
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
jne 0x100032219
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x10003223e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x40], rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x100032219
lea ebx, [rax + 1]
jmp 0x100032263
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x100032273
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1000329e4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x4a0
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea r12, [0x1000028d0]
test r12, r12
je 0x100032b4e
lea rbp, [0x100005488]
test rbp, rbp
je 0x100032b4e
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x100032b59
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edi, edi
or rbx, 0xffffffffffffffff
movzx ecx, word [rsp + 0x6a]
movzx edx, word [rsp + 0x68]
movzx r8d, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx eax, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x60]
mov qword [rsp + 0x58], rbp
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r9d
lea r8, [0x100007e20]
lea rcx, [rsp + 0x280]
mov r9, r12
mov edx, 0x104
mov dword [rsp + 0x20], r10d
call fcn.10002502c
mov r11d, eax
test eax, eax
js 0x100032b2a
lea r8, [rsp + 0x280]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call fcn.100015828
mov r11d, eax
test eax, eax
js 0x100032b2a
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], 0x80000080
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x100032b13
cmp rax, rbx
jne 0x100032b5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x100032b49
inc edi
cmp edi, 0xffffffff
jae 0x100032b49
jmp 0x100032a57
movzx ecx, ax
mov eax, ecx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
cmp eax, r11d
cmove r11d, ecx
mov ecx, r11d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x100032b5d
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.100068440
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret
Function at 0x100032c64
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x460
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor r13d, r13d
mov r12, rdx
mov rbp, rcx
cmp rdx, r13
jne 0x100032ca7
mov eax, 0x80070057
jmp 0x100032e59
mov word [rcx], r13w
mov r14d, 0x104
lea rdx, [rsp + 0x30]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, r13d
jne 0x100032ce1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
cmp r11d, r13d
cmovle eax, r11d
jmp 0x100032e59
cmp eax, r14d
jae 0x100032c9d
lea r8, [0x1000028d0]
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.100015828
cmp eax, r13d
jl 0x100032e59
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r13d
jne 0x100032d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100032d3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x30]
lea rcx, [0x100007e90]
mov r8d, eax
call fcn.1000250f8
jmp 0x100032cc4
lea r8, [0x100007ad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
cmp rax, r13
je 0x100032d83
mov edx, 0x7d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, r13d
je 0x100032d83
cmp eax, 0x80
je 0x100032d83
cmp rbx, 0xffffffffffffffff
je 0x100032d80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r13
mov esi, r13d
lea r8, [0x100007ef8]
lea rcx, [rsp + 0x240]
mov r9d, esi
mov rdx, r14
call fcn.10002502c
cmp eax, r13d
mov edi, eax
jl 0x100032e34
lea r9, [rsp + 0x240]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rbp
mov dword [rsp + 0x20], r13d
call fcn.1000155bc
cmp eax, r13d
mov edi, eax
jl 0x100032e34
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r13d
jne 0x100032e29
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100032dfa
inc esi
cmp esi, 0xffffffff
jb 0x100032d86
mov edi, 0x80070003
jmp 0x100032e34
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x100007e90]
mov rdx, rbp
mov r8d, eax
call fcn.1000250f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
cmp eax, r13d
cmovle edi, eax
jmp 0x100032e34
mov rcx, rbp
call fcn.1000324c8
mov edi, r13d
cmp rbx, r13
je 0x100032e57
cmp rbx, 0xffffffffffffffff
je 0x100032e57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp rbx, 0xffffffffffffffff
je 0x100032e57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.100068440
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1000345c4
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, 0x830
mov rax, qword [0x10007d1c0]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov ebx, r8d
mov rdi, rdx
lea rcx, [rsp + 0x22]
xor esi, esi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x20], si
call sub.msvcrt.dll_memset
mov rax, qword [0x100082018]
lea rcx, [0x100082018]
call qword [rax + 0x10]
cmp eax, esi
jne 0x100034625
xor eax, eax
jmp 0x100034692
mov rcx, qword [0x100082020]
mov ebp, 0x400
lea r9, [rsp + 0x20]
mov r8, rbp
mov edx, 0xd
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rsi
jl 0x100034621
cmp ebx, esi
je 0x100034665
lea r8, [0x100003708]
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.1000246b8
cmp eax, esi
jl 0x100034621
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rbp
call fcn.1000246b8
cmp eax, esi
jl 0x100034621
mov rcx, qword [0x100082020]
xor r8d, r8d
lea r9, [rsp + 0x20]
lea edx, [r8 + 0xc]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.100068440
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x100037eb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rdi, [rcx + 0xa50]
xor edx, edx
mov rbx, rcx
lea r9, [0x10000a3d8]
lea rcx, [0x10000a3c8]
lea r8d, [rdx + 1]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x100037eeb
and qword [rdi], 0
cmp dword [rbx + 0x10], 3
jne 0x100037f6a
mov rcx, rbx
call fcn.1000385f0
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x34]
call sub.msvcrt.dll_memset
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rax, [0x100007370]
lea r9, [rsp + 0x30]
lea r8, [0x100030660]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x100037f61
cmp rax, 0xffffffffffffffff
je 0x100037f61
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbx + 0x10], 6
jmp 0x100037fc6
call fcn.100031ed8
mov rcx, rax
call fcn.10002d560
test eax, eax
je 0x100037fa1
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x100037094]
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xa80], rax
cmp dword [rbx + 0x14], 2
jne 0x100037fc6
cmp dword [rbx + 0x10], 0
jne 0x100037fc6
call fcn.100031f9c
mov rcx, rax
call fcn.10002d560
test eax, eax
je 0x100037fc6
mov rcx, rbx
call fcn.1000383e4
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret