joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004680
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x58
cmp qword [0x14002a518], 0
jne 0x140004800
lea rcx, str.debug
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14002a518], rax
test rax, rax
je 0x1400048bd
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 3
mov qword [0x14002a510], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 4
mov qword [0x14002a508], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 5
mov qword [0x14002a500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 6
mov qword [0x14002a4f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 2
mov qword [0x14002a4f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 0x14
mov qword [0x14002a4e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 7
mov qword [0x14002a4e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 0xf
mov qword [0x14002a4d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 0x10
mov qword [0x14002a4d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 0x15
mov qword [0x14002a4c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a518]
mov edx, 0x18
mov qword [0x14002a4c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14002a518], 0
mov qword [0x14002a4b8], rax
je 0x1400048bd
lea rax, [0x14001ebb0]
lea rcx, str.print_to_windbg
mov qword [0x14002a4b0], rax
call qword [0x14002a500]
mov rcx, qword [0x14002a4b0]
lea rax, str.15:44:16
lea r9, str.Dec_20_2019
lea r8, str.HidMonitorSvc.exe_start._Built__s__s_n
mov edx, 0x400
mov qword [rsp + 0x20], rax
call qword [0x14002a4e8]
mov rcx, qword [0x14002a4b0]
lea r9, str.register_notification__n
lea r8, [0x14001eba4]
mov edx, 0x400
call qword [0x14002a4e8]
lea r8, [rsp + 0x70]
lea rdx, [0x1400257e8]
mov ecx, 2
call qword [sym.imp.POWRPROF.dll_PowerRegisterSuspendResumeNotification]
lea rax, str.ApHidMonitorService
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [0x1400049d0]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USER32.dll_UnregisterSuspendResumeNotification]
mov rcx, qword [0x14002a4b0]
lea r8, str.HidMonitorSvc.exe_exit_n
mov edx, 0x400
call qword [0x14002a4e8]
xor eax, eax
add rsp, 0x58
ret
mov eax, 1
add rsp, 0x58
ret
Function at 0x140004d00
Capabilities:
Get session information
Get session user name

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor edi, edi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea r9, [rsp + 0x58]
mov ebx, eax
lea rax, [rsp + 0x50]
lea r8d, [rdi + 8]
mov edx, ebx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
lea r9, [rsp + 0x60]
lea r8d, [rdi + 5]
mov esi, eax
lea rax, [rsp + 0x50]
mov edx, ebx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x140004d83
mov rcx, qword [rsp + 0x60]
test esi, esi
je 0x140004d7d
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], di
jne 0x140004d60
test rax, rax
je 0x140004d7d
mov rdx, qword [rsp + 0x58]
mov eax, 1
cmp dword [rdx], edi
cmove edi, eax
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test esi, esi
je 0x140004d92
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400050a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
lea rdx, str.SOFTWAREAlpsApoint
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400050fc
mov rcx, qword [0x14002a4b0]
lea r9, str.ERROR:__ALPS_driver_not_found.
lea r8, [0x14001eba4]
mov edx, 0x400
call qword [0x14002a4e8]
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, str.ProductVer
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000515a
mov rcx, qword [0x14002a4b0]
lea r9, str.ERROR:__ALPS_driver_not_found.
lea r8, [0x14001eba4]
mov edx, 0x400
call qword [0x14002a4e8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1400057f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, edi
call fcn.1400067a0
mov qword [0x14002a468], rax
test rax, rax
je 0x1400058e2
lea rdx, str.IOCTL_SetTouchPadDisable
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a468]
lea rdx, str.Alps_DisableTouchpad
mov qword [0x14002a320], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a468]
lea rdx, str.Alps_MouseGetInitStatus
mov qword [0x14002a328], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14002a468]
lea rdx, str.Alps_SetAbsolute
mov qword [0x14002a318], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14002a320], rbx
mov qword [0x14002a308], rax
je 0x1400058a1
cmp qword [0x14002a328], rbx
je 0x1400058a1
cmp qword [0x14002a318], rbx
je 0x1400058a1
mov ecx, 1
test rax, rax
cmovne ebx, ecx
lea r8, str.SupportI2CToPS2Switch
lea rdx, str.SOFTWAREAlpsApoint
xor r9d, r9d
call fcn.140006840
mov dword [0x14002a334], eax
test eax, eax
je 0x1400058e2
mov rcx, qword [0x14002a468]
lea rdx, str.IOCTL_SetPS2Mode
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14002a310], rax
cmove ebx, edi
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005ea0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rcx, str.Tobby_:______LaunchCloseApp_enter_
call fcn.140004610
lea r8, str.HomeDirectory
lea rdx, str.SOFTWAREAlpsApoint
call fcn.140006980
mov ebx, 0x104
lea rdx, [rsp + 0x230]
mov r9, rax
lea rax, [rsp + 0x230]
mov r8d, ebx
sub r9, rax
nop dword [rax]
lea rcx, [r8 + 0x7ffffefa]
test rcx, rcx
je 0x140005f24
movzx eax, word [r9 + rdx]
test ax, ax
je 0x140005f24
mov word [rdx], ax
add rdx, 2
dec r8
jne 0x140005f00
jmp 0x140005f29
test r8, r8
jne 0x140005f2d
sub rdx, 2
xor edi, edi
lea r8, [rsp + 0x230]
lea rax, [rsp + 0x20]
mov word [rdx], di
sub r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140005f74
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140005f74
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140005f50
jmp 0x140005f79
test rdx, rdx
jne 0x140005f7d
sub rcx, 2
mov word [rcx], di
lea rax, [rsp + 0x20]
mov rcx, rbx
cmp word [rax], di
je 0x140005f98
add rax, 2
dec rcx
jne 0x140005f88
jmp 0x140005ff6
test rcx, rcx
je 0x140005ff6
mov rdx, rbx
lea rax, [rsp + 0x20]
sub rdx, rcx
mov rcx, rbx
lea rax, [rax + rdx*2]
sub rcx, rdx
je 0x140005fef
add rdx, 0x7ffffefa
lea r9, str.ApClose.exe
add rdx, rcx
sub r9, rax
test rdx, rdx
je 0x140005fea
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x140005fea
mov word [rax], r8w
add rax, 2
dec rdx
dec rcx
jne 0x140005fc8
jmp 0x140005fef
test rcx, rcx
jne 0x140005ff3
sub rax, 2
mov word [rax], di
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400060a3
lea r8, str.C:Program_FilesApoint2K
lea rax, [rsp + 0x230]
mov rdx, rbx
sub r8, rax
lea rcx, [rsp + 0x230]
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140006054
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140006054
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140006030
jmp 0x140006059
test rdx, rdx
jne 0x14000605d
sub rcx, 2
lea rdx, str.C:Program_FilesApoint2KApClose.exe
lea rax, [rsp + 0x20]
mov word [rcx], di
sub rdx, rax
lea rcx, [rsp + 0x20]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x140006097
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140006097
mov word [rcx], ax
add rcx, 2
dec rbx
jne 0x140006074
jmp 0x14000609c
test rbx, rbx
jne 0x1400060a0
sub rcx, 2
mov word [rcx], di
lea r8, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call fcn.1400063d0
lea rcx, str.Tobby_:______LaunchCloseApp_exit_
call fcn.140004610
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140006d80
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret
Function at 0x140006170
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x450
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rcx, str.Tobby_:______LaunchApntexExe_enter_
call fcn.140004610
lea r8, str.HomeDirectory
lea rdx, str.SOFTWAREAlpsApoint
call fcn.140006980
mov ebx, 0x104
lea rdx, [rsp + 0x230]
mov r9, rax
lea rax, [rsp + 0x230]
mov r8d, ebx
sub r9, rax
nop dword [rax]
lea rcx, [r8 + 0x7ffffefa]
test rcx, rcx
je 0x1400061f4
movzx eax, word [r9 + rdx]
test ax, ax
je 0x1400061f4
mov word [rdx], ax
add rdx, 2
dec r8
jne 0x1400061d0
jmp 0x1400061f9
test r8, r8
jne 0x1400061fd
sub rdx, 2
xor edi, edi
lea r8, [rsp + 0x230]
lea rax, [rsp + 0x20]
mov word [rdx], di
sub r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140006244
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140006244
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140006220
jmp 0x140006249
test rdx, rdx
jne 0x14000624d
sub rcx, 2
mov word [rcx], di
lea rax, [rsp + 0x20]
mov rcx, rbx
cmp word [rax], di
je 0x140006268
add rax, 2
dec rcx
jne 0x140006258
jmp 0x1400062c6
test rcx, rcx
je 0x1400062c6
mov rdx, rbx
lea rax, [rsp + 0x20]
sub rdx, rcx
mov rcx, rbx
lea rax, [rax + rdx*2]
sub rcx, rdx
je 0x1400062bf
add rdx, 0x7ffffefa
lea r9, str.Apntex.exe
add rdx, rcx
sub r9, rax
test rdx, rdx
je 0x1400062ba
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x1400062ba
mov word [rax], r8w
add rax, 2
dec rdx
dec rcx
jne 0x140006298
jmp 0x1400062bf
test rcx, rcx
jne 0x1400062c3
sub rax, 2
mov word [rax], di
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140006373
lea r8, str.C:Program_FilesApoint2K
lea rax, [rsp + 0x230]
mov rdx, rbx
sub r8, rax
lea rcx, [rsp + 0x230]
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140006324
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140006324
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x140006300
jmp 0x140006329
test rdx, rdx
jne 0x14000632d
sub rcx, 2
lea rdx, str.C:Program_FilesApoint2KApoint.exe
lea rax, [rsp + 0x20]
mov word [rcx], di
sub rdx, rax
lea rcx, [rsp + 0x20]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x140006367
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140006367
mov word [rcx], ax
add rcx, 2
dec rbx
jne 0x140006344
jmp 0x14000636c
test rbx, rbx
jne 0x140006370
sub rcx, 2
mov word [rcx], di
mov ecx, dword [0x14002a338]
test ecx, ecx
je 0x140006383
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call fcn.140006530
lea rcx, str.Tobby_:______LaunchApntexExe_exit_
call fcn.140004610
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140006d80
mov rbx, qword [rsp + 0x460]
add rsp, 0x450
pop rdi
ret
Function at 0x1400063d0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rsi, rcx
lea rcx, str.CreateProcessWithLowPriv_WaitProccess_:_enter_n
xor ebx, ebx
mov rbp, r8
mov qword [rsp + 0x60], rbx
call fcn.140004610
xor eax, eax
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.14000bfa0
lea rax, str.winsta0default
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x80], 0x68
call fcn.140006700
mov rdi, rax
test rax, rax
je 0x140006501
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x140006501
lea rcx, str.CreateProcessWithLowPriv_WaitProccess_____1_Get_Token_success__AppName_s__Cmd_s
xor r8d, r8d
mov rdx, rsi
call fcn.140004610
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov rcx, qword [rsp + 0x68]
or edx, 0xffffffff
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x1400064f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140006501
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.CreateProcessWithLowPriv_WaitProccess_:_exit_n
call fcn.140004610
mov eax, ebx
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140006530
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x500
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rsi, rcx
mov rbp, r8
lea rcx, [rsp + 0xf2]
xor ebx, ebx
xor edx, edx
mov r8d, 0x3fe
mov word [rsp + 0xf0], bx
call fcn.14000bfa0
xor eax, eax
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x80]
xor edx, edx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.14000bfa0
lea rax, str.winsta0default
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x80], 0x68
call fcn.140006700
mov rdi, rax
test rax, rax
je 0x14000669f
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14000669f
lea rdx, str.CreateProcessWithLowPriv___Get_Token_success__AppName_s__Cmd_s
lea rcx, [rsp + 0xf0]
xor r9d, r9d
mov r8, rsi
call fcn.140007f14
mov rcx, qword [0x14002a4b0]
lea r9, [rsp + 0xf0]
lea r8, [0x14001eba4]
mov edx, 0x400
call qword [0x14002a4e8]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x430
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
je 0x14000668e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14000669f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.CreateProcessWithLowPriv___Ret_d
lea rcx, [rsp + 0xf0]
mov r8d, ebx
call fcn.140007f14
mov rcx, qword [0x14002a4b0]
lea r9, [rsp + 0xf0]
lea r8, [0x14001eba4]
mov edx, 0x400
call qword [0x14002a4e8]
mov eax, ebx
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140006d80
mov rbx, qword [rsp + 0x528]
add rsp, 0x500
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400067a0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x258
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov dword [rsp + 0x20], 0x5c
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rsp + 0x30]
test rax, rax
je 0x140006828
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x208
call fcn.140008584
lea r8, str.VXDIF.DLL
lea rcx, [rsp + 0x30]
mov edx, 0x208
call fcn.140008584
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140006d80
add rsp, 0x258
ret
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140006d80
add rsp, 0x258
ret
Function at 0x140006840
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rax, [rsp + 0x38]
mov ebx, r9d
mov rsi, r8
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000690f
lea rax, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400068ec
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov r9d, 4
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x140006958
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140006980
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, r8
mov rdi, rdx
lea rcx, [rsp + 0x42]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bp
call fcn.14000bfa0
lea rsi, [0x14002a550]
lea r8, [0x14002061c]
mov rax, rsi
mov edx, 0x104
sub r8, rsi
nop dword [rax]
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x140006a04
movzx ecx, word [r8 + rax]
test cx, cx
je 0x140006a04
mov word [rax], cx
add rax, 2
dec rdx
jne 0x1400069e0
jmp 0x140006a09
test rdx, rdx
jne 0x140006a0d
sub rax, 2
mov word [rax], bp
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006aa2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006a97
lea rdx, str._ProgramFiles_
mov rcx, rsi
call fcn.14000831c
test rax, rax
je 0x140006a97
lea rdx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rax, [rsp + 0x40]
jmp 0x140006aa5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140006d80
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002e70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002ecd
lea rbx, [0x140091c90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002eb4
cmp r10, 2
jb 0x140002eb4
cmp byte [r9], r8b
jne 0x140002eb4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002e90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002f0f
lea rbx, [0x140091c90]
cmp r8b, 0x23
jne 0x140002ef3
cmp byte [r9], r8b
jne 0x140002ef3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002ee0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400030d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400030ff
mov r8d, 0x611
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000310b
mov qword [rdi], 0
lea rdx, [0x14008fb80]
mov rcx, rbx
call fcn.140002f20
mov rbx, rax
test rax, rax
jne 0x14000312d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003204
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003204
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003204
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003204
cmp rsi, 0xffffffffffffffff
je 0x140003204
mov rax, qword [0x140175650]
test rax, rax
je 0x1400031a1
inc dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003204
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x1400031f1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140175650]
test rax, rax
je 0x1400031e6
dec dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000320d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400031ff
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000320f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005a30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rbx, rcx
mov edi, edx
jg 0x140005a66
mov r8d, 0x5d5
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x140091c90]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x140175650]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1dd8], edx
jne 0x140005ae0
mov dword [rax + 0x1ddc], edx
cmp dword [rax + 0x1e18], edx
jne 0x140005aef
mov byte [rax + 0x1e1c], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret