joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401055b0
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401419b0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x14051411a]
call fcn.140105b5a
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140317160]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x140141a2f
mov dword [rbp + 0x120], 1
jmp 0x140141a39
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x140141a82
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1401419fa
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1401058ee
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
jmp 0x1402ebba0
push rdi
sub rsp, 0x30
mov rcx, qword [0x1404f8798]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1402ebbcf
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.1401026da
xor eax, eax
jmp 0x1402ebc6b
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1402ebc02
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.1401026da
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x1402ebc6b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1402ebc35
lea rdx, str.Win32:_Failed_to_lock_global_handle
mov ecx, 0x10008
call fcn.1401026da
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x1402ebc6b
mov rcx, qword [0x1404f87b0]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rsp + 0x28]
call fcn.140103297
mov qword [0x1404f87b0], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x1404f87b0]
add rsp, 0x30
pop rdi
ret

Function at 0x14010595c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1402fa3d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1402fa400
mov r8d, 0x29
lea rdx, [0x1404de270]
lea rcx, str.tls__win32.allocated__GLFW_FALSE
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0xffffffff
jne 0x1402fa42e
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1401026da
xor eax, eax
jmp 0x1402fa43e
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1402ee740
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x30], rax
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1402ee7b8
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1401026da
mov rcx, rsp
lea rdx, [0x14038b840]
call fcn.140104e53
add rsp, 0x50
pop rdi
ret

Function at 0x1402ee7e0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], 0
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1402ee850
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1401026da
mov rcx, rsp
lea rdx, [0x14038b890]
call fcn.140104e53
add rsp, 0x50
pop rdi
ret

Function at 0x1402eed90
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402eedbe
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402eedde
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1402eedfe
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov dword [rsp + 0x24], eax
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
and eax, 0x8000
test eax, eax
je 0x1402eee36
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x1402eee54
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x1402eee72
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x1400014d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov esi, edx
xor edx, edx
mov r8d, dword [rax + rcx + 0x88]
mov r9, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x1c]
mov ebx, dword [r8 + 0x24]
mov edi, dword [r8 + 0x18]
add r10, rcx
add r11, rcx
add rbx, rcx
test edi, edi
je 0x140001541
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
jmp 0x14000152c
movzx eax, al
inc rcx
or eax, 0x60
add r8d, eax
add r8d, r8d
mov al, byte [rcx]
test al, al
jne 0x14000151d
cmp r8d, esi
je 0x140001553
inc edx
add r10, 4
cmp edx, edi
jb 0x140001512
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rbx + rdx*2]
mov eax, dword [r11 + rcx*4]
add rax, r9
jmp 0x140001543
Function at 0x140009fa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x680
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rbx, rcx
test rcx, rcx
je 0x14000a08c
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x14000a08c
cmp edi, 0x104
jne 0x140009fff
cmp eax, 0x7a
je 0x14000a08c
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.140018dd4
xor edi, edi
test rax, rax
je 0x14000a019
mov word [rax + 2], di
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_scanner.exe
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a08c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x250]
mov dword [rsp + 0x38], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14017f880]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000a0af
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140016d70
mov rbx, qword [rsp + 0x698]
add rsp, 0x680
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x40]
mov word [rsp + 0x456], di
lea rcx, [rsp + 0x250]
call fcn.14001d3f4
test eax, eax
jne 0x14000a11b
lea rdx, [rsp + 0x40]
mov ecx, 0x400
sub rdx, rbx
lea rax, [rcx + 0x7ffffbfe]
test rax, rax
je 0x14000a102
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14000a102
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14000a0e0
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], di
jne 0x14000a1a6
jmp 0x14000a08c
mov r8d, 0x104
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x103
ja 0x14000a08c
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x250]
call fcn.14001d3f4
mov ecx, 0x400
test eax, eax
jne 0x14000a1ad
lea rdx, [rsp + 0x460]
sub rdx, rbx
nop word [rax + rax]
lea rax, [rcx + 0x7ffffbfe]
test rax, rax
je 0x14000a192
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14000a192
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14000a170
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], di
je 0x14000a08c
mov al, 1
jmp 0x14000a08e
lea rdx, [rsp + 0x250]
sub rdx, rbx
nop dword [rax + rax]
lea rax, [rcx + 0x7ffffbfe]
test rax, rax
je 0x14000a1e2
movzx eax, word [rdx + rbx]
test ax, ax
je 0x14000a1e2
mov word [rbx], ax
add rbx, 2
sub rcx, 1
jne 0x14000a1c0
test rcx, rcx
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], di
je 0x14000a08c
mov al, 1
jmp 0x14000a08e
Function at 0x14000a500
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor edi, edi
mov byte [rsp + 0x40], 0
xor edx, edx
mov qword [0x1401fcf70], rdi
mov r8d, 0x104
mov byte [0x1401fd6b8], dil
lea rcx, [0x1401fd0a0]
call fcn.140019870
lea rsi, [0x1401fcf78]
xor edx, edx
mov rcx, rsi
mov r8d, 0x104
call fcn.140019870
xor edx, edx
lea rcx, [0x1401fd3ac]
mov r8d, 0x104
call fcn.140019870
xor edx, edx
lea rcx, [0x1401fd4b0]
mov r8d, 0x104
call fcn.140019870
xor edx, edx
lea rcx, [0x1401fd6b9]
mov r8d, 0x401
call fcn.140019870
xor edx, edx
lea rcx, [0x1401fe2ba]
mov r8d, 0x104
call fcn.140019870
xor edx, edx
lea rcx, [0x1401fe4c2]
mov r8d, 0x400
call fcn.140019870
lea rdx, [0x1401fd0a0]
call fcn.14000b1c0
test al, al
jne 0x14000a5e5
lea rcx, str.CQHInfraLogger_:_GetProcessName_Failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rbx, [0x1401fd6ba]
mov r8, rbx
lea rdx, [0x1401fd0a0]
call fcn.14000b4a0
test al, al
jne 0x14000a60c
lea rcx, str.CQHInfraLogger_:_GetLogFilePath_Failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rsp + 0x38], rdi
lea r8, str.upgrade.exe
mov qword [rsp + 0x30], rdi
mov r9d, 0xb
mov dword [rsp + 0x28], 0x104
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.14000ab40
test al, al
jne 0x14000a669
lea rcx, str.SetLogConfig_:_ReadLogConfiguration_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1401fd6b8], dil
jmp 0x14000a73c
cmp byte [rsp + 0x40], dil
jne 0x14000a689
lea rcx, str.SetLogConfig_:_logs_are_disabled.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1401fd6b8], dil
jmp 0x14000a73c
lea rdx, str.upgrade.exe
lea rcx, [0x1401fd0a0]
call fcn.14001d3f4
test eax, eax
jne 0x14000a71d
call fcn.14000a770
test al, al
je 0x14000a726
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.140019870
lea rdx, [rsp + 0x80]
mov ecx, 1
call qword [0x1401fd080]
test eax, eax
je 0x14000a6de
lea rcx, str.SetLogConfig_:_Subscribe_failed
jmp 0x14000a6fd
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x6c], edi
call qword [0x1401fd090]
test eax, eax
jne 0x14000a712
lea rcx, str.SetLogConfig_:_SetConfigW_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.CQHInfraLogger_:_SetLogConfig_Failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000a73c
mov word [0x1401fd6b8], 0x101
jmp 0x14000a73c
call fcn.14000a770
test al, al
jne 0x14000a735
lea rcx, str.SetLogConfig_:_InitializeLoggerInterfaces_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000a73c
mov byte [0x1401fd6b8], 1
lea rax, [0x1401fcf70]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140016d70
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000a770
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x838
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x800
call fcn.140019870
lea rcx, str.InitializeLoggerInterfaces_:_Entry.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r8, [rsp + 0x20]
lea rdx, str.caiint.dll
call fcn.14000afe0
test al, al
jne 0x14000a7c9
lea rcx, str.InitializeLoggerInterfaces_:_GetGivenFilePath_failed.
jmp 0x14000a8b7
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [0x1401fcf70], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000a8b0
lea rdx, str.Subscribe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fd080], rax
test rax, rax
jne 0x14000a817
lea rcx, str.InitializeLoggerInterfaces_:_GetProcAddress_failed_Subscribe_function
jmp 0x14000a8b7
mov rcx, qword [0x1401fcf70]
lea rdx, str.SetConfigW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fd090], rax
test rax, rax
je 0x14000a8a7
mov rcx, qword [0x1401fcf70]
lea rdx, str.WriteLogW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fd098], rax
test rax, rax
je 0x14000a8a7
mov rcx, qword [0x1401fcf70]
lea rdx, str.UnSubscribe
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401fd088], rax
test rax, rax
jne 0x14000a880
lea rcx, str.InitializeLoggerInterfaces_:_GetProcAddress_failed_m_pfnUnSubscribe_function
jmp 0x14000a8b7
lea rcx, str.InitializeLoggerInterfaces_:_Exit
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov al, 1
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140016d70
add rsp, 0x838
ret
lea rcx, str.InitializeLoggerInterfaces_:_GetProcAddress_failed_SetConfigW_function
jmp 0x14000a8b7
lea rcx, str.InitializeLoggerInterfaces_:_LoadLibraryEx_failed.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140016d70
add rsp, 0x838
ret
Function at 0x14000a8e0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0xc60
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov r15, r8
mov esi, edx
mov r14, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x440]
mov r12, r9
call fcn.140019870
mov ebx, 0x400
lea rcx, [rsp + 0x40]
mov r8d, ebx
xor edx, edx
call fcn.140019870
cmp qword [rsp + 0xcb8], 0
jne 0x14000a953
lea rcx, str.WriteToLog_:_Invalid_Format
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14000ab1a
cmp byte [r14 + 0x748], 0
je 0x14000ab1a
mov qword [rsp + 0xc58], rdi
lea rdi, [rsp + 0xcc0]
call fcn.14000a200
mov r9, qword [rsp + 0xcb8]
lea rdx, [rsp + 0x440]
mov qword [rsp + 0x28], rdi
mov r8d, 0x3ff
xor edi, edi
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x20], rdi
call fcn.140028684
test eax, eax
mov ecx, 0xffffffff
cmovs eax, ecx
test eax, eax
js 0x14000a9c5
cmp eax, 0x3ff
ja 0x14000a9c5
jne 0x14000aa27
mov word [rsp + 0xc3e], di
jmp 0x14000aa27
lea r8, str.INSUFFICIENT_BUFFER.
mov word [rsp + 0xc3e], di
lea rax, [rsp + 0x440]
mov rdx, rbx
sub r8, rax
lea rcx, [rsp + 0x440]
nop word [rax + rax]
lea rax, [rdx + 0x7ffffbfe]
test rax, rax
je 0x14000aa13
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000aa13
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000a9f0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
je 0x14000ab12
cmp esi, 1
je 0x14000aa36
cmp esi, 2
setne dil
add edi, 2
mov edx, 0x5c
mov rcx, r15
call fcn.140018f3c
mov rdx, rax
test rax, rax
je 0x14000aa81
add rdx, 1
je 0x14000aa81
lea rax, [rsp + 0x40]
sub rdx, rax
lea rcx, [rsp + 0x40]
nop
lea rax, [rbx + 0x7ffffbfe]
test rax, rax
je 0x14000aabf
movzx eax, byte [rdx + rcx]
test al, al
je 0x14000aabf
mov byte [rcx], al
inc rcx
sub rbx, 1
jne 0x14000aa60
jmp 0x14000aabf
lea rdx, [0x14017ff6c]
lea rax, [rsp + 0x40]
sub rdx, rax
lea rcx, [rsp + 0x40]
nop word [rax + rax]
lea rax, [rbx + 0x7ffffbfe]
test rax, rax
je 0x14000aabf
movzx eax, byte [rdx + rcx]
test al, al
je 0x14000aabf
mov byte [rcx], al
inc rcx
sub rbx, 1
jne 0x14000aaa0
test rbx, rbx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
jne 0x14000aadc
lea rcx, [0x14017ff70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rsp + 0x440]
mov ecx, edi
mov qword [rsp + 0x30], rax
lea r8, [r14 + 8]
mov eax, dword [rsp + 0xcb0]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x28], eax
lea rdx, [0x14017ffa0]
mov qword [rsp + 0x20], r12
call qword [r14 + 0x128]
mov rdi, qword [rsp + 0xc58]
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.140016d70
add rsp, 0xc60
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x14000afe0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
sub rsp, 0x838
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rbx, r8
lea rcx, [rsp + 0x20]
mov rsi, rdx
mov r8d, 0x800
xor edx, edx
call fcn.140019870
test rsi, rsi
je 0x14000b1a2
test rbx, rbx
je 0x14000b1a2
mov qword [rsp + 0x850], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x868], rdi
mov qword [rsp + 0x830], r14
call fcn.140009fa0
xor r14d, r14d
mov edi, 0x400
cmp al, 1
jne 0x14000b089
mov r8, rsi
lea rcx, [rsp + 0x20]
mov edx, edi
call fcn.140009ee0
test eax, eax
js 0x14000b0e3
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001d9dc
cmp eax, 0xffffffff
jne 0x14000b124
lea rcx, str.File_not_exist_on_QH_path__Now_Check_with_Get_Module_Path
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, edi
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebp, ebp
je 0x14000b196
cmp ebp, edi
jne 0x14000b0b6
cmp eax, 0x7a
je 0x14000b196
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.140018dd4
test rax, rax
je 0x14000b0cf
mov word [rax + 2], r14w
mov r8, rsi
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.140009ee0
test eax, eax
jns 0x14000b124
lea rcx, str.StringCchCat_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
mov rdi, qword [rsp + 0x868]
mov rbp, qword [rsp + 0x850]
mov r14, qword [rsp + 0x830]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140016d70
add rsp, 0x838
pop rsi
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001d9dc
cmp eax, 0xffffffff
jne 0x14000b147
lea rcx, str.File_not_exist_anywhere_:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rsi
jmp 0x14000b0ea
lea rcx, [rsp + 0x20]
sub rcx, rbx
nop
lea rax, [rdi + 0x7ffffbfe]
test rax, rax
je 0x14000b172
movzx eax, word [rcx + rbx]
test ax, ax
je 0x14000b172
mov word [rbx], ax
add rbx, 2
sub rdi, 1
jne 0x14000b150
test rdi, rdi
lea rax, [rbx - 2]
cmovne rax, rbx
mov word [rax], r14w
jne 0x14000b18f
lea rcx, str.StringCchCopy_failed
jmp 0x14000b0ea
mov al, 1
jmp 0x14000b0f2
lea rcx, str.CFGetModulePath_failed
jmp 0x14000b0ea
lea rcx, str.GetGivenFilePath_:_Invalid_Parameter
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x14000b10a
Function at 0x14000b4a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov rsi, r8
mov rbx, rdx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x50]
call fcn.140019870
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
test rbx, rbx
je 0x14000b67a
test rsi, rsi
je 0x14000b67a
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x14000b520
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000ba80
mov r8, qword [rsp + 0x40]
test r8, r8
jne 0x14000b54e
lea rcx, str.GetLogFilePath_:_App_Name_not_found
jmp 0x14000b681
lea rcx, [rsp + 0x30]
mov r10, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 8
cmovae rcx, r10
lea rax, [r8 - 1]
cmp rax, rdi
cmovb rdi, rax
lea rdx, [rcx + rdi*2]
cmp word [rdx], 0x2e
je 0x14000b58f
nop word [rax + rax]
cmp rdx, rcx
je 0x14000b5b3
sub rdx, 2
cmp word [rdx], 0x2e
jne 0x14000b580
sub rdx, rcx
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14000b5b3
sub r8, rdx
mov qword [rsp + 0x20], 4
lea rcx, [rsp + 0x30]
call fcn.14000b8b0
jmp 0x14000b602
mov rax, r9
sub rax, r8
cmp rax, 4
jb 0x14000b5ea
lea rcx, [r8 + 4]
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x30]
cmp r9, 8
cmovae rax, r10
movabs rdx, 0x67006f006c002e
mov qword [rax + r8*2], rdx
mov word [rax + rcx*2], r14w
jmp 0x14000b602
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.14000bd40
lea rcx, [rsp + 0x50]
call fcn.140009fa0
mov edx, 0x400
mov rcx, rsi
cmp al, 1
jne 0x14000b64c
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, str._sLOGS_s
call fcn.14000a280
test eax, eax
jns 0x14000b676
lea rcx, str.StringCchPrintf_:_StringCchCat_failed
jmp 0x14000b681
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r9, qword [rsp + 0x30]
lea r8, str.c:Logs_s
call fcn.14000a280
test eax, eax
jns 0x14000b676
lea rcx, str.GetLogFilePath_:_StringCchPrintf_failed
jmp 0x14000b681
mov bl, 1
jmp 0x14000b689
lea rcx, str.GetLogFilePath_:_Invalid_Parameter
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor bl, bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000b6c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b6c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b6f1
call fcn.140017444
movzx eax, bl
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.140016d70
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140028d9c
int3