joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ad28
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, [0x0100c258]
call fcn.01011d38
lea rdx, [0x01005540]
lea rcx, [rsp + 0xb8]
call fcn.0100f9f8
nop
mov rax, qword [0x01045880]
mov qword [rsp + 0xb0], rax
mov r9, qword [rsi + 0x108]
lea r8, [0x0100a860]
lea rdx, [0x01009db8]
lea rcx, [rsp + 0xb0]
call fcn.01010648
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.01020df8
nop
cmp dword [rsp + 0x78], edi
je 0x101ae3b
lea rdx, [0x01005540]
lea rcx, [rsp + 0xc0]
call fcn.0100f9f8
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0xc0]
lea r8, [0x01009718]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x68]
call fcn.01021270
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.0100faec
lea rcx, [rsp + 0xc8]
call fcn.0100f940
nop
lea rcx, [rsp + 0xc0]
call fcn.0100f940
lea rcx, [rsp + 0x68]
call fcn.01020f9c
lea rbp, [0x0100d8d8]
mov rbx, qword [rsp + 0xb8]
cmp qword [rbx - 0x10], rdi
je 0x101aea0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x0100c298]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.01020df8
cmp dword [rsp + 0x60], edi
je 0x101ae91
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x50]
call fcn.01020f9c
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.01020f9c
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x0100a860]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.01020df8
nop
cmp dword [rsp + 0x48], edi
je 0x101af66
mov rdx, qword [rsi + 0x108]
lea rcx, [rsp + 0x38]
call fcn.01021110
lea rdx, [0x01005540]
lea rcx, [rsp + 0xc0]
call fcn.0100f9f8
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.01020fcc
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 0x101af2d
add rax, 2
test ecx, ecx
jne 0x101af19
movzx ebx, dil
mov esi, 1
cmp edx, edi
cmove ebx, esi
lea rcx, [rsp + 0xc8]
call fcn.0100f940
lea rcx, [rsp + 0xc0]
call fcn.0100f940
cmp bl, dil
cmovne edi, esi
lea rcx, [rsp + 0x38]
call fcn.01020f9c
nop
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x38]
call fcn.01020f9c
nop
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x68]
call fcn.01020f9c
nop
lea rcx, [rsp + 0xb0]
call fcn.0100f940
nop
lea rcx, [rsp + 0xb8]
call fcn.0100f940
mov eax, edi
add rsp, 0x80
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x101afb8
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, [0x0100c258]
call fcn.01011d38
lea rdx, [0x01005540]
lea rcx, [rsp + 0xb8]
call fcn.0100f9f8
nop
mov rax, qword [0x01045880]
mov qword [rsp + 0xb0], rax
mov r9, qword [rsi + 0x108]
lea r8, [0x0100a860]
lea rdx, [0x01009db8]
lea rcx, [rsp + 0xb0]
call fcn.01010648
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.01020df8
nop
cmp dword [rsp + 0x78], edi
je 0x101b0cb
lea rdx, [0x01005540]
lea rcx, [rsp + 0xc0]
call fcn.0100f9f8
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0xc0]
lea r8, [0x01009718]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x68]
call fcn.01021270
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.0100faec
lea rcx, [rsp + 0xc8]
call fcn.0100f940
nop
lea rcx, [rsp + 0xc0]
call fcn.0100f940
lea rcx, [rsp + 0x68]
call fcn.01020f9c
lea rbp, [0x0100d8d8]
mov rbx, qword [rsp + 0xb8]
cmp qword [rbx - 0x10], rdi
je 0x101b130
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x0100c298]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.01020df8
cmp dword [rsp + 0x60], edi
je 0x101b121
mov rdx, rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x50]
call fcn.01020f9c
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x50]
call fcn.01020f9c
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x0100a860]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.01020df8
nop
cmp dword [rsp + 0x48], edi
je 0x101b1f6
mov rdx, qword [rsi + 0x108]
lea rcx, [rsp + 0x38]
call fcn.01021110
lea rdx, [0x01005540]
lea rcx, [rsp + 0xc0]
call fcn.0100f9f8
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.01020fcc
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 0x101b1bd
add rax, 2
test ecx, ecx
jne 0x101b1a9
movzx ebx, dil
mov esi, 1
cmp edx, edi
cmove ebx, esi
lea rcx, [rsp + 0xc8]
call fcn.0100f940
lea rcx, [rsp + 0xc0]
call fcn.0100f940
cmp bl, dil
cmovne edi, esi
lea rcx, [rsp + 0x38]
call fcn.01020f9c
nop
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x38]
call fcn.01020f9c
nop
mov qword [rsp + 0x68], rbp
lea rcx, [rsp + 0x68]
call fcn.01020f9c
nop
lea rcx, [rsp + 0xb0]
call fcn.0100f940
nop
lea rcx, [rsp + 0xb8]
call fcn.0100f940
mov eax, edi
add rsp, 0x80
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1020550
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rcx
lea rcx, [0x0100d6e8]
mov edi, r8d
mov rbx, rdx
call fcn.01011d38
mov r11, qword [0x01045880]
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 0x10205c3
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x10205c3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.0100fb60
jmp 0x10205cb
mov rcx, rsi
call fcn.0100f8bc
mov rdx, qword [rsi]
lea rcx, [0x0100d720]
call fcn.01011d38
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.01028cb0
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret

Function at 0x1020fcc
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 [0x01045880]
mov rsi, rcx
lea rcx, [r11 - 0x30]
mov r12d, r8d
mov rbx, rdx
mov qword [r11 - 0x30], rax
call fcn.0100f8bc
cmp dword [rsi + 0x10], 0
je 0x10210d8
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 0x10210d8
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 0x1021058
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
jmp 0x10210cd
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 0x10210b0
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.0100fb60
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.0100f74c
lea rcx, [rsp + 0x48]
call fcn.0100f940
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 0x1021110
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.01020df8
nop
mov rax, qword [0x01045880]
mov qword [rsp + 0x70], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.01020fcc
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.0100faec
lea rdx, [0x01005540]
lea rcx, [rsp + 0x80]
call fcn.0100f9f8
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 0x10211b7
add rax, 2
test ecx, ecx
jne 0x10211a3
movzx ebx, dil
mov eax, 1
cmp edx, edi
cmovne ebx, eax
lea rcx, [rsp + 0x80]
call fcn.0100f940
lea rcx, [rsp + 0x88]
call fcn.0100f940
cmp bl, dil
je 0x1021226
cmp dword [rsp + 0x48], edi
je 0x1021201
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.01021110
cmp eax, edi
jne 0x102115a
lea rcx, [rsp + 0x70]
call fcn.0100f940
nop
lea rax, [0x0100d8d8]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.01020f9c
xor eax, eax
jmp 0x102125c
lea rcx, [rsp + 0x70]
call fcn.0100f940
nop
lea rax, [0x0100d8d8]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.01020f9c
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 0x1021270
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 0x10212bb
mov rdx, r9
mov rcx, rbx
call fcn.0100f74c
mov rax, rbx
jmp 0x102134d
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.0100f74c
nop
mov ecx, dword [rsp + 0x70]
call fcn.01028e1c
mov rdi, rax
test rax, rax
jne 0x10212f7
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.0100f74c
nop
lea rcx, [rsp + 0x50]
call fcn.0100f940
mov rax, rbx
jmp 0x102134d
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 0x102132a
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.0100fb60
mov rcx, rdi
call fcn.01028de4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.0100f74c
nop
lea rcx, [rsp + 0x50]
call fcn.0100f940
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 0x1021368
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.0100f990
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.0100f940
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x10213e4
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 0x1021428
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 0x10217ec
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, [0x0100dc58]
mov qword [rcx], rax
mov rax, qword [0x01045880]
mov qword [rcx + 8], rax
add rcx, 8
call fcn.0100f8bc
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.01021920
xor edi, edi
mov rax, qword [rsp + 0x48]
cmp qword [rax - 0x10], rdi
je 0x102185a
lea rdx, [0x0100bf50]
lea rcx, [rsp + 0x48]
call fcn.0100fe4c
mov rax, qword [rsp + 0x48]
cmp qword [rax - 0x10], rdi
je 0x102189f
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 8]
call fcn.0100faec
mov r11, qword [rsi + 8]
mov rax, qword [r11 - 0x10]
cmp word [r11 + rax*2 - 2], 0x5c
je 0x102188f
lea rdx, [0x010093a8]
lea rcx, [rsi + 8]
call fcn.0100fe4c
lea rdx, [0x0100db60]
lea rcx, [rsi + 8]
call fcn.0100fe4c
lea rcx, [rsp + 0x48]
call fcn.0100f940
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 0x1021920
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 [0x01045880]
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.01028e1c
mov rbx, rax
cmp rax, rbp
je 0x10219d5
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 0x10219bd
mov rax, rdi
mov rcx, rbx
cmp word [rcx], bp
je 0x10219a5
add rcx, 2
sub rax, 1
jne 0x1021996
cmp rax, rbp
je 0x10219b2
sub rdi, rax
cmp rdi, rbp
jne 0x10219bd
mov rcx, rbx
call fcn.01028de4
mov rbx, rbp
cmp rbx, rbp
je 0x10219d5
mov rdx, rbx
mov rcx, rsi
call fcn.0100fb60
mov rcx, rbx
call fcn.01028de4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x10219ec
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 0x1021b5c
lea rdi, [rcx + 8]
lea r12, [r11 + 0x18]
mov rax, qword [rdi]
cmp qword [rax - 0x10], 0
je 0x1021b5c
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.01021b70
lea r8, [0x0100db88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x1021b52
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov rcx, rdi
call fcn.0100fe90
lea rdx, [0x0100dbc4]
mov r8d, 0x20
mov rcx, rax
call fcn.0102addc
mov rdi, rax
test rax, rax
je 0x1021b3b
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.0100fe90
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, [0x0100dbd0]
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.0102ad10
mov rdx, qword [rsp + 0xb8]
mov r8, r12
mov rcx, rdi
call fcn.0102ace4
mov rcx, rdi
call fcn.0102af98
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 0x1021b52
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.0100f940
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10228cc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, qword [rdx]
xor ebx, ebx
mov rdi, rdx
cmp qword [rcx - 0x10], rbx
je 0x1022948
lea rdx, [0x0100c3f0]
call fcn.01029074
cmp eax, ebx
je 0x1022948
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.01034300
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rcx, qword [rdi]
lea rdx, [0x0100c3f8]
call fcn.01029074
cmp eax, ebx
jne 0x1022978
cmp dword [rsp + 0x30], 1
jne 0x102294d
mov ebx, 1
mov rcx, rdi
call fcn.0100f940
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.01028cb0
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
mov rcx, qword [rdi]
lea rdx, [0x0100c428]
call fcn.01029074
cmp eax, ebx
jne 0x1022992
cmp dword [rsp + 0x30], 2
jmp 0x1022946
mov rcx, qword [rdi]
lea rdx, [0x0100c408]
call fcn.01029074
cmp eax, ebx
jne 0x10229b3
cmp dword [rsp + 0x30], 2
jne 0x102294d
cmp dword [rsp + 0x24], 4
jmp 0x1022946
mov rcx, qword [rdi]
lea rdx, [0x0100c418]
call fcn.01029074
cmp eax, ebx
jne 0x10229dd
cmp dword [rsp + 0x30], 2
jne 0x102294d
cmp dword [rsp + 0x24], 5
jb 0x102294d
jmp 0x1022948
mov rcx, qword [rdi]
lea rdx, [0x0100c438]
call fcn.01029074
cmp eax, ebx
jne 0x1022a14
cmp dword [rsp + 0x30], 2
jne 0x102294d
cmp dword [rsp + 0x24], 5
jne 0x1022a0d
cmp dword [rsp + 0x28], 1
jae 0x1022948
cmp dword [rsp + 0x24], 6
jmp 0x10229d2
mov rcx, qword [rdi]
lea rdx, [0x0100c450]
call fcn.01029074
cmp eax, ebx
je 0x1022948
mov rcx, qword [rdi]
lea rdx, [0x0100c460]
call fcn.01029074
jmp 0x102294d
Function at 0x1024ba0
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 [0x01044480]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor edi, edi
mov rbp, r8
mov rsi, rdx
mov r12, rcx
cmp r8, rdi
je 0x1024dea
mov rcx, r8
call fcn.0100f8bc
mov r11, qword [rsi]
cmp qword [r11 - 0x10], rdi
je 0x1024dde
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x80
call fcn.01034300
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x114
mov ebx, edi
call fcn.01034300
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x50], 2
jne 0x1024caa
mov rax, qword [rsi]
lea r9, [rsp + 0x160]
lea r8, [0x010053c0]
mov qword [rsp + 0x28], rax
lea rdx, [0x0100de60]
lea rcx, [0x01005448]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp eax, edi
jne 0x1024d33
mov rax, qword [rsi]
lea r9, [rsp + 0x160]
lea r8, [0x010053c0]
mov qword [rsp + 0x28], rax
lea rdx, [0x0100de70]
lea rcx, [0x01005470]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
jmp 0x1024d33
mov rax, qword [0x01045880]
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov qword [rsp + 0x30], rax
call fcn.0100f74c
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r12
call fcn.01024e24
cmp eax, 1
jne 0x1024d29
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x160]
mov qword [rsp + 0x28], rax
lea r8, [0x010053c0]
lea rdx, [0x0100de80]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp eax, edi
jbe 0x1024d29
lea rcx, [rsp + 0x160]
mov edx, 0x2c
call fcn.01028e5c
cmp rax, rdi
je 0x1024d29
mov word [rax], di
lea rcx, [rsp + 0x30]
call fcn.0100f940
cmp ebx, edi
jbe 0x1024dde
mov rbx, qword [0x01045880]
mov rcx, qword [rsi]
lea rdx, [0x0100bec8]
mov qword [rsp + 0x30], rbx
call fcn.010297a4
cmp rax, rdi
je 0x1024da5
sub rax, qword [rsi]
sar rax, 1
cmp eax, 0xffffffff
je 0x1024da5
mov edx, 0x5c
mov rcx, rsi
call fcn.010100f8
movsxd r8, eax
cmp r8, 0xffffffffffffffff
je 0x1024da5
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.01010078
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0x38]
call fcn.0100f940
mov rbx, qword [rsp + 0x30]
mov rcx, rbp
cmp qword [rbx - 0x10], rdi
je 0x1024dc7
lea r9, [rsp + 0x160]
lea rdx, [0x01009db8]
mov r8, rbx
call fcn.01010648
jmp 0x1024dd4
lea rdx, [rsp + 0x160]
call fcn.0100fb60
lea rcx, [rsp + 0x30]
call fcn.0100f940
mov rdx, qword [rbp]
cmp qword [rdx - 0x10], rdi
setne dil
mov rcx, rsi
call fcn.0100f940
mov eax, edi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.01028cb0
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 0x1024e24
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
cmp r8, rbx
jne 0x1024e5e
mov rcx, rdx
call fcn.0100f940
xor eax, eax
jmp 0x1024eda
mov rcx, r8
call fcn.0100f8bc
mov rbp, qword [rsi]
cmp qword [rbp - 0x10], rbx
je 0x1024ed0
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x80
call fcn.01034300
lea r9, [rsp + 0x30]
lea r8, [0x010053c0]
lea rdx, [0x0100de88]
lea rcx, [0x0100dea0]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1024ec6
lea r8, [rsp + 0x30]
lea rdx, [0x010053c4]
mov rcx, rdi
call fcn.01010648
mov rcx, qword [rdi]
cmp qword [rcx - 0x10], rbx
setne bl
mov rcx, rsi
call fcn.0100f940
mov eax, ebx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.01028cb0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1024f04
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x210
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rbp, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rdx
xor edi, edi
cmp r8, rdi
jne 0x1024f47
jmp 0x10250fd
mov rcx, r8
call fcn.0100f8bc
mov r11, qword [0x01045880]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], r11
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.0100f74c
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rbx
call fcn.0102512c
cmp eax, edi
jne 0x1024f9a
lea rcx, [rsp + 0x38]
call fcn.0100f8bc
lea rcx, [rsp + 0x30]
call fcn.0100f8bc
mov rbx, qword [rsp + 0x38]
cmp qword [rbx - 0x10], rdi
je 0x10250db
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x180]
call fcn.01034300
mov esi, 0x114
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.01034300
mov dword [rsp + 0x60], esi
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x70], 2
jne 0x1025056
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x180]
lea r8, [0x010053c0]
lea rdx, [0x0100de60]
lea rcx, [0x01005448]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
cmp eax, edi
jne 0x10250a3
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x180]
lea r8, [0x010053c0]
lea rdx, [0x0100de70]
lea rcx, [0x01005470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
jmp 0x10250a3
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x180]
lea r8, [0x010053c0]
lea rdx, [0x0100de80]
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
cmp eax, edi
jbe 0x10250db
mov edx, 0x2c
lea rcx, [rsp + 0x180]
call fcn.01028e5c
cmp rax, rdi
je 0x10250a3
mov word [rax], di
cmp esi, edi
jbe 0x10250db
mov r8, qword [rsp + 0x30]
cmp qword [r8 - 0x10], rdi
je 0x10250cb
lea r9, [rsp + 0x180]
lea rdx, [0x01009db8]
mov rcx, rbp
call fcn.01010648
jmp 0x10250db
lea rdx, [rsp + 0x180]
mov rcx, rbp
call fcn.0100fb60
mov rax, qword [rbp]
cmp qword [rax - 0x10], rdi
setne dil
lea rcx, [rsp + 0x30]
call fcn.0100f940
nop
lea rcx, [rsp + 0x38]
call fcn.0100f940
nop
mov rcx, r12
call fcn.0100f940
mov eax, edi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.01028cb0
add rsp, 0x210
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret