joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009a920
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.140161de0
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14009a9b7
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14009a9b7
call fcn.140039810
mov ebx, eax
jmp 0x14009aadc
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14009a9d8
call fcn.140039810
jmp 0x14009aacb
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14009a9fb
call fcn.140039810
jmp 0x14009aacb
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14009aa1d
mov ebx, 0x8007000e
jmp 0x14009aacd
mov ecx, eax
test eax, eax
je 0x14009aa52
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14009ab14
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14009aa52
lea rcx, [rsp + 0x60]
call fcn.140098890
jmp 0x14009aa5c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14009aa6f
cmp qword [rsp + 0x60], 0
jne 0x14009aa7e
mov ebx, 0x8007000e
jmp 0x14009aacd
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
jne 0x14009aaa8
call fcn.140039810
jmp 0x14009aacb
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14009a430
mov ebx, eax
test rdi, rdi
je 0x14009aadc
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14009aaf3
lea rcx, [rsp + 0x60]
call fcn.140098d90
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14015eb70
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140039830
int3
Function at 0x1400e63c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x28], r8
add rcx, 0x30
call fcn.140144f60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
lea rax, [0x1401c63c0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x1c
lea rax, str.c:DAX35dax3APIDAXAPIPluginManager.cpp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x2a
mov ecx, 0x200
call fcn.1401353e0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9d, [rdi + 0x1e]
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140134f50
nop
lea r9, str.User_Logon_FBC2B3C4_B045_40C2_8363_872A91F1C21D
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx + 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx], rax
lea ecx, [rdi + 0x10]
call fcn.14015ea14
test rax, rax
je 0x1400e64f1
mov qword [rax], rbx
lea rcx, [0x1400e8a20]
mov qword [rax + 8], rcx
jmp 0x1400e64f4
mov rax, rdi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400429c0]
xor edx, edx
xor ecx, ecx
call fcn.14016e06c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400e6568
cmp dword [rbx + 0x18], 0
jne 0x1400e6562
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm0
lea rcx, [rsp + 0x60]
call fcn.140135170
nop
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14015eb70
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
call fcn.14016e14c
nop
mov dword [rsp + 0x38], edi
mov ecx, 6
call fcn.14015c480
int3
Function at 0x140105cc0
Capabilities:
Create service

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x298
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r15, qword [rsp + 0x2f0]
mov ebp, r8d
mov r12, qword [rsp + 0x2f8]
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x70]
mov r8d, 0x104
xor ecx, ecx
mov r14, r9
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
test eax, eax
jne 0x140105d2f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.140105fc0
jmp 0x140105dfe
xor edx, edx
mov qword [rsp + 0x290], rbx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140105d66
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140105fc0
jmp 0x140105df6
mov qword [rsp + 0x60], r12
xor eax, eax
mov qword [rsp + 0x58], r15
mov r9d, 4
mov qword [rsp + 0x50], r14
mov r8, rdi
mov qword [rsp + 0x48], rax
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
mov rdi, rax
test rax, rax
jne 0x140105dd5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.140105fc0
mov rcx, rbx
jmp 0x140105df0
mov rdx, rsi
lea rcx, str._s_is_installed._n
call fcn.140105fc0
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14015eb70
add rsp, 0x298
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140105e20
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov rdi, rcx
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x38], eax
xor ecx, ecx
lea r8d, [rax + 1]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x140105e7e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140105fc0
jmp 0x140105f9a
mov r8d, 0x10024
mov qword [rsp + 0x68], rbx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x140105eb9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService_failed_w_err_0x_08lx_n
call fcn.140105fc0
mov rcx, rsi
jmp 0x140105f8f
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x140105f51
mov rdx, rdi
lea rcx, str.Stopping__s.
call fcn.140105fc0
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x140105f32
mov eax, dword [rsp + 0x24]
cmp eax, 3
jne 0x140105f36
lea rcx, [0x1401cc544]
call fcn.140105fc0
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
jne 0x140105f00
mov eax, dword [rsp + 0x24]
lea rcx, [0x1401cc548]
mov rdx, rdi
cmp eax, 1
je 0x140105f4c
lea rcx, str._n_s_failed_to_stop._n
call fcn.140105fc0
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
test eax, eax
jne 0x140105f74
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.DeleteService_failed_w_err_0x_08lx_n
call fcn.140105fc0
jmp 0x140105f83
mov rdx, rdi
lea rcx, str._s_is_removed._n
call fcn.140105fc0
mov rcx, rsi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14015eb70
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1401379f0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
xor dil, dil
cmp qword [rcx + 0x18], 8
mov r14, rdx
mov rbx, rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
jb 0x140137a2a
mov rcx, qword [rcx]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x140137ac8
mov ecx, ebp
mov qword [rsp + 0x70], rsi
call fcn.14015ea58
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x140137a54
mov rbx, qword [rbx]
mov r9, rsi
mov r8d, ebp
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140137abb
lea r9, [rsp + 0x28]
mov rcx, rsi
lea r8, [rsp + 0x20]
lea rdx, [0x1401b64d8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140137abb
cmp dword [rsp + 0x28], 0
je 0x140137abb
mov rdx, qword [rsp + 0x20]
cmp dword [rdx], 0xfeef04bd
jne 0x140137abb
movzx ecx, word [rdx + 0xa]
mov dil, 1
mov dword [r14], ecx
movzx ecx, word [rdx + 8]
mov dword [r14 + 4], ecx
movzx ecx, word [rdx + 0xe]
mov dword [r14 + 8], ecx
movzx ecx, word [rdx + 0xc]
mov dword [r14 + 0xc], ecx
mov rcx, rsi
call fcn.14015ea50
mov rsi, qword [rsp + 0x70]
movzx eax, dil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14015eb70
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x140139ad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov edi, ecx
xor esi, esi
mov dword [rsp + 0x58], esi
mov eax, dword [0x140221c6c]
cmp eax, 0xffffffff
je 0x140139b1d
cmp eax, ecx
setge al
jmp 0x140139cf5
xor bl, bl
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140139ce2
mov dword [rsp + 0x5c], 0x100
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.CurrentBuildNumber
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140139ce2
cmp dword [rsp + 0x60], 1
jne 0x140139ce2
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x70]
call fcn.140161de0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140139bd0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14002ee20
nop
lea rax, [0x1401dab80]
mov qword [rsp + 0x70], rax
mov qword [rbp + 8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rsi
mov dword [rsp + 0x58], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp], rax
mov dword [rbp - 4], 0x78
mov qword [rsp + 0x78], rsi
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.14006db50
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x6c], edx
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140136040
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140139cb0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140139cab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140139d1d
call fcn.14015ea50
mov eax, dword [0x140221c6c]
mov dword [rsp + 0x58], eax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1401356d0
mov eax, dword [rsp + 0x58]
mov dword [0x140221c6c], eax
cmp eax, edi
setge bl
lea rcx, [rsp + 0x70]
call fcn.1401364b0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140139cf2
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14015eb70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401660e8
nop
int3
Function at 0x140139d30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov edi, ecx
xor esi, esi
mov dword [rsp + 0x58], esi
mov eax, dword [0x140221c68]
cmp eax, 0xffffffff
je 0x140139d7d
cmp eax, ecx
setge al
jmp 0x140139f55
xor bl, bl
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140139f42
mov dword [rsp + 0x5c], 0x100
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.ReleaseId
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140139f42
cmp dword [rsp + 0x60], 1
jne 0x140139f42
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x70]
call fcn.140161de0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x140139e30
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14002ee20
nop
lea rax, [0x1401dab80]
mov qword [rsp + 0x70], rax
mov qword [rbp + 8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rsi
mov dword [rsp + 0x58], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp], rax
mov dword [rbp - 4], 0x78
mov qword [rsp + 0x78], rsi
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.14006db50
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x6c], edx
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140136040
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140139f10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140139f0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140139f7d
call fcn.14015ea50
mov eax, dword [0x140221c68]
mov dword [rsp + 0x58], eax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1401356d0
mov eax, dword [rsp + 0x58]
mov dword [0x140221c68], eax
cmp eax, edi
setge bl
lea rcx, [rsp + 0x70]
call fcn.1401364b0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140139f52
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
movzx eax, bl
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14015eb70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401660e8
nop
int3
Function at 0x1401450e0
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140221f78]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14d, r9d
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
mov rsi, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rsi
call fcn.140145230
mov rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x140145179
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14014515f
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
xor ebx, ebx
mov qword [rsi + 0x38], rbx
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14015eb70
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rbp + 0x68], r14d
lea rcx, [rbp + 0x28]
mov rdx, rsi
call fcn.14006ee10
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14015ea14
xor ebx, ebx
test rax, rax
je 0x1401451aa
mov qword [rax], rbp
lea rcx, [0x140145020]
mov qword [rax + 8], rcx
jmp 0x1401451ad
mov rax, rbx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400429c0]
xor edx, edx
xor ecx, ecx
call fcn.14016e06c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140145212
cmp dword [rbp + 0x20], 0
jne 0x14014520c
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp + 0x18], xmm0
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140145205
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], rbx
mov al, 1
jmp 0x140145161
call fcn.14016e14c
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call fcn.14015c480
int3
Function at 0x1401460a0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13d8]
mov eax, 0x14d8
call fcn.14015f440
sub rsp, rax
mov r12, r9
mov r15, r8
mov r14d, edx
mov rsi, rcx
mov r13, qword [rbp + 0x1440]
mov rax, qword [rbp + 0x1448]
mov qword [rsp + 0x28], rax
xor edi, edi
mov word [rbp + 0x3d0], di
mov byte [rbp - 0x30], dil
mov rbx, qword [rbp + 0x1450]
mov ecx, dword [rbx]
mov dword [rsp + 0x38], ecx
mov eax, dword [rbx + 4]
mov dword [rsp + 0x3c], eax
call fcn.140148db0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 3
mov ecx, edi
mov eax, 8
cmp byte [rbx + 8], cl
cmovne ecx, eax
mov dword [rsp + 0x34], ecx
mov ecx, 1
lock xadd dword [0x14022c1c4], ecx
inc ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbp + 0x1458]
test rcx, rcx
je 0x14014614d
cmp word [rcx], di
mov qword [rsp + 0x48], rcx
jne 0x140146152
mov qword [rsp + 0x48], rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r14d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r12
mov rax, qword [rsp + 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x78], xmm1
movups xmmword [rbp - 0x78], xmm1
mov rax, qword [0x14022c0d0]
test rax, rax
je 0x1401461b2
call rax
mov qword [rbp - 0x50], rax
jmp 0x1401461b6
mov qword [rbp - 0x50], rdi
mov rax, qword [0x14022c0c0]
test rax, rax
je 0x1401461d3
mov r8d, 0x400
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call rax
mov rax, qword [0x14022c0c8]
test rax, rax
je 0x1401461e6
lea rcx, [rsp + 0x30]
call rax
mov rax, qword [0x14022c148]
test rax, rax
je 0x1401461f9
lea rcx, [rsp + 0x30]
call rax
cmp dword [rsp + 0x38], edi
jl 0x140146215
mov dword [rsp + 0x38], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.140148a70
mov dword [rsp + 0x3c], eax
cmp byte [0x14022c088], dil
jne 0x140146241
mov rax, qword [0x14022c080]
test rax, rax
je 0x140146231
call rax
movzx edi, al
jmp 0x14014623d
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
setne dil
test edi, edi
je 0x14014624a
cmp byte [0x140221cd0], 0
jne 0x14014626d
mov rax, qword [0x14022c078]
test rax, rax
je 0x1401462c3
cmp byte [0x14022c0a8], 0
jne 0x1401462c3
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call rax
jmp 0x1401462c3
mov rax, qword [0x14022c078]
test rax, rax
je 0x140146296
cmp byte [0x14022c0a8], 0
jne 0x140146296
mov r8d, 0x800
lea rdx, [rbp + 0x3d0]
lea rcx, [rsp + 0x30]
call rax
cmp word [rbp + 0x3d0], 0
jne 0x1401462b6
lea r8, [rsp + 0x30]
mov edx, 0x800
lea rcx, [rbp + 0x3d0]
call fcn.140147f10
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x14022c098], 0
je 0x1401462db
mov rax, qword [0x14022c0e0]
test rax, rax
je 0x1401462db
call rax
nop
lea rcx, [rsp + 0x30]
call fcn.14014a8a0
int3
Function at 0x14017ebb4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14017ebe6
call fcn.140168318
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401660c8
jmp 0x14017ed05
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14017ed05
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14017ed05
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14017ec15
lock or dword [rcx + 0x14], 0x10
jmp 0x14017ed05
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14017ec29
call fcn.14018052c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14017d7d4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14017fb5c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14017ecf3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14017ecbe
mov rcx, rsi
call fcn.14017d7d4
cmp eax, edi
je 0x14017eca9
mov rcx, rsi
call fcn.14017d7d4
cmp eax, 0xfffffffe
je 0x14017eca9
mov rcx, rsi
call fcn.14017d7d4
movsxd rbx, eax
lea r14, [0x14022d860]
mov rcx, rsi
sar rbx, 6
call fcn.14017d7d4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14017ecb0
lea rdx, [0x140222330]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14017ecbe
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14017ece2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14017ece2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14017ece2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14017ed08
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret