joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101979c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rcx, [0x0100a390]
xor edx, edx
call fcn.0100fdd0
mov rax, qword [0x01043880]
lea r9, [0x0100a418]
lea r8, [0x0100a448]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
xor ebx, ebx
call fcn.0100e6e8
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call fcn.0101f9e4
cmp dword [rsp + 0x40], ebx
je 0x1019830
mov rdx, qword [rdi + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x30]
call fcn.0101fb88
mov ebx, 1
lea rax, [0x0100b9c0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.0101fb88
lea rcx, [rsp + 0x68]
call fcn.0100d9e0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1019864
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rcx, [0x0100a390]
mov edx, 0x200
call fcn.0100fdd0
mov rax, qword [0x01043880]
lea r9, [0x0100a418]
lea r8, [0x0100a448]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
xor ebx, ebx
call fcn.0100e6e8
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], ebx
call fcn.0101f9e4
cmp dword [rsp + 0x40], ebx
je 0x10198fb
mov rdx, qword [rdi + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x30]
call fcn.0101fb88
mov ebx, 1
lea rax, [0x0100b9c0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.0101fb88
lea rcx, [rsp + 0x68]
call fcn.0100d9e0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1019abc
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [0x0100a4d8]
call fcn.0100fdd0
lea rdx, [0x01003570]
lea rcx, [rsp + 0xb8]
call fcn.0100da98
nop
mov rax, qword [0x01043880]
mov qword [rsp + 0xb0], rax
mov r9, qword [rsi + 0x108]
lea r8, [0x01008880]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0xb0]
call fcn.0100e6e8
mov dword [rsp + 0x28], 0x20019
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, qword [rsp + 0xb0]
mov r13, 0xffffffff80000002
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.0101f9e4
nop
cmp dword [rsp + 0x78], edi
je 0x1019bcf
lea rdx, [0x01003570]
lea rcx, [rsp + 0xc0]
call fcn.0100da98
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0xc0]
lea r8, [0x01007758]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x68]
call fcn.0101fe5c
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.0100db8c
lea rcx, [rsp + 0xc8]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xc0]
call fcn.0100d9e0
lea rcx, [rsp + 0x68]
call fcn.0101fb88
lea rbp, [0x0100b9c0]
mov rbx, qword [rsp + 0xb8]
cmp qword [rbx - 0x10], rdi
je 0x1019c34
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x0100a518]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.0101f9e4
cmp dword [rsp + 0x60], edi
je 0x1019c25
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x50]
call fcn.0101fb88
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.0101fb88
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x01008880]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.0101f9e4
nop
cmp dword [rsp + 0x48], edi
je 0x1019cfa
mov rdx, qword [rsi + 0x108]
lea rcx, [rsp + 0x38]
call fcn.0101fcfc
lea rdx, [0x01003570]
lea rcx, [rsp + 0xc0]
call fcn.0100da98
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.0101fbb8
mov r8, qword [rax]
mov rax, qword [rsp + 0xc0]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1019cc1
add rax, 2
test ecx, ecx
jne 0x1019cad
movzx ebx, dil
mov esi, 1
cmp edx, edi
cmove ebx, esi
lea rcx, [rsp + 0xc8]
call fcn.0100d9e0
lea rcx, [rsp + 0xc0]
call fcn.0100d9e0
cmp bl, dil
cmovne edi, esi
lea rcx, [rsp + 0x38]
call fcn.0101fb88
nop
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x38]
call fcn.0101fb88
nop
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x68]
call fcn.0101fb88
nop
lea rcx, [rsp + 0xb0]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xb8]
call fcn.0100d9e0
mov eax, edi
add rsp, 0x80
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1019d4c
Capabilities:
Delete registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [0x0100a4d8]
call fcn.0100fdd0
lea rdx, [0x01003570]
lea rcx, [rsp + 0xb8]
call fcn.0100da98
nop
mov rax, qword [0x01043880]
mov qword [rsp + 0xb0], rax
mov r9, qword [rsi + 0x108]
lea r8, [0x01008880]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0xb0]
call fcn.0100e6e8
mov dword [rsp + 0x28], 0x20219
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, qword [rsp + 0xb0]
mov r13, 0xffffffff80000002
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.0101f9e4
nop
cmp dword [rsp + 0x78], edi
je 0x1019e5f
lea rdx, [0x01003570]
lea rcx, [rsp + 0xc0]
call fcn.0100da98
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0xc0]
lea r8, [0x01007758]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x68]
call fcn.0101fe5c
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.0100db8c
lea rcx, [rsp + 0xc8]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xc0]
call fcn.0100d9e0
lea rcx, [rsp + 0x68]
call fcn.0101fb88
lea rbp, [0x0100b9c0]
mov rbx, qword [rsp + 0xb8]
cmp qword [rbx - 0x10], rdi
je 0x1019ec4
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x0100a518]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.0101f9e4
cmp dword [rsp + 0x60], edi
je 0x1019eb5
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x50]
call fcn.0101fb88
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.0101fb88
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x01008880]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.0101f9e4
nop
cmp dword [rsp + 0x48], edi
je 0x1019f8a
mov rdx, qword [rsi + 0x108]
lea rcx, [rsp + 0x38]
call fcn.0101fcfc
lea rdx, [0x01003570]
lea rcx, [rsp + 0xc0]
call fcn.0100da98
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.0101fbb8
mov r8, qword [rax]
mov rax, qword [rsp + 0xc0]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1019f51
add rax, 2
test ecx, ecx
jne 0x1019f3d
movzx ebx, dil
mov esi, 1
cmp edx, edi
cmove ebx, esi
lea rcx, [rsp + 0xc8]
call fcn.0100d9e0
lea rcx, [rsp + 0xc0]
call fcn.0100d9e0
cmp bl, dil
cmovne edi, esi
lea rcx, [rsp + 0x38]
call fcn.0101fb88
nop
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x38]
call fcn.0101fb88
nop
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x68]
call fcn.0101fb88
nop
lea rcx, [rsp + 0xb0]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xb8]
call fcn.0100d9e0
mov eax, edi
add rsp, 0x80
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x101f68c
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
lea rcx, [0x0100b7e8]
mov edi, r8d
mov rbx, rdx
call fcn.0100fdd0
mov r11, qword [0x01043880]
lea r8, [rsp + 0x20]
mov edx, edi
mov rcx, rbx
mov qword [rsi], r11
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x101f6ff
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x101f6ff
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.0100dc00
jmp 0x101f707
mov rcx, rsi
call fcn.0100d95c
mov rdx, qword [rsi]
lea rcx, [0x0100b820]
call fcn.0100fdd0
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.01026f20
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret

Function at 0x101fbb8
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov rax, qword [0x01043880]
mov rsi, rcx
lea rcx, [r11 - 0x30]
mov r12d, r8d
mov rbx, rdx
mov qword [r11 - 0x30], rax
call fcn.0100d95c
cmp dword [rsi + 0x10], 0
je 0x101fcc4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebp, 0x200
mov edx, 8
mov rcx, rax
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x101fcc4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x101fc44
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
jmp 0x101fcb9
mov rcx, qword [rsi + 8]
mov eax, 0x100
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x80], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov r8, rdi
mov qword [rsp + 0x30], rax
mov edx, r12d
mov qword [rsp + 0x28], rbp
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x101fc9c
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.0100dc00
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.0100d7ec
lea rcx, [rsp + 0x48]
call fcn.0100d9e0
lea r11, [rsp + 0x60]
mov rax, rbx
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x101fcfc
Capabilities:
Delete registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbp, rdx
mov rsi, rcx
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x28], eax
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rdx
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x38]
call fcn.0101f9e4
nop
mov rax, qword [0x01043880]
mov qword [rsp + 0x70], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.0101fbb8
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.0100db8c
lea rdx, [0x01003570]
lea rcx, [rsp + 0x80]
call fcn.0100da98
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x101fda3
add rax, 2
test ecx, ecx
jne 0x101fd8f
movzx ebx, dil
mov eax, 1
cmp edx, edi
cmovne ebx, eax
lea rcx, [rsp + 0x80]
call fcn.0100d9e0
lea rcx, [rsp + 0x88]
call fcn.0100d9e0
cmp bl, dil
je 0x101fe12
cmp dword [rsp + 0x48], edi
je 0x101fded
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.0101fcfc
cmp eax, edi
jne 0x101fd46
lea rcx, [rsp + 0x70]
call fcn.0100d9e0
nop
lea rax, [0x0100b9c0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.0101fb88
xor eax, eax
jmp 0x101fe48
lea rcx, [rsp + 0x70]
call fcn.0100d9e0
nop
lea rax, [0x0100b9c0]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.0101fb88
mov rdx, rbp
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
sete dil
mov eax, edi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x101fe5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
and dword [rsp + 0x50], 0
mov dword [rax + 0x28], 0x100
cmp dword [rcx + 0x10], 0
jne 0x101fea7
mov rdx, r9
mov rcx, rbx
call fcn.0100d7ec
mov rax, rbx
jmp 0x101ff39
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.0100d7ec
nop
mov ecx, dword [rsp + 0x70]
call fcn.010270b8
mov rdi, rax
test rax, rax
jne 0x101fee3
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.0100d7ec
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
mov rax, rbx
jmp 0x101ff39
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101ff16
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.0100dc00
mov rcx, rdi
call fcn.01027054
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.0100d7ec
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x101ff54
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rdi, rdx
lea rcx, [rsp + 0x40]
mov rdx, r8
mov rbx, r8
call fcn.0100da30
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov r9, qword [rax]
mov rdx, rdi
mov rax, qword [r9 - 0x10]
lea r9d, [rax + rax + 2]
mov dword [rsp + 0x28], r9d
mov r9d, 1
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
lea rcx, [rsp + 0x40]
cmp eax, ebx
sete bl
call fcn.0100d9e0
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x101ffd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
and dword [rsp + 0x40], 0
lea rax, [r11 + 0x18]
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x1020014
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 0x18]
mov r9d, 4
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
cmp eax, ecx
sete cl
mov eax, ecx
add rsp, 0x38
ret

