joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800161a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800161cd
xor eax, eax
jmp 0x180016339
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180016207
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180016207
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180016339
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18001632c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18001624a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180016275
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180016331
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800162e4
sub eax, 1
je 0x1800162e4
cmp eax, 2
jne 0x18001632c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x180016331
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180016312
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18001632c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180016331
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18001c770
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1800167c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180028040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180016893
cmp byte [rcx + 0x71], 0
je 0x180016893
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001688f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180016854
sub eax, 1
je 0x180016858
cmp eax, 2
jne 0x18001688f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18001c770
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180016886
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18001688f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18001683c
xor al, al
jmp 0x18001683c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18001c770
add rsp, 0x60
pop rbx
ret

Function at 0x1800187a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800189c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800188a7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180018804
mov rax, qword [0x180028008]
cmp qword [rsp + 0x20], rax
ja 0x180018804
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800187c6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180018833
jmp 0x1800188a7
cmp dword [rsp + 0x50], 0x10000
jne 0x18001888a
cmp qword [rsp + 0x48], 0x10000
jb 0x18001888a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180018878
mov rax, qword [rsp + 0x28]
jmp 0x1800188a9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800188a2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800189c0
mov qword [rsp + 0x20], rax
jmp 0x1800187c6
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800188b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180018a00
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800189b3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18001890b
mov rax, qword [0x180028008]
cmp qword [rsp + 0x20], rax
ja 0x18001890b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800188cd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18001893a
jmp 0x1800189b3
cmp dword [rsp + 0x50], 0x10000
jne 0x180018991
cmp qword [rsp + 0x48], 0x10000
jb 0x180018991
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18001897f
mov rax, qword [rsp + 0x28]
jmp 0x1800189b5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800189ae
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180018a00
mov qword [rsp + 0x20], rax
jmp 0x1800188cd
xor eax, eax
add rsp, 0x68
ret
Function at 0x18001bfe0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18001c01a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18001c01f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18001c068
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18001f850]
cmp byte [rcx + rax], 0
je 0x18001c068
dec r8
sub rdx, 1
jne 0x18001c04e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180002080
Capabilities:
Read .ini file

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, 0x260
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x278]
call fcn.180007590
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180012790
add rsp, 0x260
pop rdi
ret

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

Disassembly:
push rdi
sub rsp, 0x260
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov eax, 2
imul rax, rax, 0
lea rcx, [0x180059590]
movzx eax, word [rcx + rax]
test eax, eax
je 0x1800022ff
lea rax, [0x180059590]
jmp 0x1800023f8
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x18000232e
xor eax, eax
jmp 0x1800023f8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
inc qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
cmp word [rax + rcx*2], 0
jne 0x180002341
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jbe 0x1800023f6
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x40]
cmp eax, 0x5c
je 0x180002387
mov eax, dword [rsp + 0x20]
movzx eax, word [rsp + rax*2 + 0x40]
cmp eax, 0x2f
jne 0x1800023e7
mov eax, dword [rsp + 0x20]
add eax, 0x11
cmp eax, 0x104
jae 0x1800023e7
mov eax, 0x104
sub eax, dword [rsp + 0x20]
mov eax, eax
mov ecx, dword [rsp + 0x20]
lea rcx, [rsp + rcx*2 + 0x40]
lea r8, str._reslanguage.ini
mov edx, eax
call fcn.1800256e8
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800023e7
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [0x180059590]
call fcn.1800256e8
lea rax, [0x180059590]
jmp 0x1800023f8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
jmp 0x180002360
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180012790
add rsp, 0x260
pop rdi
ret
Function at 0x18000cbd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x34], 0x104
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x18004f810]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000cc6b
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Language
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180007740
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
call fcn.180010d60
lea rcx, [rsp + 0x48]
call fcn.180007710
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180012790
add rsp, 0x190
pop rdi
ret

Function at 0x18000d1e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x60]
call fcn.180007630
nop
lea rdx, str.TbConfig.ini
lea rcx, [rsp + 0x40]
call fcn.18000cf20
nop
lea rcx, [rsp + 0x40]
call fcn.180007310
movzx eax, al
test eax, eax
je 0x18000d245
lea rcx, [rsp + 0x40]
call fcn.180007470
nop
jmp 0x18000d2e3
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1800073c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0xa0]
lea r8, [0x18004d7c4]
lea rdx, str.OemName
lea rcx, str.Product
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.180007590
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1800074a0
lea rcx, [rsp + 0x80]
call fcn.180007470
nop
lea rcx, [rsp + 0x40]
call fcn.180007470
nop
xor eax, eax
test eax, eax
jne 0x18000d212
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x1c0]
call fcn.180007520
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.180007470
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180012790
add rsp, 0x1b0
pop rdi
ret
Function at 0x18000d330
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x20], 1
lea rdx, str..._resUIConfig.ini
lea rcx, [rsp + 0x28]
call fcn.18000cf20
nop
lea rcx, [rsp + 0x28]
call fcn.180007310
movzx eax, al
test eax, eax
je 0x18000d378
lea rcx, [rsp + 0x28]
call fcn.180007470
nop
jmp 0x18000d3d0
lea rcx, [rsp + 0x28]
call fcn.1800073c0
mov r9, rax
xor r8d, r8d
lea rdx, str.VersionType
lea rcx, str.Info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x18000d3aa
mov dword [rsp + 0x24], 1
jmp 0x18000d3b2
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x28]
call fcn.180007470
nop
xor eax, eax
test eax, eax
jne 0x18000d348
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180012790
add rsp, 0x58
ret
Function at 0x1800122a0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x478
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x4d8]
xor edi, edi
mov r14, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
test rax, rax
je 0x1800122e7
mov qword [rsp + 0x28], rax
jmp 0x18001248e
cmp di, word [0x1800599b0]
lea r15, [0x1800599b0]
jne 0x18001247d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.18003bde0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x180012371
call fcn.180009690
mov rsi, rax
test rax, rax
je 0x18001236a
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea r9, str.Boot:_S__d_failed:_08X_n
mov dword [rsp + 0x28], 0xbf
mov edx, 1
lea rax, str.D:TBNetVS2022_PrimitiveBackupUtilitymod.IniFileIniFile.cpp
mov r8d, 0x55
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [rbx + 0x30]
mov eax, edi
jmp 0x18001249f
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.18000cb10
test rax, rax
je 0x180012388
mov word [rax], di
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.18003bde0
lea r8, [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.1800256e8
lea r8, [0x18004f980]
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.180025750
lea r8, str..._res_language.ini
mov edx, 0x104
lea rcx, [rsp + 0x250]
call fcn.180025750
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180012410
lea r8, [0x18004fa48]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.180025750
nop
movzx eax, word [rsp + rdi + 0x40]
mov word [rdi + r15], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x180012410
lea rcx, [r15 - 2]
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x180012430
mov eax, dword [0x18004f980]
mov dword [rcx], eax
lea rax, [r15 - 2]
nop word [rax + rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x180012450
movups xmm0, xmmword [str..._res_language.ini]
movups xmm1, xmmword [0x18004fa30]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18004fa40]
movups xmmword [rax + 0x10], xmm1
movsd qword [rax + 0x20], xmm0
mov qword [rsp + 0x28], r15
mov r9, r14
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
mov eax, dword [rsp + 0x4d0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180012790
add rsp, 0x478
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180013030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
Function at 0x180013044
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
xor eax, eax
mov dword [rsp + 0x20], 0x2b3f5f54
mov dword [rsp + 0x24], 0x5e6d3c35
mov dword [rsp + 0x28], 0x5e5e4876
mov dword [rsp + 0x2c], 0x6d676f75
mov dword [rsp + 0x30], 0x564c694e
mov word [rsp + 0x58], ax
mov dword [rsp + 0x34], 0x4528746f
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x40], 0x65006b
mov dword [rsp + 0x44], 0x6e0072
mov dword [rsp + 0x48], 0x6c0065
mov dword [rsp + 0x4c], 0x320033
mov dword [rsp + 0x50], 0x64002e
mov dword [rsp + 0x54], 0x6c006c
mov edx, 0x3d0924
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbp - 0x80]
nop dword [rax]
nop dword [rax + rax]
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, 0x72
jb 0x1800130e0
mov eax, 0
dec rdx
jne 0x1800130d0
cmp byte [rbp - 0x3f], 0x41
jne 0x18001310c
lea rcx, [rsp + 0x40]
call fcn.180013720
mov rbx, rax
jmp 0x180013110
mov rbx, qword [rbp + 0x58]
mov edx, 0xec122
mov rcx, rbx

