joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000a7e0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15d, r9d
movzx r12d, r8b
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.18001f6b0
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 8], 7
xor r13d, r13d
mov qword [rbp - 0x10], r13
mov word [rbp - 0x20], r13w
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r13
mov word [rbp], r13w
lea r14d, [rax + 1]
or rbx, 0xffffffffffffffff
test rsi, rsi
je 0x18000a6c2
cmp word [rsi], r13w
jne 0x18000a63e
mov r8d, r13d
jmp 0x18000a64c
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x18000a641
mov rdx, rsi
lea rcx, [rbp]
call fcn.180002310
cmp qword [rbp + 0x10], 0
je 0x18000a6c2
mov r8, r14
lea rdx, [0x1800406b0]
lea rcx, [rbp - 0x20]
call fcn.180002310
cmp word [rdi], 0
jne 0x18000a67d
mov r8, r13
jmp 0x18000a68b
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x18000a680
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180009960
mov r8d, 2
lea rdx, [0x1800406b4]
lea rcx, [rbp - 0x20]
call fcn.180009960
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.180009830
jmp 0x18000a6e9
cmp word [rdi], 0
jne 0x18000a6d0
mov rbx, r13
jmp 0x18000a6da
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x18000a6d0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180002310
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x18000a736
mov r14d, r13d
jmp 0x18000a767
test r12b, r12b
je 0x18000a750
or edx, 0xffffffff
test r15d, r15d
cmovg edx, r15d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x18000a781
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.180002460
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r13
mov word [rbp], r13w
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x18000a7ac
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.180002460
mov eax, r14d
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18001d7b0
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000a7e4
test rax, rax
jne 0x18000a7f4
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
jmp 0x18000a590
Function at 0x18000aac0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
test rcx, rcx
jne 0x18000ab03
xor eax, eax
jmp 0x18000ac92
mov qword [rsp + 0x60], 7
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
cmp word [rcx], bx
jne 0x18000ab22
mov r8d, ebx
jmp 0x18000ab30
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], bx
jne 0x18000ab26
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180002310
nop
lea rcx, [rsp + 0x48]
call fcn.18000bfd0
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.18001f6b0
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ac73
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000ac69
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
cmp word [rbp - 0x64], 0
jne 0x18000abad
mov r8, rbx
jmp 0x18000abc0
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x18000abb5
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.180002310
nop
lea rcx, [rsp + 0x28]
call fcn.18000bfd0
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
cmp rdi, 8
cmovae rcx, r14
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
call fcn.180009730
test eax, eax
je 0x18000ac3d
cmp rdi, 8
jb 0x18000ac2b
lea r8, [rdi + 1]
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.180002460
lea rdx, [rsp + 0x70]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000ab86
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x18000ac73
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.180002460
jmp 0x18000ac73
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x18000ac90
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.180002460
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18001d7b0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18000b860
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.18001f6b0
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
or r14, 0xffffffffffffffff
cmp word [rdi], bx
jne 0x18000b8cf
mov r8d, ebx
jmp 0x18000b8dc
mov r8, r14
inc r8
cmp word [rdi + r8*2], bx
jne 0x18000b8d2
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180002310
nop
lea rcx, [rsp + 0x28]
call fcn.18000bfd0
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ba3a
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000ba30
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x48], bx
cmp word [rbp - 0x64], 0
jne 0x18000b947
mov r8, rbx
jmp 0x18000b95b
lea rax, [rbp - 0x64]
mov r8, r14
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18000b950
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.180002310
nop
lea rcx, [rsp + 0x48]
call fcn.18000bfd0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x60]
cmp r9, 8
cmovae rdx, rdi
mov r10, qword [rsp + 0x38]
mov r8, r10
mov r11, qword [rsp + 0x58]
cmp r11, r10
cmovb r8, r11
test r8, r8
jmp 0x18000b9da
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x18000b9cb
add rdx, 2
add rcx, 2
sub r8, 1
jmp 0x18000b9da
mov r8d, 1
cmp word [rdx], ax
cmovb r8d, r14d
jmp 0x18000b9df
jne 0x18000b9b5
mov r8d, ebx
test r8d, r8d
jne 0x18000b9eb
cmp r11, r10
jb 0x18000b9eb
jbe 0x18000ba14
cmp r9, 8
jb 0x18000ba02
lea r8, [r9 + 1]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180002460
lea rdx, [rsp + 0x70]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000b920
mov ebx, 1
cmp r9, 8
jb 0x18000ba30
lea r8, [r9 + 1]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180002460
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x18000ba57
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.180002460
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.18001d7b0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x18000ba80
Capabilities:
Check if file exists
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000baa8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 5]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_MoveFileExW]
add rsp, 0x20
pop rbx
ret
Function at 0x18000bb50
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
xor ebp, ebp
lea rax, [r11 - 0x28]
mov rsi, r9
mov qword [r11 - 0x28], rbp
mov rdi, r8
mov qword [r11 - 0x20], rbp
mov rbx, rcx
mov qword [r11 - 0x18], rbp
mov r9d, 0xf013f
mov qword [r11 - 0x10], rbp
xor r8d, r8d
mov qword [r11 - 0x58], rax
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000bcb0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftWare
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000bca5
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rbx
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000bc9a
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000bc8f
mov rcx, qword [rsp + 0xa0]
or rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x18000bc52
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000bcd0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x18], r14
mov rbp, r8
mov qword [r11 - 0x20], r14
mov rsi, rdx
mov qword [r11 - 0x28], r14
mov rdi, rcx
mov qword [r11 - 0x58], rax
mov r9d, 0xf013f
lea rdx, str.SoftWare
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000be14
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000be09
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x18000bdb9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
jmp 0x18000be0e
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x18000bdc0
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x18000bf40
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub rsp, 0x188
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x11c
call fcn.18001f6b0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x54], 5
jg 0x18000bfb4
cmp dword [rsp + 0x58], 2
jg 0x18000bfb4
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18001d7b0
add rsp, 0x188
ret
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18001d7b0
add rsp, 0x188
ret
Function at 0x18000dd70
Capabilities:
Check if file exists
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.18001dc70
sub rsp, rax
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0xf70], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0xb80]
mov r8d, 0x3e8
call fcn.18001f6b0
mov r8, rbx
lea rdx, str._zip__s_n
lea rcx, [rbp + 0xb80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0xb80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.18001f6b0
lea r8, str.C:log_
mov edx, 0x104
lea rcx, [rbp + 0x370]
call fcn.180027a04
xor edx, edx
lea rcx, [rbp + 0x790]
mov r8d, 0x3e8
call fcn.18001f6b0
lea r9, str.PuddingZip
lea r8, [rbp + 0x370]
lea rdx, str._s_s.log
lea rcx, [rbp + 0x160]
call fcn.18000a120
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x208
call fcn.18001f6b0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.18001f6b0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.180020efc
xor esi, esi
lea rcx, [rbp + 0x160]
mov word [rax], si
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000e035
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x1088], rdi
mov rax, rbx
mov qword [rsp + 0x1080], r14
lea rcx, [rsp + 0x50]
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x18000ded0
lea r8, [rsp + 0x52]
mov edx, 0x104
lea r8, [r8 + rax*2]
lea rcx, [rbp + 0x580]
call fcn.180027a04
lea r9, [rbp + 0x580]
lea r8, [rbp + 0x370]
lea rdx, str._s_s.txt
lea rcx, [rbp + 0x160]
call fcn.18000a120
lea rdi, [rbp + 0xfb8]
call fcn.1800054d0
mov rcx, qword [rbp + 0xfb0]
lea rdx, [rbp + 0x790]
mov r9d, 0x1f3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
lea r8d, [r9 + 1]
call fcn.1800248bc
lea rcx, [rbp + 0x160]
mov word [rbp + 0xb76], si
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r14d, 1
lea rdx, [0x180041228]
test eax, eax
lea rcx, [rbp + 0x160]
cmovne esi, r14d
call fcn.180021fc4
mov rdi, rax
test rax, rax
je 0x18000e025
test esi, esi
jne 0x18000dfb2
mov eax, 0xfeff
lea r8d, [r14 + 1]
mov r9, rdi
mov word [rsp + 0x44], ax
mov edx, r14d
lea rcx, [rsp + 0x44]
call fcn.180022210
lea rax, [rbp + 0x790]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000dfc0
add ebx, ebx
lea rcx, [rbp + 0x790]
movsxd r8, ebx
mov r9, rdi
mov rdx, r14
call fcn.180022210
mov eax, 0xd
lea rcx, [rsp + 0x40]
mov r9, rdi
mov word [rsp + 0x40], ax
mov rdx, r14
lea r8d, [rax - 0xb]
call fcn.180022210
mov eax, 0xa
lea rcx, [rsp + 0x40]
mov r9, rdi
mov word [rsp + 0x40], ax
mov rdx, r14
lea r8d, [rax - 8]
call fcn.180022210
mov rcx, rdi
call fcn.180021e74
mov rdi, qword [rsp + 0x1088]
mov r14, qword [rsp + 0x1080]
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.18001d7b0
add rsp, 0x1090
pop rsi
pop rbx
pop rbp
ret
Function at 0x18000e440
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov rcx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18000eda0
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x18005e4a0]
test rax, rax
jne 0x18000eddd
mov ecx, 0x170
call fcn.18001d6dc
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18000edd6
mov rcx, rax
call fcn.18000f4e0
nop
mov qword [0x18005e4a0], rax
mov rcx, rax
add rsp, 0x38
jmp fcn.180011e20
Function at 0x180012490
Capabilities:
Read .ini file

Disassembly:
push rbx
push r14
sub rsp, 0x468
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.18001f6b0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.18001f6b0
mov rax, qword [r14 + 0x40]
mov rax, qword [rax]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1800126cb
mov qword [rsp + 0x488], rbp
mov qword [rsp + 0x490], rsi
mov qword [rsp + 0x460], r15
lea r15, str.nothing
mov qword [rsp + 0x498], rdi
mov rbp, qword [rbx + 0x28]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbp + rax*2 + 0x18], 0
jne 0x180012520
test eax, eax
jle 0x180012653
lea r8, [rbp + 0x18]
lea rdx, str.Is_s
lea rcx, [rsp + 0x240]
call fcn.180009f60
lea rdi, [r14 + 0xf0]
cmp qword [rdi + 0x18], 8
jb 0x18001255e
mov rax, qword [rdi]
jmp 0x180012561
mov rax, rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x180041c70]
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x240]
lea rcx, [0x180040710]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x180041c70]
jne 0x1800125b9
movzx eax, word [rsp + 0x32]
cmp ax, word [0x180041c72]
jne 0x1800125b9
movzx eax, word [rsp + 0x34]
cmp ax, word [0x180041c74]
je 0x1800125c9
lea rcx, [rsp + 0x30]
call fcn.180025928
mov rcx, qword [rbp + 8]
mov byte [rcx], al
lea r8, [rbp + 0x18]
lea rdx, str.Use_s
lea rcx, [rsp + 0x240]
call fcn.180009f60
cmp qword [rdi + 0x18], 8
jb 0x1800125eb
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
mov r8, r15
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x240]
lea rcx, [0x180040710]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea rdx, [rsp + 0x30]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r15 + rcx*2 - 2]
jne 0x180012637
cmp rcx, 8
jne 0x180012620
jmp 0x180012653
mov rdx, qword [rbp + 0x10]
lea rcx, [rsp + 0x30]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x180012640
cmp byte [rbx + 0x19], 0
jne 0x18001269e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x18001267e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18001269e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180012670
jmp 0x18001269e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001269b
cmp rbx, qword [rax + 0x10]
jne 0x18001269b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180012688
mov rbx, rax
mov rax, qword [r14 + 0x40]
cmp rbx, qword [rax]
jne 0x180012511
mov r15, qword [rsp + 0x460]
mov rdi, qword [rsp + 0x498]
mov rsi, qword [rsp + 0x490]
mov rbp, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.18001d7b0
add rsp, 0x468
pop r14
pop rbx
ret
Function at 0x180012d90
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rbx, [rcx + 0x130]
mov rdi, rcx
cmp qword [rbx + 0x18], 8
jb 0x180012db0
mov r9, qword [rbx]
jmp 0x180012db3
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.ModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180012dda
mov r9, qword [rbx]
jmp 0x180012ddd
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.ModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180012e04
mov r9, qword [rbx]
jmp 0x180012e07
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.TempModifySetConfig
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp qword [rbx + 0x18], 8
jb 0x180012e2c
mov rbx, qword [rbx]
mov r9, rbx
lea r8, [0x180040720]
lea rdx, str.TempModifySetConfig64
lea rcx, str.SetModify
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rdx, [rdi + 0x110]
cmp qword [rdx + 0x18], 8
jb 0x180012e5b
mov rdx, qword [rdx]
lea rcx, [rdi + 0xf0]
cmp qword [rcx + 0x18], 8
jb case.default.0x180012e79
mov rcx, qword [rcx]
xor r8d, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CopyFileW]
invalid
invalid
xor bh, bh
hlt
invalid
hlt
invalid
hlt
hlt
cmc
mov edx, 0xb9f4ff2f
invalid