Function at 0x10203d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rcx
lea rax, [0x0100bd48]
mov qword [rcx], rax
mov rax, qword [0x01043880]
mov qword [rcx + 8], rax
add rcx, 8
call fcn.0100d95c
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.0102050c
xor edi, edi
mov rax, qword [rsp + 0x48]
cmp qword [rax - 0x10], rdi
je 0x1020446
lea rdx, [0x0100a1d0]
lea rcx, [rsp + 0x48]
call fcn.0100deec
mov rax, qword [rsp + 0x48]
cmp qword [rax - 0x10], rdi
je 0x102048b
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 8]
call fcn.0100db8c
mov r11, qword [rsi + 8]
mov rax, qword [r11 - 0x10]
cmp word [r11 + rax*2 - 2], 0x5c
je 0x102047b
lea rdx, [0x010073e8]
lea rcx, [rsi + 8]
call fcn.0100deec
lea rdx, [0x0100bc50]
lea rcx, [rsi + 8]
call fcn.0100deec
lea rcx, [rsp + 0x48]
call fcn.0100d9e0
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 1
cmp eax, 0xffffffff
cmovne edi, ecx
mov dword [rsi + 0x10], edi
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x102050c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rsi, rdx
xor ebp, ebp
mov dword [rsp + 0x60], ebp
mov rax, qword [0x01043880]
mov qword [rdx], rax
mov dword [rsp + 0x60], 1
mov edi, 0x105
lea eax, [rbp + 2]
mul rdi
lea rcx, [rbp - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.010270b8
mov rbx, rax
cmp rax, rbp
je 0x10205c1
lea r9d, [rbp + 1]
lea r8d, [rbp + 0x23]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x10205a9
mov rax, rdi
mov rcx, rbx
cmp word [rcx], bp
je 0x1020591
add rcx, 2
sub rax, 1
jne 0x1020582
cmp rax, rbp
je 0x102059e
sub rdi, rax
cmp rdi, rbp
jne 0x10205a9
mov rcx, rbx
call fcn.01027054
mov rbx, rbp
cmp rbx, rbp
je 0x10205c1
mov rdx, rbx
mov rcx, rsi
call fcn.0100dc00
mov rcx, rbx
call fcn.01027054
mov rax, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x10205d8
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
cmp dword [rcx + 0x10], 1
mov rbx, rcx
jne 0x1020748
lea rdi, [rcx + 8]
lea r12, [r11 + 0x18]
mov rax, qword [rdi]
cmp qword [rax - 0x10], 0
je 0x1020748
xor eax, eax
lea rcx, [r11 - 0x40]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov ebp, eax
call fcn.0102075c
lea r8, [0x0100bc78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x102073e
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov rcx, rdi
call fcn.0100df30
lea rdx, [0x0100bcb4]
mov r8d, 0x20
mov rcx, rax
call fcn.0102936c
mov rdi, rax
test rax, rax
je 0x1020727
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.0100df30
movzx ecx, word [rsp + 0x74]
movzx edx, word [rsp + 0x72]
movzx r10d, word [rsp + 0x70]
movzx r11d, word [rsp + 0x6e]
movzx r9d, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
lea rdx, [0x0100bcc0]
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.010292a0
mov rdx, qword [rsp + 0xb8]
mov r8, r12
mov rcx, rdi
call fcn.01029274
mov rcx, rdi
call fcn.01029528
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test rbx, rbx
je 0x102073e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.0100d9e0
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10214b8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, qword [rdx]
xor ebx, ebx
mov rdi, rdx
cmp qword [rcx - 0x10], rbx
je 0x1021534
lea rdx, [0x0100a670]
call fcn.01027310
cmp eax, ebx
je 0x1021534
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.010328a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rcx, qword [rdi]
lea rdx, [0x0100a678]
call fcn.01027310
cmp eax, ebx
jne 0x1021564
cmp dword [rsp + 0x30], 1
jne 0x1021539
mov ebx, 1
mov rcx, rdi
call fcn.0100d9e0
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.01026f20
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
mov rcx, qword [rdi]
lea rdx, [0x0100a6a8]
call fcn.01027310
cmp eax, ebx
jne 0x102157e
cmp dword [rsp + 0x30], 2
jmp 0x1021532
mov rcx, qword [rdi]
lea rdx, [0x0100a688]
call fcn.01027310
cmp eax, ebx
jne 0x102159f
cmp dword [rsp + 0x30], 2
jne 0x1021539
cmp dword [rsp + 0x24], 4
jmp 0x1021532
mov rcx, qword [rdi]
lea rdx, [0x0100a698]
call fcn.01027310
cmp eax, ebx
jne 0x10215c9
cmp dword [rsp + 0x30], 2
jne 0x1021539
cmp dword [rsp + 0x24], 5
jb 0x1021539
jmp 0x1021534
mov rcx, qword [rdi]
lea rdx, [0x0100a6b8]
call fcn.01027310
cmp eax, ebx
jne 0x1021600
cmp dword [rsp + 0x30], 2
jne 0x1021539
cmp dword [rsp + 0x24], 5
jne 0x10215f9
cmp dword [rsp + 0x28], 1
jae 0x1021534
cmp dword [rsp + 0x24], 6
jmp 0x10215be
mov rcx, qword [rdi]
lea rdx, [0x0100a6d0]
call fcn.01027310
cmp eax, ebx
je 0x1021534
mov rcx, qword [rdi]
lea rdx, [0x0100a6e0]
call fcn.01027310
jmp 0x1021539
Function at 0x102380c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x1f0
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor edi, edi
mov rbp, r8
mov rsi, rdx
mov r12, rcx
cmp r8, rdi
je 0x1023a56
mov rcx, r8
call fcn.0100d95c
mov r11, qword [rsi]
cmp qword [r11 - 0x10], rdi
je 0x1023a4a
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x80
call fcn.010328a0
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x114
mov ebx, edi
call fcn.010328a0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x50], 2
jne 0x1023916
mov rax, qword [rsi]
lea r9, [rsp + 0x160]
lea r8, [0x010033f0]
mov qword [rsp + 0x28], rax
lea rdx, [0x0100bf50]
lea rcx, [0x01003478]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp eax, edi
jne 0x102399f
mov rax, qword [rsi]
lea r9, [rsp + 0x160]
lea r8, [0x010033f0]
mov qword [rsp + 0x28], rax
lea rdx, [0x0100bf60]
lea rcx, [0x010034a0]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
jmp 0x102399f
mov rax, qword [0x01043880]
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov qword [rsp + 0x30], rax
call fcn.0100d7ec
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r12
call fcn.01023a90
cmp eax, 1
jne 0x1023995
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x160]
mov qword [rsp + 0x28], rax
lea r8, [0x010033f0]
lea rdx, [0x0100bf70]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp eax, edi
jbe 0x1023995
lea rcx, [rsp + 0x160]
mov edx, 0x2c
call fcn.010270f8
cmp rax, rdi
je 0x1023995
mov word [rax], di
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
cmp ebx, edi
jbe 0x1023a4a
mov rbx, qword [0x01043880]
mov rcx, qword [rsi]
lea rdx, [0x0100a148]
mov qword [rsp + 0x30], rbx
call fcn.01027a44
cmp rax, rdi
je 0x1023a11
sub rax, qword [rsi]
sar rax, 1
cmp eax, 0xffffffff
je 0x1023a11
mov edx, 0x5c
mov rcx, rsi
call fcn.0100e198
movsxd r8, eax
cmp r8, 0xffffffffffffffff
je 0x1023a11
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.0100e118
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.0100db8c
lea rcx, [rsp + 0x38]
call fcn.0100d9e0
mov rbx, qword [rsp + 0x30]
mov rcx, rbp
cmp qword [rbx - 0x10], rdi
je 0x1023a33
lea r9, [rsp + 0x160]
lea rdx, [0x01007df8]
mov r8, rbx
call fcn.0100e6e8
jmp 0x1023a40
lea rdx, [rsp + 0x160]
call fcn.0100dc00
lea rcx, [rsp + 0x30]
call fcn.0100d9e0
mov rdx, qword [rbp]
cmp qword [rdx - 0x10], rdi
setne dil
mov rcx, rsi
call fcn.0100d9e0
mov eax, edi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.01026f20
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1023a90
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
cmp r8, rbx
jne 0x1023aca
mov rcx, rdx
call fcn.0100d9e0
xor eax, eax
jmp 0x1023b46
mov rcx, r8
call fcn.0100d95c
mov rbp, qword [rsi]
cmp qword [rbp - 0x10], rbx
je 0x1023b3c
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x80
call fcn.010328a0
lea r9, [rsp + 0x30]
lea r8, [0x010033f0]
lea rdx, [0x0100bf78]
lea rcx, [0x0100bf90]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1023b32
lea r8, [rsp + 0x30]
lea rdx, [0x010033f4]
mov rcx, rdi
call fcn.0100e6e8
mov rcx, qword [rdi]
cmp qword [rcx - 0x10], rbx
setne bl
mov rcx, rsi
call fcn.0100d9e0
mov eax, ebx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.01026f20
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret