joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4279e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x427a02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x427a86
lfence
mov rdi, r14
nop dword [rax]
mov rcx, rbx
call fcn.0040b7b0
test rax, rax
jle 0x427a5e
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.004a2610
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x427a76
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x427a7e
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x427a20
sub r14, rdi
jmp 0x427b7a
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x427a9d
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x427a9f
xor ecx, ecx
movsxd rax, ecx
mov rdi, r14
test ecx, ecx
je 0x427ad4
cmp rax, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.004a2610
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
mov rdi, rbp
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x427b74
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x427b0f
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 rdi, 0xfff
jbe 0x427b51
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x427b74
cmp rbp, rax
ja 0x427b20
test rdi, rdi
je 0x427b74
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rbp, rdi
sub rbp, rax
sub r14, rbp
lfence
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x427f80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x427fad
xor eax, eax
jmp 0x428114
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x427fe7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x427fe7
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 0x428114
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x428107
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x42802a
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 0x428055
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 0x42810c
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x4280c4
sub eax, 1
je 0x4280c4
cmp eax, 2
jne 0x428107
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 0x42810c
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x4280f5
lfence
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 0x428107
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x42810c
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x428340
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x428416
cmp byte [rcx + 0x71], 0
je 0x428416
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x428412
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x4283d4
sub eax, 1
je 0x4283d8
cmp eax, 2
jne 0x428412
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.00479310
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x428409
lfence
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 0x428412
cmp byte [rbx + 0x71], 0
sete al
jmp 0x4283bc
xor al, al
jmp 0x4283bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.00479310
add rsp, 0x60
pop rbx
ret
Function at 0x433e40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov qword [rsp + 0x40], 0
mov rbx, rcx
lea rdx, [0x004b993c]
mov rcx, rsi
xor r8d, r8d
xor dil, dil
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
test eax, eax
js 0x433f3b
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 7
inc r8
cmp word [rdx + r8*2], 0
jne 0x433ec4
lea rcx, [rsp + 0x20]
call sym.AsusSoftwareManager.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__const___ptr64__unsigned_long_long_unsigned___int64_____ptr64
lea rax, [rsp + 0x20]
cmp rsi, rax
je 0x433ef3
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sym.AsusSoftwareManager.exe_private:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::_Move_assign_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__struct_std::integral_constant_bool__1_____ptr64
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x433f38
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x433f33
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x433f33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.00479330
mov dil, 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x433f4b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
movzx eax, dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x438000
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.0043a710
mov rcx, qword [rbx + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x438034
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x40], 0xffffffffffffffff
mov rcx, qword [rbx + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x43804c
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x48], 0xffffffffffffffff
mov rcx, qword [rbx + 0x38]
xor ebp, ebp
test rcx, rcx
je 0x438081
lea edx, [rbp + 0x64]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x438073
xor edx, edx
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov rcx, qword [rbx + 0x130]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], bpl
jne 0x4380c6
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 0x130]
lea rcx, [rbx + 0x130]
call fcn.0043bca0
mov rcx, rdi
mov rdi, qword [rdi]
mov edx, 0x30
call fcn.00479330
cmp byte [rdi + 0x19], bpl
je 0x438092
mov rcx, qword [rbx + 0x130]
mov edx, 0x30
call fcn.00479330
cmp dword [rbx + 0x128], ebp
je 0x4380e5
lea rcx, [rbx + 0x100]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
mov dword [rbx + 0x128], ebp
cmp dword [rbx + 0xf8], ebp
je 0x438100
lea rcx, [rbx + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
mov dword [rbx + 0xf8], ebp
cmp dword [rbx + 0xc8], ebp
je 0x43811b
lea rcx, [rbx + 0xa0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
mov dword [rbx + 0xc8], ebp
lea rcx, [rbx + 0x50]
call fcn.00481194
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x438166
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx + 0x18]
cmp rdx, 0x1000
jb 0x438161
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x43818b
mov rcx, r8
call fcn.00479330
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x30], 7
mov word [rbx + 0x18], bp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4387d0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov edx, 0x7c
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCommandHandler.cpp
call fcn.004036d0
lea rsi, [0x004c1550]
mov ecx, 4
lea r9, str._Close__In
mov r8d, 0x12c
lea rdx, [rsi + rax*2]
call fcn.0044a600
mov rcx, qword [rbx + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x43883c
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x48], 0xffffffffffffffff
cmp dword [rbx + 0xf8], 0
je 0x438852
lea rcx, [rbx + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x43886a
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x40], 0xffffffffffffffff
cmp dword [rbx + 0xf8], 0
je 0x438880
lea rcx, [rbx + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x38]
xor edi, edi
test rcx, rcx
je 0x4388b5
lea edx, [rdi + 0x64]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4388a7
mov rcx, qword [rbx + 0x38]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x38], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ProcessIdToSessionId]
test eax, eax
je 0x43890b
cmp dword [rsp + 0x20], edi
je 0x43890b
cmp dword [rbx + 0x150], edi
je 0x4388f8
mov rcx, qword [rbx + 0x140]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbx + 0x148]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x140], xmm0
mov qword [rbx + 0x150], rax
mov edx, 0x7c
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCommandHandler.cpp
call fcn.004036d0
lea r9, str._Close__Out
mov ecx, 4
mov r8d, 0x154
lea rdx, [rsi + rax*2]
call fcn.0044a600
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x43b990
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rcx
mov rdi, r9
mov rcx, qword [rcx + 0x40]
mov ebp, r8d
mov r14, rdx
cmp rcx, 0xffffffffffffffff
je 0x43ba82
cmp dword [rsi + 0xf8], 0
mov qword [rsp + 0x40], rbx
je 0x43b9de
lea rcx, [rsi + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x40]
mov r9, rdi
mov qword [rsp + 0x20], 0
mov r8d, ebp
mov rdx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
setne dil
cmp dword [rsi + 0xf8], 0
je 0x43ba12
lea rcx, [rsi + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test dil, dil
jne 0x43ba63
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, 0x7c
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCommandHandler.cpp
mov ebx, eax
call fcn.004036d0
lea rcx, [0x004c1550]
mov dword [rsp + 0x20], ebx
lea r9, str._WritePipe__Write_failed:_errorcode0x_08x
mov r8d, 0x443
lea rdx, [rcx + rax*2]
mov ecx, 4
call fcn.0044a600
cmp ebx, 0x6d
jne 0x43ba63
mov rcx, rsi
call fcn.004387d0
mov rbx, qword [rsp + 0x40]
movzx eax, dil
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
xor al, al
jmp 0x43ba6c

Function at 0x43ba90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
xor edi, edi
mov qword [rsp + 0x38], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x40]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x40], eax
mov word [rsp + 0x38], 0xe51c
mov byte [rsp + 0x3a], 1
cmp rcx, 0xffffffffffffffff
je 0x43bb86
mov qword [rsp + 0x68], rbx
cmp dword [rsi + 0xf8], eax
je 0x43baf5
lea rcx, [rsi + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rcx, qword [rsi + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rdi
mov r8d, SafeArrayGetDim
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
setne dil
cmp dword [rsi + 0xf8], 0
je 0x43bb2c
lea rcx, [rsi + 0xd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test dil, dil
jne 0x43bb7d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, 0x7c
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceCommandHandler.cpp
mov ebx, eax
call fcn.004036d0
lea rcx, [0x004c1550]
mov dword [rsp + 0x20], ebx
lea r9, str._WritePipe__Write_failed:_errorcode0x_08x
mov r8d, 0x443
lea rdx, [rcx + rax*2]
mov ecx, 4
call fcn.0044a600
cmp ebx, 0x6d
jne 0x43bb7d
mov rcx, rsi
call fcn.004387d0
mov rbx, qword [rsp + 0x68]
movzx eax, dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.00479310
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x43ca50
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rax, vtable.CUploadScheduler.0
mov rbx, rcx
mov qword [rcx], rax
xor esi, esi
mov rcx, qword [rcx + 0x20]
mov edi, edx
test rcx, rcx
je 0x43ca85
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov qword [rbx + 0x20], rsi
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x43ca9a
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov qword [rbx + 0x28], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x43cab1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x43cac6
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov qword [rbx + 0x38], rsi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x43cadd
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x43caf2
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x43cb07
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov qword [rbx + 0x48], rsi
test dil, 1
je 0x43cb1a
mov edx, 0x50
mov rcx, rbx
call fcn.00479330
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x43cb60
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov dword [rbp + 0x1f], edx
xor ecx, ecx
mov dword [rbp + 0x27], r8d
mov qword [rbp + 7], rcx
mov dword [rbp + 0x17], 0x400
test edx, edx
jne 0x43cc5e
test r8d, r8d
jne 0x43cc5e
lea rax, [rbp + 0x17]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSoftwareManager
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x43ccde
xorps xmm0, xmm0
lea rcx, [rbp + 0x37]
movups xmmword [rbp + 0x37], xmm0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x37]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
movabs rax, 0x861c46800
lea rdx, [rbx + 0x10]
add qword [rbp + 0xf], rax
lea rcx, [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_FileTimeToSystemTime]
mov rax, qword [rbp + 0xf]
lea rdx, str.ExpireTimeHigh
mov rcx, qword [rbp + 7]
mov r9d, 4
mov qword [rbp + 0x2f], rax
xor r8d, r8d
lea rax, [rbp + 0x33]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
lea rax, [rbp + 0x2f]
jmp 0x43ccb7
lea rax, [rbp + 7]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSoftwareManager
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ccde
mov rcx, qword [rbp + 7]
lea rax, [rbp + 0x1f]
mov dword [rsp + 0x28], 4
lea rdx, str.ExpireTimeHigh
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
lea rax, [rbp + 0x27]
mov rcx, qword [rbp + 7]
lea rdx, str.ExpireTimeLow
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x43cced
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rbp
ret
Function at 0x43cd10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 4
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSoftwareManager
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
xor bl, bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x43cdf4
test eax, eax
jne 0x43cdf4
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x28], rdx
lea rax, [rdi + 4]
lea rdx, str.ExpireTimeHigh
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x3c]
mov ebx, eax
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, str.ExpireTimeLow
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test ebx, ebx
jne 0x43cde7
test eax, eax
jne 0x43cde7
mov bl, 1
jmp 0x43cde9
xor bl, bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.00479310
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x43f380
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.CGiftBoxService.0
mov qword [rcx], rax
xor edi, edi
mov rcx, qword [0x005022e8]
test rcx, rcx
je 0x43f3b4
mov rax, qword [rcx]
lea edx, [rdi + 1]
call qword [rax]
mov qword [0x005022e8], rdi
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x43f403
call fcn.00440d40
cmp dword [0x004fcdf8], edi
je 0x43f3ec
lea rcx, [0x004fcdd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [0x004fcdf8], edi
je 0x43f3ec
lea rcx, [0x004fcdd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x43f403
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x50], rdi
cmp qword [rbx + 0x48], rdi
je 0x43f441
call fcn.0046e420
mov edx, 0x64
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43f433
mov edx, 0x1000
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x48], rdi
lea rax, vtable.CServiceBase.0
mov qword [rbx], rax
mov rax, qword [0x00503148]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x43f46c
call qword [sym.imp.USER32.dll_UnregisterPowerSettingNotification]
mov rax, qword [0x00503148]
mov qword [rax + 0x38], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x43f480
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x0043f290]
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x43f4f6
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x0043f0d0]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x43f4fe
mov rcx, rbx
call fcn.00475480
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.00479310
add rsp, 0x40
pop rbx
ret