joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400187b0
Capabilities:
Acquire debug privileges

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov rax, qword [0x14004a0c0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov qword [r11 - 0x28], 0
xorps xmm0, xmm0
movups xmmword [r11 - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0xc0]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140018890
lea r8, [rsp + 0xcc]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400188b2
mov dword [rsp + 0xc8], 1
mov dword [rsp + 0xd4], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0xc8]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400188d4
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140034f90
add rsp, 0xe8
ret
lea rdx, str.OpenProcessToken_issues
lea rcx, [rsp + 0x38]
call fcn.140005af0
lea rdx, [0x140046f18]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.LookupPrivilegeValue_issues
lea rcx, [rsp + 0x50]
call fcn.140005af0
lea rdx, [0x140046f18]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.140006450
nop
mov r8, rax
lea rdx, str.AdjustTokenPrivileges_issues
lea rcx, [rsp + 0xa0]
call fcn.14001e2c0
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140005a80
lea rdx, [0x140046f18]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x14001bca0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14001bcd4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001bcc0
ret
Function at 0x14001c470
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10d, dword [0x1400517b0]
lea r11, [0x1400517b0]
mov r9d, 0x270
cmp r10d, r9d
jne 0x14001c4d5
lea r8, [0x1400517b8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14001c490
mov r10d, dword [0x1400517b0]
jmp 0x14001c5af
cmp r10d, 0x4e0
jb 0x14001c5af
xor r10d, r10d
mov r8d, 0x38c
mov r9d, r10d
nop
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + r11 + 0xff8]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, r8
jb 0x14001c4f0
mov eax, dword [r8 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r8 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + r11 - 0x388]
xor ecx, edx
mov dword [r8 + r11 + 4], ecx
add r8, 4
cmp r8, 0x9bc
jb 0x14001c530
mov edx, dword [0x140052b30]
xor edx, dword [0x1400517b4]
btr edx, 0x1f
mov dword [0x1400517b0], r10d
xor edx, dword [0x140052b30]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x140051de4]
mov dword [0x140052170], ecx
mov eax, r10d
mov ecx, dword [r11 + rax*4 + 4]
inc eax
mov dword [0x1400517b0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x140052b34]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x14001c7b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov r14, r8
mov r15, rdx
mov rbp, rcx
cmp rdx, r8
je 0x14001c8c3
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jbe 0x14001c812
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x14001c844
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x14001c830
mov r12, qword [rbp + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12]
mov r13, qword [r12 + 8]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.1400047b0
mov edx, 0x50
mov rcx, rdi
call fcn.140035304
dec qword [rbp + 0x10]
cmp rdi, r13
je 0x14001c8d0
cmp rbx, r14
jne 0x14001c860
cmp qword [rsp + 0x30], r15
jne 0x14001c898
mov qword [r12], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov r13, qword [rsp + 0x28]
cmp qword [rsp + 0x30], r15
jne 0x14001c8e5
mov qword [r12], r13
mov rax, r13
jmp 0x14001c8ea
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, r14
je 0x14001c898
nop dword [rax]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x14001c912
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x14001c949
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x14001c930
mov r13, qword [rsp + 0x28]
mov r12, qword [rbp + 0x30]
and r12, rcx
shl r12, 4
add r12, qword [rsp + 0x38]
mov r15, qword [r12 + 8]
nop
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.1400047b0
mov edx, 0x50
mov rcx, rdi
call fcn.140035304
dec qword [rbp + 0x10]
cmp rdi, r15
je 0x14001c992
cmp rbx, r14
jne 0x14001c960
jmp 0x14001c894
mov qword [r12], r13
mov qword [r12 + 8], r13
cmp rbx, r14
jne 0x14001c900
jmp 0x14001c898
Function at 0x140027fb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004a0c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.140034fb0
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14002e1e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140028029
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140034f90
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400281c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
sar rdi, 2
test rdi, rdi
je 0x1400283a3
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x140052b40]
sub rbx, qword [0x140052b38]
mov qword [rsp + 0x50], r13
sar rbx, 2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x140028213
mov eax, ntohs
jmp 0x140028241
cmp rdi, 0x44
jb 0x140028220
mov eax, 7
jmp 0x140028241
cmp rdi, 0x27
jb 0x14002822d
mov eax, 5
jmp 0x140028241
cmp rdi, 7
jb 0x14002823a
mov eax, 3
jmp 0x140028241
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x14002825a
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x48], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x14002830d
nop
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400282cd
mov rax, rbx
jmp 0x1400282e5
cmp rcx, rbx
ja 0x1400282e2
mov rax, qword [0x140052b38]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x1400282e5
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x140028280
add r15, rdi
cmp rcx, r15
jae 0x14002838a
inc r14
lea rbp, [rcx - 1]
inc r13
nop
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, dword [rsi + r9*4]
add ecx, r10d
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x140028320
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14002c8d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002c995
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002c995
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002c9ae
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14002c985
cmp byte [rcx], 0x5c
jne 0x14002c97e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14002c97e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002c96c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14002c97b
test r8b, 0x10
jne 0x14002c97e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14002c97e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140027920
test edi, edi
jne 0x14002c8f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140027910
int3

Function at 0x140030c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14004a0c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1400510e0]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140030c58
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x140030c4c
mov rax, qword [rax + 0x10]
jmp 0x140030c52
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140030c40
cmp byte [rcx + 0x19], 0
jne 0x140030d34
cmp dword [rcx + 0x20], 4
jg 0x140030d34
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140030c81
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x140030cb3
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x140030ca0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400283b0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140030cee
cmp rcx, qword [rbx + 8]
je 0x140030cee
cmp qword [rbx + 0x10], 1
jne 0x140030cf2
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140034f90
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x140030cd8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140030d60
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.14001e250
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140005a10
lea rdx, [0x140047048]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400342a4
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 0x1400342de
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400342e3
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 0x14003432c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14003ac90]
cmp byte [rcx + rax], 0
je 0x14003432c
dec r8
sub rdx, 1
jne 0x140034312
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140035dbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140035e06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140035e06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140035e06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140035e06
cmp dword [rcx + 0x84], 0xe
jbe 0x140035e06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140035e08
xor al, al
add rsp, 0x28
ret

Function at 0x140001990
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019dc
xor al, al
add rsp, 0x28
ret
Function at 0x140c2c210
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c2c397
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c2c241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c2c227
add dl, dl
jne 0x140c2c24e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c2c2ae
xor eax, eax
add dl, dl
jne 0x140c2c25d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c2c365
add dl, dl
jne 0x140c2c26e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c2c27b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c2c288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c2c295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c2c2a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c2c236
mov eax, 1
add dl, dl
jne 0x140c2c2be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c2c2cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c2c2b3
sub eax, ebx
mov ebx, 1
jne 0x140c2c304
mov ecx, 1
add dl, dl
jne 0x140c2c2e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c2c2f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c2c2db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c2c236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c2c320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c2c32d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c2c315
cmp eax, 0x7d00
jae 0x140c2c353
cmp eax, 0x500
jb 0x140c2c34e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c2c236
cmp eax, 0x7f
ja 0x140c2c356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c2c236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c2c38a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c2c236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140014370
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x5068
call fcn.14004ce60
sub rsp, rax
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rsp + 0x5050], rax
mov r10, r9
mov r11, r8
mov r8, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov rsi, qword [rsp + 0x50b0]
xor ebp, ebp
mov dword [rsp + 0x30], ebp
lea rcx, vtable.CVolObject.0
mov qword [rbx], rcx
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
lea rax, vtable.CWString.0
mov qword [rbx], rax
lea rdi, [rbx + 0x20]
mov qword [rsp + 0x40], rdi
mov qword [rdi], rcx
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
lea rax, vtable.CVolMem.0
mov qword [rdi], rax
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x28], rbp
mov qword [rdi + 0x20], rbp
mov qword [rdi + 0x30], 0x40
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x50], 0xfe
mov dword [rsp + 0x30], 1
mov r9, qword [rdx + 0x18]
mov eax, ebp
test r9, r9
je 0x140014429
cmp word [r9], bp
sete al
jmp 0x140014431
cmp qword [rdx + 0x48], 2
setle al
test eax, eax
jne 0x140014584
mov rcx, qword [r11 + 0x18]
mov eax, ebp
test rcx, rcx
je 0x14001444c
cmp word [rcx], bp
sete al
jmp 0x140014454
cmp qword [r11 + 0x48], 2
setle al
test eax, eax
jne 0x140014584
mov rdx, qword [r10 + 0x18]
mov eax, ebp
test rdx, rdx
je 0x14001446f
cmp word [rdx], bp
sete al
jmp 0x140014477
cmp qword [r10 + 0x48], 2
setle al
test eax, eax
jne 0x140014584
mov word [rsp + 0x50], bp
test r9, r9
jne 0x14001449a
cmp qword [r8 + 0x48], r9
lea r9, [0x140059b98]
je 0x14001449a
mov r9, qword [r8 + 0x38]
mov r8, qword [rsi + 0x18]
test r8, r8
jne 0x1400144b4
cmp qword [rsi + 0x48], r8
lea r8, [0x140059b98]
je 0x1400144b4
mov r8, qword [rsi + 0x38]
test rdx, rdx
jne 0x1400144ca
cmp qword [r10 + 0x48], rdx
lea rdx, [0x140059b98]
je 0x1400144ca
mov rdx, qword [r10 + 0x38]
test rcx, rcx
jne 0x1400144e0
cmp qword [r11 + 0x48], rcx
lea rcx, [0x140059b98]
je 0x1400144e0
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], 0x2800
lea r9, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x140014511
cmp qword [rbx + 0x48], rax
je 0x14001451b
cmp qword [rdi + 0x28], rax
je 0x14001451b
mov rax, qword [rdi + 0x18]
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x140014584
mov qword [rbx + 0x18], rbp
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x140014531
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x28], rbp
mov qword [rdi + 0x20], rbp
cmp word [rsp + 0x50], 0
je 0x140014584
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140014551
lea rsi, [rax*2 + 2]
test rsi, rsi
jle 0x140014584
mov rdx, rsi
mov rcx, rdi
call fcn.1400268c0
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140038d10
mov rax, rbx
mov rcx, qword [rsp + 0x5050]
xor rcx, rsp
call fcn.140037060
add rsp, 0x5068
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001f6d0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rdx, qword [rcx + 0x18]
mov rdi, qword [rdx + 0x80]
mov rdi, qword [rdi]
test rdi, rdi
je 0x14001f7c3
call fcn.140001320
mov rcx, rax
test rax, rax
je 0x14001f7f9
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [rax + 1]
test ebp, ebp
js 0x14001f7ee
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ebp
or eax, ecx
jge 0x14001f75f
mov edx, ebp
lea rcx, [rsp + 0x50]
call fcn.140020950
mov rbx, qword [rsp + 0x50]
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x14001f77f
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14003ceec
test eax, eax
js 0x14001f7ee
cmp eax, dword [rbx - 0xc]
jg 0x14001f7ee
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
mov rdx, rbx
mov rcx, rsi
call fcn.14000bcc0
mov dword [rsp + 0x20], 1
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f7d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001f7d8
add rdx, 0x10
mov rcx, rsi
call fcn.14000cdf0
nop
mov dword [rsp + 0x20], 1
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.14001d6f0
nop
mov ecx, 0x80004005
call fcn.14001d6f0
int3
Function at 0x1400209b0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
test edi, edi
js 0x140020a4d
mov rdx, qword [rbx]
mov r8d, 1
mov eax, dword [rdx - 0xc]
sub r8d, dword [rdx - 8]
sub eax, edi
or r8d, eax
jge 0x1400209f9
mov edx, edi
mov rcx, rbx
call fcn.140020950
mov rdx, qword [rbx]
mov rcx, qword [rsi]
mov r8d, edi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor esi, esi
mov edi, eax
cmp eax, 0xffffffff
jne 0x140020a23
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140020a1a
mov eax, esi
jmp 0x140020a27
movsxd rdx, dword [rcx - 0xc]
call fcn.14003ceec
test eax, eax
js 0x140020a4d
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140020a4d
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov word [rax + rcx*2], si
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.14001d6f0
int3