joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180162100
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call fcn.180180610
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18016216e
mov eax, dword [rsp + 0x24]
cmp eax, 5
ja 0x180162154
jne 0x18016216e
cmp dword [rsp + 0x28], 0
jbe 0x18016216e
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x158
ret

Function at 0x180162190
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], VarUI4FromDisp
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x24]
call fcn.180180610
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1801621fe
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x1801621e4
jb 0x1801621fe
cmp dword [rsp + 0x28], 1
jb 0x1801621fe
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x158
ret

Function at 0x180162220
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x11c
mov r8d, 0x118
lea rcx, [rsp + 0x24]
call fcn.180180610
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18016229d
mov eax, dword [rsp + 0x24]
cmp eax, 6
ja 0x180162283
jne 0x18016229d
mov eax, dword [rsp + 0x28]
cmp eax, 1
ja 0x180162283
jne 0x18016229d
cmp word [rsp + 0x134], 1
jb 0x18016229d
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x158
ret
Function at 0x180167250
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
call fcn.180167740
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.1800096e0
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180016500
nop
lea rcx, [rsp + 0x90]
call fcn.180009660
lea rcx, [rsp + 0x50]
call fcn.180011cd0
movzx eax, al
test eax, eax
jne 0x180167317
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x340]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.180009660
nop
lea rcx, [rsp + 0x70]
call fcn.180009660
mov rax, qword [rsp + 0x340]
jmp 0x180167484
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x110]
lea r8, [0x1801d9f90]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x18016737b
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1801673dc
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x340]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.180009660
nop
lea rcx, [rsp + 0x70]
call fcn.180009660
mov rax, qword [rsp + 0x340]
jmp 0x180167484
lea rcx, [rsp + 0xf0]
call fcn.180167160
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xb0]
call fcn.1800096e0
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xd0]
call fcn.180016500
nop
lea rcx, [rsp + 0xb0]
call fcn.180009660
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x340]
call fcn.18000ea30
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd0]
call fcn.180009660
nop
lea rcx, [rsp + 0xf0]
call fcn.180009660
nop
lea rcx, [rsp + 0x50]
call fcn.180009660
nop
lea rcx, [rsp + 0x70]
call fcn.180009660
mov rax, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x330
pop rdi
ret
Function at 0x1801681e0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x108
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x78]
call fcn.1801674a0
nop
lea rcx, [rsp + 0x60]
call fcn.18001dc40
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.18001dda0
lea rcx, [rsp + 0x50]
call fcn.18001dc40
mov dword [rsp + 0x20], 0x25d
xor r9d, r9d
mov r8d, 3
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.18001dc50
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.18001dca0
movzx eax, al
test eax, eax
je 0x18016827f
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x78]
call fcn.180009660
movzx eax, byte [rsp + 0x30]
jmp 0x180168350
lea rdx, str.config.ini
lea rcx, [rsp + 0x98]
call fcn.1800096e0
nop
lea rcx, [rsp + 0xd8]
call fcn.180167740
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xb8]
call fcn.180016500
nop
lea rcx, [rsp + 0xd8]
call fcn.180009660
nop
lea rcx, [rsp + 0x98]
call fcn.180009660
lea rcx, [rsp + 0xb8]
call fcn.1800095c0
mov r9, rax
xor r8d, r8d
lea rdx, str.Status
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jne 0x180168322
mov dword [rsp + 0x34], 1
jmp 0x18016832a
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0xb8]
call fcn.180009660
nop
lea rcx, [rsp + 0x78]
call fcn.180009660
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x108
ret

Function at 0x180168490
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0x48]
call fcn.1800096e0
nop
lea rcx, [rsp + 0x88]
call fcn.180167740
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.180016500
nop
lea rcx, [rsp + 0x88]
call fcn.180009660
nop
lea rcx, [rsp + 0x48]
call fcn.180009660
lea rcx, [rsp + 0x68]
call fcn.1800095c0
mov r9, rax
xor r8d, r8d
lea rdx, str.PreferPdfReader
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 1
jne 0x180168546
mov dword [rsp + 0x24], 1
jmp 0x18016854e
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x68]
call fcn.180009660
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18017df00
add rsp, 0xb8
ret
Function at 0x180168580
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x2f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.1800096e0
nop
lea rcx, [rsp + 0xb0]
call fcn.180167740
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.180016500
nop
lea rcx, [rsp + 0xb0]
call fcn.180009660
nop
lea rcx, [rsp + 0x90]
call fcn.180009660
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x70]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xd0]
lea r8, [0x1801d9f90]
lea rdx, str.ErrMsgTime
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x18016866c
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1801686a2
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x70]
call fcn.180009660
movzx eax, byte [rsp + 0x30]
jmp 0x1801686fa
mov r8d, 0xa
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.1801884d0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.180138530
movzx eax, al
test eax, eax
je 0x1801686e6
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x70]
call fcn.180009660
movzx eax, byte [rsp + 0x31]
jmp 0x1801686fa
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x70]
call fcn.180009660
movzx eax, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x2f0
pop rdi
ret
Function at 0x1801694e0
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
call fcn.180167740
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.1800096e0
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180016500
nop
lea rcx, [rsp + 0x78]
call fcn.180009660
lea rcx, [rsp + 0x38]
call fcn.180011cd0
movzx eax, al
test eax, eax
jne 0x180169572
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.180009660
nop
lea rcx, [rsp + 0x58]
call fcn.180009660
mov eax, dword [rsp + 0x20]
jmp 0x1801695be
lea rcx, [rsp + 0x38]
call fcn.1800095c0
mov r9, rax
mov r8d, 0xffffffff
lea rdx, str.IsRightNetFramework
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x38]
call fcn.180009660
nop
lea rcx, [rsp + 0x58]
call fcn.180009660
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18017df00
add rsp, 0xa8
ret
Function at 0x1801695e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x320
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x310], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0xb8]
call fcn.1800096e0
nop
lea rcx, [rsp + 0xd8]
call fcn.180167740
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.180016500
nop
lea rcx, [rsp + 0xd8]
call fcn.180009660
nop
lea rcx, [rsp + 0xb8]
call fcn.180009660
mov rax, qword [rsp + 0x340]
mov byte [rax], 0
lea rcx, [rsp + 0x98]
call fcn.1800095c0
mov r9, rax
xor r8d, r8d
lea rdx, str.Status
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x330]
mov dword [rcx], eax
lea rcx, [rsp + 0x98]
call fcn.1800095c0
mov r9, rax
xor r8d, r8d
lea rdx, str.IsOpenFailed
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x1801696e7
mov byte [rsp + 0x30], 1
jmp 0x1801696ec
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x338]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x98]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x100]
lea r8, [0x1801d9f90]
lea rdx, str.LastTime
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x100]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x180169762
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x180169792
mov rax, qword [rsp + 0x340]
mov byte [rax], 1
jmp 0x18016981f
mov r8d, 0xa
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x100]
call fcn.1801884d0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.18012baa0
mov qword [rsp + 0x68], rax
xor ecx, ecx
call fcn.18016adf0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18012baa0
mov rcx, qword [rsp + 0x68]
mov r8, qword [rcx]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180130ae0
lea rcx, [rsp + 0x70]
call fcn.180130ac0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jl 0x180169814
cmp qword [rsp + 0x40], 1
jl 0x18016981f
mov rax, qword [rsp + 0x340]
mov byte [rax], 1
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x98]
call fcn.180009660
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x320
pop rdi
ret
Function at 0x18016a3a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
cmp qword [rsp + 0xd0], 0
je 0x18016a3f7
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
jmp 0x18016a402
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x98], 0
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x18016a48e
cmp qword [rsp + 0x68], 0x20
jbe 0x18016a47d
mov dword [rsp + 0x24], 1
jmp 0x18016a485
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18016a4b6
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x18016a4b6
mov edx, 0x2710
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [rsp + 0x20]
add rsp, 0xa0
pop rdi
ret
Function at 0x180179c00
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x30], 0
mov eax, 0x51
mov word [rsp + 0x80], ax
mov eax, 0x69
mov word [rsp + 0x82], ax
mov eax, 0x6e
mov word [rsp + 0x84], ax
mov eax, 0x67
mov word [rsp + 0x86], ax
mov eax, 0x6e
mov word [rsp + 0x88], ax
mov eax, 0x69
mov word [rsp + 0x8a], ax
mov eax, 0x61
mov word [rsp + 0x8c], ax
mov eax, 0x6f
mov word [rsp + 0x8e], ax
mov eax, 0x20
mov word [rsp + 0x90], ax
mov eax, 0x43
mov word [rsp + 0x92], ax
mov eax, 0x68
mov word [rsp + 0x94], ax
mov eax, 0x72
mov word [rsp + 0x96], ax
mov eax, 0x6f
mov word [rsp + 0x98], ax
mov eax, 0x6d
mov word [rsp + 0x9a], ax
mov eax, 0x65
mov word [rsp + 0x9c], ax
xor eax, eax
mov word [rsp + 0x9e], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1800096e0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1801783f0
nop
lea rcx, [rsp + 0x60]
call fcn.180009660
lea rcx, [rsp + 0x40]
call fcn.1800095a0
movzx eax, al
test eax, eax
je 0x180179d71
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180009660
mov rax, qword [rsp + 0x2d0]
jmp 0x180179e9c
lea rcx, [rsp + 0x40]
call fcn.180011cd0
movzx eax, al
test eax, eax
jne 0x180179db8
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180009660
mov rax, qword [rsp + 0x2d0]
jmp 0x180179e9c
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xa0]
lea r8, [0x1801d9f90]
lea rdx, str.Version
lea rcx, str.AppLoadInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0xa0]
lea rcx, [0x1801d9f90]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x180179e2e
add rax, 2
test dx, dx
jne 0x180179e18
xor eax, eax
jmp 0x180179e33
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180179e6a
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180009660
mov rax, qword [rsp + 0x2d0]
jmp 0x180179e9c
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2d0]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180009660
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x2c0
pop rdi
ret
Function at 0x18017a580
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.180178be0
nop
lea rcx, [rsp + 0x40]
call fcn.180011cd0
movzx eax, al
test eax, eax
jne 0x18017a60c
lea rdx, [0x1801d9f90]
mov rcx, qword [rsp + 0x290]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180009660
mov rax, qword [rsp + 0x290]
jmp 0x18017a683
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1800095c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x1801d9f90]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x290]
call fcn.1800096e0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180009660
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x280
pop rdi
ret
Function at 0x18019b03c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18019aedc
call fcn.180188bfc
mov dword [rax], 0x16
call fcn.180182c1c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18019aec4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x18019aec4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18019af0e
lock or dword [rax + 0x14], 0x10
jmp 0x18019aec4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18019af2b
mov rcx, qword [rbp + 0x10]
call fcn.1801a5a58
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180198b54
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.18019a914
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18019af82
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x18019aec4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18019afee
mov rcx, qword [rbp + 0x10]
call fcn.180198b54
cmp eax, 0xffffffff
je 0x18019afd5
mov rcx, qword [rbp + 0x10]
call fcn.180198b54
cmp eax, 0xfffffffe
je 0x18019afd5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180198b54
movsxd rdi, eax
lea rsi, [0x18026ec10]
mov rcx, rbx
sar rdi, 6
call fcn.180198b54
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x18019afdc
lea rax, [0x180267410]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18019afee
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18019b024
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x18019b020
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x18019b020
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x18019aec7
jmp 0x18019ae94
Function at 0x1801a8430
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x450
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x460]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x1801a8489
xor al, al
jmp 0x1801a84db
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1801a84b4
cmp qword [rsp + 0x20], 0
je 0x1801a84b0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x1801a84db
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x468]
call fcn.180009610
cmp qword [rsp + 0x20], 0
je 0x1801a84d9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x450
pop rdi
ret