Function at 0x180013780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov ebx, edx
mov r9d, dword [rax + rcx + 0x88]
mov r11, rcx
add r9, rcx
mov r10d, dword [r9 + 0x20]
mov edi, dword [r9 + 0x1c]
mov esi, dword [r9 + 0x24]
mov r9d, dword [r9 + 0x18]
add r10, rcx
add rdi, rcx
add rsi, rcx
test r9d, r9d
je 0x1800137df
mov ecx, dword [r10]
add rcx, r11
call fcn.1800136f0
cmp eax, ebx
je 0x1800137f1
inc r8d
add r10, 4
cmp r8d, r9d
jb 0x1800137c4
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx ecx, word [rsi + r8*2]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, dword [rdi + rcx*4]
invalid
Function at 0x180017410
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x30], 0
mov rbp, rdx
mov rdi, rcx
je 0x180017429
call fcn.1800181e0
lea rcx, [rdi + 0x10]
xor r8d, r8d
xor edx, edx
call fcn.180007680
mov rbx, qword [rdi]
mov rdx, rdi
mov rcx, rdi
mov r8, qword [rbx + 8]
call fcn.1800141b0
mov qword [rbx + 8], rbx
lea rdx, [0x18003f898]
mov qword [rbx], rbx
mov rcx, rbp
mov qword [rbx + 0x10], rbx
mov qword [rdi + 8], 0
mov byte [rdi + 0x30], 0
call fcn.180023cb8
mov rbx, rax
test rax, rax
jne 0x18001747f
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x50], rsi
xor edx, edx
mov qword [rsp + 0x58], r12
mov r8d, 2
mov qword [rsp + 0x60], r13
mov rcx, rbx
mov qword [rsp + 0x28], r14
call fcn.180024f7c
mov rcx, rbx
call fcn.1800242ec
movsxd r13, eax
test eax, eax
js 0x18001758a
lea rcx, [r13 + 1]
mov rsi, r13
call fcn.1800127f4
mov r12, rax
test rax, rax
je 0x18001758a
lea r8, [r13 + 1]
mov qword [rsp + 0x20], r15
xor edx, edx
mov rcx, rax
call fcn.18003bde0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov r14, r12
call fcn.180024f7c
mov r9, rbx
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.1800245e4
mov r15, rax
cmp rax, r13
jae 0x18001753f
nop dword [rax]
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
sub rsi, rax
add r14, rax
call fcn.180024f7c
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800245e4
add r15, rax
cmp rax, rsi
jb 0x180017510
mov r8d, r13d
mov byte [r13 + r12], 0
mov rdx, r12
mov rcx, rdi
call fcn.1800175b0
mov r15, qword [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [r8 + rbp], 0
jne 0x180017560
mov rdx, rbp
lea rcx, [rdi + 0x10]
call fcn.180016b20
mov rcx, r12
call fcn.1800127b0
mov rcx, rbx
call fcn.18001eaf4
mov al, 1
jmp 0x180017594
mov rcx, rbx
call fcn.18001eaf4
xor al, al
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
Function at 0x180018b00
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x180018b24
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x180018bb2
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180018b80
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180018b80
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.18003c280
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180018b9d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180018ba5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x180018b41
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x180018c90
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x180018bc9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180018bcb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180018bfd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.18003c280
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180018c8d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180018c38
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x180018c6e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1800245e4
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x180018c8d
cmp rsi, rax
ja 0x180018c41
test rsi, rsi
je 0x180018c8d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800245e4
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret