joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1022920
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 [0x01046880]
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.01029e1c
mov rbx, rax
cmp rax, rbp
je 0x10229d5
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 0x10229bd
mov rax, rdi
mov rcx, rbx
cmp word [rcx], bp
je 0x10229a5
add rcx, 2
sub rax, 1
jne 0x1022996
cmp rax, rbp
je 0x10229b2
sub rdi, rax
cmp rdi, rbp
jne 0x10229bd
mov rcx, rbx
call fcn.01029de4
mov rbx, rbp
cmp rbx, rbp
je 0x10229d5
mov rdx, rbx
mov rcx, rsi
call fcn.01010b60
mov rcx, rbx
call fcn.01029de4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x10229ec
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 0x1022b5c
lea rdi, [rcx + 8]
lea r12, [r11 + 0x18]
mov rax, qword [rdi]
cmp qword [rax - 0x10], 0
je 0x1022b5c
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.01022b70
lea r8, [0x0100eb88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x1022b52
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov rcx, rdi
call fcn.01010e90
lea rdx, [0x0100ebc4]
mov r8d, 0x20
mov rcx, rax
call fcn.0102bddc
mov rdi, rax
test rax, rax
je 0x1022b3b
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.01010e90
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, [0x0100ebd0]
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.0102bd10
mov rdx, qword [rsp + 0xb8]
mov r8, r12
mov rcx, rdi
call fcn.0102bce4
mov rcx, rdi
call fcn.0102bf98
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 0x1022b52
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.01010940
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10238cc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, qword [rdx]
xor ebx, ebx
mov rdi, rdx
cmp qword [rcx - 0x10], rbx
je 0x1023948
lea rdx, [0x0100d3f0]
call fcn.0102a074
cmp eax, ebx
je 0x1023948
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
call fcn.01035300
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rcx, qword [rdi]
lea rdx, [0x0100d3f8]
call fcn.0102a074
cmp eax, ebx
jne 0x1023978
cmp dword [rsp + 0x30], 1
jne 0x102394d
mov ebx, 1
mov rcx, rdi
call fcn.01010940
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.01029cb0
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
mov rcx, qword [rdi]
lea rdx, [0x0100d428]
call fcn.0102a074
cmp eax, ebx
jne 0x1023992
cmp dword [rsp + 0x30], 2
jmp 0x1023946
mov rcx, qword [rdi]
lea rdx, [0x0100d408]
call fcn.0102a074
cmp eax, ebx
jne 0x10239b3
cmp dword [rsp + 0x30], 2
jne 0x102394d
cmp dword [rsp + 0x24], 4
jmp 0x1023946
mov rcx, qword [rdi]
lea rdx, [0x0100d418]
call fcn.0102a074
cmp eax, ebx
jne 0x10239dd
cmp dword [rsp + 0x30], 2
jne 0x102394d
cmp dword [rsp + 0x24], 5
jb 0x102394d
jmp 0x1023948
mov rcx, qword [rdi]
lea rdx, [0x0100d438]
call fcn.0102a074
cmp eax, ebx
jne 0x1023a14
cmp dword [rsp + 0x30], 2
jne 0x102394d
cmp dword [rsp + 0x24], 5
jne 0x1023a0d
cmp dword [rsp + 0x28], 1
jae 0x1023948
cmp dword [rsp + 0x24], 6
jmp 0x10239d2
mov rcx, qword [rdi]
lea rdx, [0x0100d450]
call fcn.0102a074
cmp eax, ebx
je 0x1023948
mov rcx, qword [rdi]
lea rdx, [0x0100d460]
call fcn.0102a074
jmp 0x102394d
Function at 0x1025ba0
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 [0x01045480]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor edi, edi
mov rbp, r8
mov rsi, rdx
mov r12, rcx
cmp r8, rdi
je 0x1025dea
mov rcx, r8
call fcn.010108bc
mov r11, qword [rsi]
cmp qword [r11 - 0x10], rdi
je 0x1025dde
lea rcx, [rsp + 0x160]
xor edx, edx
mov r8d, 0x80
call fcn.01035300
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x114
mov ebx, edi
call fcn.01035300
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x50], 2
jne 0x1025caa
mov rax, qword [rsi]
lea r9, [rsp + 0x160]
lea r8, [0x010063c0]
mov qword [rsp + 0x28], rax
lea rdx, [0x0100ee60]
lea rcx, [0x01006448]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp eax, edi
jne 0x1025d33
mov rax, qword [rsi]
lea r9, [rsp + 0x160]
lea r8, [0x010063c0]
mov qword [rsp + 0x28], rax
lea rdx, [0x0100ee70]
lea rcx, [0x01006470]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
jmp 0x1025d33
mov rax, qword [0x01046880]
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov qword [rsp + 0x30], rax
call fcn.0101074c
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r12
call fcn.01025e24
cmp eax, 1
jne 0x1025d29
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x160]
mov qword [rsp + 0x28], rax
lea r8, [0x010063c0]
lea rdx, [0x0100ee80]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp eax, edi
jbe 0x1025d29
lea rcx, [rsp + 0x160]
mov edx, 0x2c
call fcn.01029e5c
cmp rax, rdi
je 0x1025d29
mov word [rax], di
lea rcx, [rsp + 0x30]
call fcn.01010940
cmp ebx, edi
jbe 0x1025dde
mov rbx, qword [0x01046880]
mov rcx, qword [rsi]
lea rdx, [0x0100cec8]
mov qword [rsp + 0x30], rbx
call fcn.0102a7a4
cmp rax, rdi
je 0x1025da5
sub rax, qword [rsi]
sar rax, 1
cmp eax, 0xffffffff
je 0x1025da5
mov edx, 0x5c
mov rcx, rsi
call fcn.010110f8
movsxd r8, eax
cmp r8, 0xffffffffffffffff
je 0x1025da5
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.01011078
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0x38]
call fcn.01010940
mov rbx, qword [rsp + 0x30]
mov rcx, rbp
cmp qword [rbx - 0x10], rdi
je 0x1025dc7
lea r9, [rsp + 0x160]
lea rdx, [0x0100adb8]
mov r8, rbx
call fcn.01011648
jmp 0x1025dd4
lea rdx, [rsp + 0x160]
call fcn.01010b60
lea rcx, [rsp + 0x30]
call fcn.01010940
mov rdx, qword [rbp]
cmp qword [rdx - 0x10], rdi
setne dil
mov rcx, rsi
call fcn.01010940
mov eax, edi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.01029cb0
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 0x1025e24
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
cmp r8, rbx
jne 0x1025e5e
mov rcx, rdx
call fcn.01010940
xor eax, eax
jmp 0x1025eda
mov rcx, r8
call fcn.010108bc
mov rbp, qword [rsi]
cmp qword [rbp - 0x10], rbx
je 0x1025ed0
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x80
call fcn.01035300
lea r9, [rsp + 0x30]
lea r8, [0x010063c0]
lea rdx, [0x0100ee88]
lea rcx, [0x0100eea0]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1025ec6
lea r8, [rsp + 0x30]
lea rdx, [0x010063c4]
mov rcx, rdi
call fcn.01011648
mov rcx, qword [rdi]
cmp qword [rcx - 0x10], rbx
setne bl
mov rcx, rsi
call fcn.01010940
mov eax, ebx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.01029cb0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1025f04
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 [0x01045480]
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 0x1025f47
jmp 0x10260fd
mov rcx, r8
call fcn.010108bc
mov r11, qword [0x01046880]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], r11
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.0101074c
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, rbx
call fcn.0102612c
cmp eax, edi
jne 0x1025f9a
lea rcx, [rsp + 0x38]
call fcn.010108bc
lea rcx, [rsp + 0x30]
call fcn.010108bc
mov rbx, qword [rsp + 0x38]
cmp qword [rbx - 0x10], rdi
je 0x10260db
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x180]
call fcn.01035300
mov esi, 0x114
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.01035300
mov dword [rsp + 0x60], esi
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x70], 2
jne 0x1026056
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x180]
lea r8, [0x010063c0]
lea rdx, [0x0100ee60]
lea rcx, [0x01006448]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
cmp eax, edi
jne 0x10260a3
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x180]
lea r8, [0x010063c0]
lea rdx, [0x0100ee70]
lea rcx, [0x01006470]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
jmp 0x10260a3
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x180]
lea r8, [0x010063c0]
lea rdx, [0x0100ee80]
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
cmp eax, edi
jbe 0x10260db
mov edx, 0x2c
lea rcx, [rsp + 0x180]
call fcn.01029e5c
cmp rax, rdi
je 0x10260a3
mov word [rax], di
cmp esi, edi
jbe 0x10260db
mov r8, qword [rsp + 0x30]
cmp qword [r8 - 0x10], rdi
je 0x10260cb
lea r9, [rsp + 0x180]
lea rdx, [0x0100adb8]
mov rcx, rbp
call fcn.01011648
jmp 0x10260db
lea rdx, [rsp + 0x180]
mov rcx, rbp
call fcn.01010b60
mov rax, qword [rbp]
cmp qword [rax - 0x10], rdi
setne dil
lea rcx, [rsp + 0x30]
call fcn.01010940
nop
lea rcx, [rsp + 0x38]
call fcn.01010940
nop
mov rcx, r12
call fcn.01010940
mov eax, edi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.01029cb0
add rsp, 0x210
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10277dc
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x114
xor ebx, ebx
call fcn.01035300
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x1027830
cmp dword [rsp + 0x24], 5
lea eax, [rbx + 1]
cmovae ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.01029cb0
add rsp, 0x150
pop rbx
ret

Function at 0x1027c50
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x01047dd8]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x1027c9b
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
xor eax, eax
jmp 0x1027da9
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x1027cd8
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
jmp 0x1027c94
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x1027cb2
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x1027cb2
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1027e1c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x01047dd8]
xor esi, esi
mov rbx, rcx
cmp rdi, rsi
jne 0x1027e6f
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x40], rsi
mov qword [rcx + 0x48], rsi
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
xor eax, eax
jmp 0x1027fbb
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
cmp rax, rsi
jne 0x1027eb4
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
jmp 0x1027e68
mov edx, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
cmp rax, rsi
je 0x1027e86
mov edx, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
cmp rax, rsi
je 0x1027e86
mov edx, 9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
cmp rax, rsi
je 0x1027e86
mov edx, 0xb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
cmp rax, rsi
je 0x1027e86
mov edx, 0xd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp rax, rsi
je 0x1027e86
mov edx, 0xf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp rax, rsi
je 0x1027e86
mov edx, 0x11
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
cmp rax, rsi
je 0x1027e86
mov edx, 0x13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
cmp rax, rsi
je 0x1027e86
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
cmp rax, rsi
je 0x1027e86
mov edx, 0x14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
cmp rax, rsi
je 0x1027e86
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1028898
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rsi, rdx
mov rdi, rcx
cmp rdx, r13
jne 0x10288d2
xor eax, eax
jmp 0x1028ae0
cmp word [rdx], r13w
je 0x10288cb
call fcn.0102868c
mov rbx, rax
cmp rax, r13
je 0x1028a4b
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.01035300
xor r11d, r11d
lea r12, [0x010063c0]
lea r9, [rsp + 0x30]
lea rdx, [0x0100ef80]
lea rcx, [0x0100eea0]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x0100ef98]
lea rcx, [rsp + 0x30]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x1028961
cmp ebp, r13d
jbe 0x1028961
lea rdx, [0x0100efa0]
lea rcx, [0x01006448]
jmp 0x102899d
lea r9, [rsp + 0x40]
lea rdx, [0x0100efa0]
lea rcx, [0x01006448]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, r13d
jne 0x10289bb
lea rdx, [0x0100efb8]
lea rcx, [0x01006470]
lea r9, [rsp + 0x40]
mov r8, r12
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, r13d
jbe 0x1028a4b
mov rbp, qword [rdi + 8]
mov ebx, eax
cmp rbp, r13
jne 0x10289df
mov rdx, rsi
mov rcx, rdi
call fcn.01028528
mov rbp, rax
cmp rax, r13
je 0x1028a35
mov rcx, rbp
call fcn.01029940
lea r12, [rax + rbx + 2]
lea rcx, [r12 + r12]
call fcn.010278c0
mov rbx, rax
cmp rax, r13
je 0x1028a35
lea rax, [rsp + 0x40]
lea r8, [0x0100adb8]
mov r9, rbp
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100fd0c
cmp eax, r13d
je 0x1028a2c
mov rcx, rbx
call fcn.0102990c
mov rbx, r13
cmp rbx, r13
jne 0x1028ad9
lea rcx, [rsp + 0x40]
call fcn.01027938
mov rbx, rax
cmp rax, r13
jne 0x1028ad9
lea rcx, [0x0100efd0]
call fcn.01027938
mov rbp, qword [rdi + 8]
mov rbx, rax
cmp rbp, r13
jne 0x1028a76
mov rdx, rsi
mov rcx, rdi
call fcn.01028528
mov rbp, rax
cmp rax, r13
je 0x1028ad9
mov rcx, rbp
call fcn.01029940
mov rcx, rbx
mov r9, rax
call fcn.01029940
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x1028ad9
lea rcx, [r12 + r12]
call fcn.010278c0
mov rsi, rax
cmp rax, r13
je 0x1028ad9
lea r8, [0x0100adb8]
mov r9, rbp
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100fd0c
cmp eax, r13d
jne 0x1028ad1
mov rcx, rbx
call fcn.0102990c
mov rbx, rsi
jmp 0x1028ad9
mov rcx, rsi
call fcn.0102990c
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01029cb0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1028f38
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor r13d, r13d
mov rbx, rdx
mov r12, rcx
cmp rdx, r13
jne 0x1028f72
xor eax, eax
jmp 0x1029182
cmp word [rdx], r13w
je 0x1028f6b
mov rcx, rdx
call fcn.01027938
mov rdi, rax
cmp rax, r13
je 0x1028fab
mov edx, 0x5c
mov rcx, rax
call fcn.0102a770
cmp rax, r13
je 0x1028fa0
mov word [rax], r13w
jmp 0x1028fab
mov rcx, rdi
call fcn.0102990c
mov rdi, r13
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x80
call fcn.01035300
xor r11d, r11d
lea rbp, [0x010063c0]
lea r9, [rsp + 0x30]
lea rdx, [0x0100ef80]
lea rcx, [0x0100eea0]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x0100ef98]
lea rcx, [rsp + 0x30]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x1029023
cmp esi, r13d
jbe 0x1029023
lea rdx, [0x0100efa0]
lea rcx, [0x01006448]
jmp 0x1029062
lea r9, [rsp + 0x40]
lea rdx, [0x0100efa0]
lea rcx, [0x01006448]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp eax, r13d
jne 0x1029080
lea rdx, [0x0100efb8]
lea rcx, [0x01006470]
lea r9, [rsp + 0x40]
mov r8, rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp r11d, r13d
jbe 0x10290f5
cmp rdi, r13
je 0x10290e3
mov rcx, rdi
call fcn.01029940
mov ecx, r11d
lea rsi, [rax + rcx + 2]
lea rcx, [rsi + rsi]
call fcn.010278c0
mov rbx, rax
cmp rax, r13
je 0x10290e3
lea rax, [rsp + 0x40]
lea r8, [0x0100adb8]
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100fd0c
cmp eax, r13d
je 0x10290da
mov rcx, rbx
call fcn.0102990c
mov rbx, r13
cmp rbx, r13
jne 0x102916d
lea rcx, [rsp + 0x40]
call fcn.01027938
mov rbx, rax
cmp rax, r13
jne 0x102916d
lea rcx, [0x0100efd0]
call fcn.01027938
mov rbx, rax
cmp rdi, r13
je 0x102917a
mov rcx, rdi
call fcn.01029940
mov rcx, rbx
mov r9, rax
call fcn.01029940
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x102916d
lea rcx, [rbp + rbp]
call fcn.010278c0
mov rsi, rax
cmp rax, r13
je 0x102916d
lea r8, [0x0100adb8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100fd0c
cmp eax, r13d
jne 0x1029165
mov rcx, rbx
call fcn.0102990c
mov rbx, rsi
jmp 0x102916d
mov rcx, rsi
call fcn.0102990c
cmp rdi, r13
je 0x102917a
mov rcx, rdi
call fcn.0102990c
mov qword [r12 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.01029cb0
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x102935c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x460
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x40]
xor r12d, r12d
xor edx, edx
mov r8d, 0x208
mov rbx, r12
call fcn.01035300
mov ebp, 0x200
lea rcx, [rsp + 0x250]
xor edx, edx
mov r8, rbp
call fcn.01035300
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], ebp
cmp rsi, r12
je 0x10294a7
mov ebp, 0x104
lea r8, [0x0100f008]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.01036a04
cmp eax, r12d
jne 0x1029497
lea r8, [0x0100a3a8]
lea rcx, [rsp + 0x40]
mov rdx, rbp
call fcn.01036a04
cmp eax, r12d
jne 0x1029497
lea rcx, [rsp + 0x40]
mov r8, rsi
mov rdx, rbp
call fcn.01036a04
cmp eax, r12d
jne 0x1029497
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x1029497
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, [0x0100f038]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x1029497
cmp word [rsp + 0x250], r12w
je 0x1029497
lea rcx, [rsp + 0x250]
call fcn.010294dc
mov rbx, rax
mov rcx, qword [rsp + 0x30]
cmp rcx, r12
je 0x10294a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.01029cb0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret