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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400e0342
sub rsp, rax
mov rax, qword [0x14031e140]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140325fd0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14026a8b2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14026a806
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14026a806
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14026a7eb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14026a788
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14026a872
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14026a8d1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14026a8ad
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14026a8d1
jmp 0x14026a75e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400e22b4
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14026a980
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400e0342
sub rsp, rax
mov rax, qword [0x14031e140]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140325fd0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14026ab8d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14026aad9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14026aad9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14026aab9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14026aa48
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14026ab4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14026abac
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14026ab88
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14026abac
jmp 0x14026aa1e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400e22b4
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140005760
Capabilities:
Query or enumerate registry value

Disassembly:
test rcx, rcx
je 0x1400057b0
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
test rbx, rbx
je 0x1400057ab
lea rax, [r11 + 8]
mov dword [rsp + 0x50], 4
mov qword [r11 - 0x20], rax
lea r9, [r11 + 0x20]
lea rax, [r11 - 0x18]
xor r8d, r8d
mov qword [r11 - 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400057ab
cmp dword [rsp + 0x68], 4
jne 0x1400057ab
mov eax, dword [rsp + 0x30]
mov dword [rbx], eax
add rsp, 0x40
pop rbx
ret

Function at 0x1400057b4
Capabilities:
Query or enumerate registry value

Disassembly:
test rcx, rcx
je 0x140005886
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
lea rax, [r11 + 8]
mov r15, r8
xor ebx, ebx
mov qword [r11 - 0x30], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x38], rbx
xor r8d, r8d
mov dword [rsp + 0x60], ebx
mov r14, rdx
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005876
cmp dword [rsp + 0x78], 1
jne 0x140005876
mov ecx, dword [rsp + 0x60]
lea eax, [rbx + 2]
shr ecx, 1
lea rsi, [rbx - 1]
inc ecx
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140014718
mov rdi, rax
test rax, rax
je 0x140005876
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000586e
cmp word [rdi], bx
je 0x140005860
inc rsi
cmp word [rdi + rsi*2], bx
jne 0x140005854
mov rbx, rsi
mov r8, rbx
mov rdx, rdi
mov rcx, r15
call fcn.140003400
mov rcx, rdi
call fcn.140014190
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000852c
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14005d098]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, rdx
mov rbp, rcx
xor r14d, r14d
cmp dword [rcx + 0x358], r14d
jle 0x14000864b
cmp rdx, 0xffffffffffffffff
je 0x14000864b
lea rdx, str.____Queued_Lines_End_____r_n
lea rcx, [r11 - 0x58]
call fcn.140002f60
nop
lea rsi, [rbp + 0x338]
mov rdx, rax
mov rcx, rsi
call fcn.14000a284
nop
lea rcx, [rsp + 0x40]
call fcn.140003bf0
jmp 0x14000863d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14000b014
mov rdx, rax
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400085c4
xor eax, eax
jmp 0x1400085c7
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
dec rcx
and rcx, qword [rdx + 0x10]
mov rax, qword [rax + 8]
mov rbx, qword [rax + rcx*8]
mov rcx, rbx
call fcn.140003600
mov rdx, qword [rax]
lea edi, [rdx + rdx]
mov rcx, rbx
call fcn.140003a60
mov rdx, rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140008613
add r14d, dword [rsp + 0x30]
mov rax, qword [rsi + 0x10]
dec rax
and rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + rax*8]
call fcn.140003270
sub qword [rsi + 0x20], 1
jne 0x140008639
and qword [rsi + 0x18], 0
jmp 0x14000863d
inc qword [rsi + 0x18]
cmp qword [rbp + 0x358], 0
ja 0x1400085a8
mov eax, r14d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013b90
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400091a8
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14005d098]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r9d
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rsp + 0xb0]
lea rcx, [rsp + 0x38]
call fcn.140002fb0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, edi
mov edx, dword [rbp + 0x10]
mov rcx, rsi
call fcn.140008d00
bt edi, 0x1b
jb 0x140009214
test dword [rbp + 0x10], 0x80000
je 0x140009271
lea rcx, [rsp + 0x38]
call fcn.140003a60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x140009242
mov rax, qword [rax + 0x18]
test rax, rax
je 0x140009242
lea rcx, [rax + 0x30]
jmp 0x14000924d
mov rcx, qword [rsi + 0xe0]
add rcx, 0x28
call fcn.140003a60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14004f428]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140009285
add rcx, 8
call fcn.140003a60
jmp 0x14000928c
lea rax, [0x14004e52c]
mov rcx, rax
call fcn.14001aa50
test rax, rax
jne 0x1400092a2
cmp qword [rsi + 0x360], rax
je 0x1400092bd
lea rcx, [rsp + 0x38]
call fcn.140003a60
mov r8, rax
mov r9, r14
mov rdx, rbp
mov rcx, rsi
call fcn.140008670
test dword [rbp + 0x10], 0x10000000
je 0x1400092d4
lea rcx, [rsi + 0xb8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rcx, [rsp + 0x38]
call fcn.140003bf0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140013b90
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400092f8
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x840
mov rax, qword [0x14005d098]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rsi, rcx
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x140009390
lea r9, [rsp + 0x20]
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x140009387
test dword [rsp + 0x20], 0xfffffff8
jbe 0x140009387
mov ecx, ebx
lea rdx, [rsi + 0x110]
mov r8d, 0x104
mov rcx, qword [rsp + rcx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [rsp + 0x20]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x140009360
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140013b90
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000d4ac
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x2c8]
sub rsp, 0x3b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14005d098]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
and dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0x29
lea r9, str.NGUtils::CFileUtils::EnumerateFiles
lea r8, [0x140060830]
mov rdx, qword [0x140060c10]
lea rcx, [rbp - 0x50]
call fcn.140004d78
nop
mov rcx, rdi
call fcn.140002f50
test al, al
jne 0x14000d699
mov rcx, rbx
call fcn.140002f50
mov rdx, rdi
test al, al
je 0x14000d543
lea rcx, [rbp - 0x70]
call fcn.140003240
nop
mov ebx, 1
jmp 0x14000d556
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14000cc9c
nop
mov ebx, 2
mov dword [rsp + 0x40], ebx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000bdbc
nop
test bl, 2
je 0x14000d57f
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x50]
call fcn.140003bf0
nop
test bl, 1
je 0x14000d594
and ebx, 0xfffffffe
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x70]
call fcn.140003bf0
lea rcx, [rsp + 0x70]
call fcn.140003a60
mov qword [rsp + 0x20], rax
lea r9, str.Searching_for__s
mov edx, 0x10
lea r8d, [rdx + 0x25]
lea rcx, [rbp - 0x50]
call fcn.1400050f4
lea rcx, [rsp + 0x70]
call fcn.140003a60
mov rcx, rax
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000d665
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
lea r9, str.Found_a_file__s
mov edx, 0x10
lea r8d, [rdx + 0x2b]
lea rcx, [rbp - 0x50]
call fcn.1400050f4
test byte [rbp + 0x50], 0x10
jne 0x14000d649
lea rdx, [rbp + 0x7c]
lea rcx, [rsp + 0x50]
call fcn.140002f60
nop
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14000cc9c
nop
mov rdx, rax
mov rcx, rsi
call fcn.14000d6c4
nop
lea rcx, [rbp - 0x70]
call fcn.140003bf0
nop
lea rcx, [rsp + 0x50]
call fcn.140003bf0
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000d602
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14000d68e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
or dword [rsp + 0x20], 0xffffffff
lea r9, str.No_files_found__fileHandle___d__GetLastError___d
mov edx, 0x10
lea r8d, [rdx + 0x39]
lea rcx, [rbp - 0x50]
call fcn.1400050f4
nop
lea rcx, [rsp + 0x70]
call fcn.140003bf0
nop
lea rcx, [rbp - 0x50]
call fcn.140004e20
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140013b90
mov rbx, qword [rsp + 0x3e8]
add rsp, 0x3b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ee2c
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, r9
mov ebp, ebx
mov edi, ebx
or rsi, 0xffffffffffffffff
mov r12, r8
mov r13, rdx
mov r14, rcx
jmp 0x14000ee69
mov r14, qword [rsp + 0x60]
add ebp, 0x200
test rdi, rdi
je 0x14000ee7c
mov rcx, rdi
call fcn.140014190
mov ecx, ebp
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140014718
mov rdi, rax
test rax, rax
je 0x14000eeff
lea rcx, [r14 + 8]
mov word [rax], bx
call fcn.140003a60
mov qword [rsp + 0x28], rax
lea r8, [0x14004e52c]
mov r9, rdi
mov dword [rsp + 0x20], ebp
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r14d, eax
lea eax, [rbp - 1]
cmp r14d, eax
jae 0x14000ee64
cmp word [rdi], bx
jne 0x14000eeda
mov rsi, rbx
jmp 0x14000eee3
inc rsi
cmp word [rdi + rsi*2], bx
jne 0x14000eeda
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.140003400
mov rcx, rdi
call fcn.140014190
test r14d, r14d
setne al
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000ef1c
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14005d098]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, r9
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], rdx
mov r13, rcx
xor edi, edi
mov r14d, edi
mov esi, edi
add r14d, 0x200
test rsi, rsi
je 0x14000ef74
mov rcx, rsi
call fcn.140014190
mov ecx, r14d
call fcn.140014718
mov rsi, rax
test rax, rax
je 0x14000f07c
mov byte [rax], dil
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea rcx, [r13 + 8]
call fcn.140002fe0
cmp qword [rax + 0x18], 8
jb 0x14000efb8
mov rcx, qword [rax]
jmp 0x14000efbb
mov rcx, rax
mov rax, qword [rax + 0x10]
lea rbx, [rcx + rax*2]
lea rcx, [r13 + 8]
call fcn.140002fe0
cmp qword [rax + 0x18], 8
jb 0x14000efd6
mov rax, qword [rax]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14000f8f0
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8, [0x14004f088]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebx, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14000f033
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 0x28]
call fcn.140003a70
mov qword [rbp - 0x10], 0xf
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
lea eax, [r14 - 1]
cmp ebx, eax
jae 0x14000ef60
cmp byte [rsi], dil
jne 0x14000f059
mov rax, rdi
jmp 0x14000f061
mov rcx, rsi
call fcn.14001ac40
mov r8, rax
mov rdx, rsi
mov rcx, r12
call fcn.14000a9cc
mov rcx, rsi
call fcn.140014190
test ebx, ebx
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013b90
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400107c4
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push r14
sub rsp, 0x30
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov r14, rdx
mov rbx, rcx
lea rax, vtable.NGUtils::AFileVersionInfo.0
mov qword [rcx], rax
lea rax, vtable.NGUtils::CFileVersionInfo.0
mov qword [rcx], rax
and dword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
and qword [rcx + 8], 0
test rdx, rdx
je 0x1400108ba
and dword [rsp + 0x60], 0
lea rdx, [r11 + 0x18]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
mov dword [rsp + 0x68], esi
test eax, eax
je 0x1400108ba
mov ecx, esi
call fcn.140014718
mov qword [rbx + 0x18], rax
jmp 0x140010850
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x1400108ba
mov r8d, esi
mov edx, dword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400108ba
and dword [rsp + 0x58], 0
and dword [rsp + 0x68], 0
lea r8, [rbx + 0x20]
lea r9, [rsp + 0x58]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14001089f
mov eax, dword [rsp + 0x58]
shr eax, 2
mov dword [rbx + 0x10], eax
lea r8, [rbx + 8]
lea r9, [rsp + 0x68]
lea rdx, [0x14004f394]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop
mov rax, rbx
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14002dca0
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
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14002db06
call fcn.1400225b0
mov dword [rax], 0x16
call fcn.14001a840
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002dae8
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14002dae8
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x14002db38
lock or dword [rax + 0x14], 0x10
jmp 0x14002dae8
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14002db55
mov rcx, qword [rbp + 0x20]
call fcn.14002e08c
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14002db6a
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x14002db70
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14002b268
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.140036028
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x14002dbc3
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14002dae8
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14002dc2f
mov rcx, qword [rbp + 0x20]
call fcn.14002b268
cmp eax, 0xffffffff
je 0x14002dc16
mov rcx, qword [rbp + 0x20]
call fcn.14002b268
cmp eax, 0xfffffffe
je 0x14002dc16
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14002b268
movsxd rdi, eax
lea r15, [0x14005fc30]
mov rcx, rbx
sar rdi, 6
call fcn.14002b268
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14002dc1d
lea rax, [0x14005d2d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14002dc2f
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x14002dc65
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14002dc61
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14002dc61
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14002dc83
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14002dc8e
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14002daed
jmp 0x14002dab4