joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800511e0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x1800511ee
xor eax, eax
test eax, eax
jne 0x1800511ee
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x28
ret

Function at 0x180051220
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x18005122e
xor eax, eax
test eax, eax
jne 0x18005122e
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x180051320
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1800ec5c8]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x50]
call fcn.18001ed60
mov r11, qword [rsp + 0x2a0]
mov r9d, dword [r11 + 8]
or r9d, 0x2001f
mov r8, qword [rsp + 0x2a8]
mov rdx, qword [rsp + 0x2a0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.18001ee00
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1800513a9
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0x50]
call fcn.18001ed90
mov eax, dword [rsp + 0x270]
jmp 0x18005146d
mov dword [rsp + 0x40], pe_nt_image_headers64
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180051436
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180051320
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x180051429
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x274], eax
lea rcx, [rsp + 0x50]
call fcn.18001ed90
mov eax, dword [rsp + 0x274]
jmp 0x18005146d
mov dword [rsp + 0x40], pe_nt_image_headers64
jmp 0x1800513b1
lea rcx, [rsp + 0x50]
call fcn.18001edb0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.1800511e0
mov dword [rsp + 0x278], eax
lea rcx, [rsp + 0x50]
call fcn.18001ed90
mov eax, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180053f80
add rsp, 0x298
ret
Function at 0x180051a20
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x180051a33
xor eax, eax
test eax, eax
jne 0x180051a33
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180051a80
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x180051a98
xor eax, eax
test eax, eax
jne 0x180051a98
cmp qword [rsp + 0x60], 0
je 0x180051ab6
mov dword [rsp + 0x34], 1
jmp 0x180051abe
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x180051ad4
mov eax, 0xd
jmp 0x180051b16
xor eax, eax
test eax, eax
jne 0x180051aa4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x180051b20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x180051b33
xor eax, eax
test eax, eax
jne 0x180051b33
cmp qword [rsp + 0x70], 0
je 0x180051b51
mov dword [rsp + 0x48], 1
jmp 0x180051b59
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x180051b72
mov eax, 0xd
jmp 0x180051bf3
xor eax, eax
test eax, eax
jne 0x180051b3f
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x180051b8a
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret
Function at 0x180058623
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800ec5c8]
jne 0x180053f9a
rol rcx, 0x10
test cx, 0xffff
jne 0x180053f96
repz ret
ror rcx, 0x10
jmp 0x18005857c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800edd10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800ede08]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180058601
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1800edd10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180058623
mov rax, qword [rsp + 0x88]
mov qword [0x1800ede08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1800edda8], rax
mov rax, qword [0x1800ede08]
mov qword [0x1800edc80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1800edd90], rax
mov dword [0x1800edc70], 0xc0000409
mov dword [0x1800edc74], 1
mov rax, qword [0x1800ec5c8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1800ec5d0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800edd08], eax
mov ecx, 1
call fcn.180067338
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180078fa0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800edd08], 0
jne 0x1800586aa
mov ecx, 1
call fcn.180067338
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x180059014
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180058e7c
Function at 0x1800679a8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180057b54
xor ebx, ebx
mov rdi, rax
cmp qword [0x1800ee9a8], rbx
jne 0x180067aae
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180067b83
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180067b83
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18007b8f8]
mov rcx, rsi
mov qword [0x1800ee9a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1800ee9b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1800ee9b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1800ee9c8], rax
test rax, rax
je 0x180067aa5
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1800ee9c0], rax
jmp 0x180067ab5
mov rax, qword [0x1800ee9c0]
jmp 0x180067abc
mov rax, qword [0x1800ee9c0]
mov r11, qword [0x1800ee9c8]
cmp rax, rdi
je 0x180067b24
cmp r11, rdi
je 0x180067b24
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1800ee9c8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180067b24
test rax, rax
je 0x180067b24
call rsi
test rax, rax
je 0x180067b1e
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180067b1e
test byte [rsp + 0x38], 1
jne 0x180067b24
bts ebp, 0x15
jmp 0x180067b62
mov rcx, qword [0x1800ee9b0]
cmp rcx, rdi
je 0x180067b62
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180067b62
call rax
mov rbx, rax
test rax, rax
je 0x180067b62
mov rcx, qword [0x1800ee9b8]
cmp rcx, rdi
je 0x180067b62
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180067b62
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800ee9a8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180067b83
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180067b85
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140007fa0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007fdb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008000
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002e0c0], 0
jne 0x140008018
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007fce
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d390]
mov qword [rsp + 0x20], 0
lea rdi, [0x14002e0e0]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400080e4
test al, 0x10
je 0x140007fe4
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007fe4
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140008090
jmp 0x140007fe4

Function at 0x14000eed0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.1400152b0
sub rsp, rax
mov eax, dword [0x1400320e0]
mov rsi, rcx
test eax, eax
je 0x14000ef70
xor ebx, ebx
lea rdi, [0x1400300e0]
test eax, eax
jg 0x14000ef0c
jmp 0x14000ef20
add rbx, 1
cmp dword [0x1400320e0], ebx
jle 0x14000ef20
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000ef00
jmp 0x14000ef57
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000ef35
cmp word [rsi + 2], 0x3a
je 0x14000ef57
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000efc0
movsxd rbx, dword [0x1400320e0]
cmp ebx, 0x3ff
jle 0x14000efd8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str._HOME_
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007870
test al, al
je 0x14000effa
movsxd rbx, dword [0x1400320e0]
mov rcx, rdi
lea rdi, [0x1400300e0]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x1400320e0]
add eax, 1
mov dword [0x1400320e0], eax
jmp 0x14000eef1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000ef44
xor eax, eax
jmp 0x14000ef5c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x1400320e0], 1
mov rdx, rax
lea rax, [0x1400300e0]
mov qword [rax + rbx*8], rdx
jmp 0x14000ef57
mov rcx, rbx
call fcn.140007ee0
nop
nop word cs:[rax + rax]
nop
Function at 0x1800012e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180025058]
xor rax, rsp
mov qword [rbp - 0x10], rax
and dword [rbp - 0x18], 0
lea rax, [rbp - 0x20]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x14], 4
lea rdx, str.SystemCurrentControlSetServices_nv3dmp_loader_buildType
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x18000135c
xor ecx, ecx
call fcn.180001c60
test al, al
je 0x180001405
mov r8d, dword [rbp - 0x18]
lea rcx, str.RegOpenKeyEx_failed__0x_lx_._buildType___d_may_not_match_to_miniport_driver._n
mov edx, ebx
call fcn.180001820
jmp 0x180001405
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x14]
mov qword [rsp + 0x30], rax
lea r8, str.typeID
lea rax, [rbp - 0x18]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
je 0x1800013b2
xor ecx, ecx
call fcn.180001c60
test al, al
je 0x1800013d6
mov r8d, dword [rbp - 0x18]
lea rcx, str.RegGetValue_failed__0x_lx_._buildType___d__may_not_match_to_miniport_driver._n
mov edx, ebx
call fcn.180001820
jmp 0x1800013d6
cmp dword [rbp - 0x18], 3
jb 0x1800013d6
and dword [rbp - 0x18], 0
xor ecx, ecx
call fcn.180001c60
test al, al
je 0x1800013d6
mov edx, dword [rbp - 0x18]
lea rcx, str.Invalid_buildType_value._Set_it_to_default_value___d__which_may_not_match_to_miniport_driver._n
call fcn.180001820
mov ecx, 2
call fcn.180001c60
test al, al
je 0x1800013fb
mov r8d, dword [rbp - 0x18]
lea rdx, str.VM3DGetBuildType
lea rcx, str._s:_buildType___d__n
call fcn.180001820
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800029b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x180001554
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x180025058]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r15d, r15d
movsxd r14, ecx
lea r12, [0x180000000]
mov qword [rsp + 0x20], r15
lea rdi, [r14 + r14*4]
cmp qword [r12 + rdi*8 + 0x26d20], r15
je 0x1800015a0
xor eax, eax
jmp 0x1800016e1
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180019a78]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
js 0x1800016e1
mov rcx, qword [r12 + rdi*8 + 0x26d00]
or r8, 0xffffffffffffffff
mov rax, r8
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1800015cf
mov rdx, qword [rsp + 0x20]
mov rcx, r8
inc rcx
cmp word [rdx + rcx*2], r15w
jne 0x1800015e1
lea rbp, [rcx + 1]
add rbp, rax
mov eax, 2
mov ebp, ebp
mul rbp
cmovo rax, r8
mov rcx, rax
call fcn.1800049e4
mov rsi, rax
test rax, rax
jne 0x18000161a
mov ebx, 0x8007000e
jmp 0x1800016d4
mov r8, qword [rsp + 0x20]
mov rdx, rbp
mov rcx, rsi
call fcn.180004968
mov r8, qword [r12 + rdi*8 + 0x26d00]
mov rdx, rbp
mov rcx, rsi
call fcn.1800048e8
xor ecx, ecx
call fcn.180001c60
test al, al
je 0x180001662
mov edx, dword [section..data]
lea rcx, str.WDDM_Usermode_Loading_the__s_build_type_n
mov rdx, qword [r12 + rdx*8 + 0x25038]
call fcn.180001820
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rsi
mov qword [r12 + rdi*8 + 0x26d18], rax
call fcn.1800049d0
mov rcx, qword [r12 + rdi*8 + 0x26d18]
test rcx, rcx
jne 0x18000169e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1800016d4
lea rdx, str.OpenAdapterWrapper
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r12 + rdi*8 + 0x26d20], rax
test rax, rax
jne 0x1800016d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov ecx, r14d
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
call fcn.1800017cc
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800029b0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180001b30
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x180
mov rax, qword [0x180025058]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov eax, dword [0x180025af0]
lea r9, [0x180026dc0]
mov dword [rsp + 0x28], eax
lea r8, str.C:_vm3dum_log_vm3dum_s__d__d.log
mov eax, dword [0x180026d90]
lea rcx, [0x180026de0]
mov edx, 0x80
mov dword [rsp + 0x20], eax
call fcn.180001d70
mov r8d, 0x20
lea rdx, [0x180019aac]
lea rcx, [0x180026de0]
call fcn.1800050d4
mov rsi, rax
test rax, rax
je 0x180001c3f
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x198], rdi
lea rcx, str.C:_vm3dum_log_vm3dum.log
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180001c23
mov qword [rsp + 0x190], rbx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x180001c01
inc ebx
cmp ebx, 0x200
ja 0x180001c01
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180001be5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x200
mov rbx, qword [rsp + 0x190]
ja 0x180001c23
mov qword [0x180025ae8], rsi
jmp 0x180001c37
mov rcx, rsi
call fcn.180004c34
lea rcx, [0x180026de0]
call fcn.1800052f0
mov rdi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1800029b0
add rsp, 0x180
pop rsi
ret

Function at 0x180002440
Capabilities:
Create process memory minidump

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x5f0
mov rax, qword [0x180025058]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
lea rdx, str.CoreDump_CoreDump
lea rcx, str._s:_faking_exception_to_get_context_n
call fcn.180001820
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcafebabe
call qword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x18000cbac
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000cbcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18000a884
or eax, 0xffffffff
jmp 0x18000cbce
xor eax, eax
add rsp, 0x28
ret

Function at 0x180016da0
Capabilities:
Reference the vmware io port

Disassembly:
mov eax, 0x5658
mov dword [rcx], 0x564d5868
mov word [rcx + 0x18], ax
jmp 0x180016e00
push rbx
push rsi
push rdi
mov rax, rcx
push rax
mov rdi, qword [rax + 0x28]
mov rsi, qword [rax + 0x20]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rax]
in eax, dx
xchg qword [rsp], rax
mov qword [rax + 0x28], rdi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 8], rbx
pop qword [rax]
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001bb80
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x2020
call fcn.14001d330
sub rsp, rax
mov rsi, rcx
mov eax, dword [0x14002f0b0]
test eax, eax
je 0x14001bba6
test eax, eax
jg 0x14001bbee
jmp 0x14001bc23
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
mov r8d, 0x1000
call fcn.140014170
test al, al
je 0x14001bc9b
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__wcsdup
movsxd rcx, dword [0x14002f0b0]
lea rdx, [0x14003c120]
mov qword [rdx + rcx*8], rax
lea eax, [rcx + 1]
mov dword [0x14002f0b0], eax
test eax, eax
jle 0x14001bc23
lea rdi, [0x14003c120]
xor ebx, ebx
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x14001bc8e
add rbx, 1
movsxd rax, dword [0x14002f0b0]
add rdi, 8
cmp rbx, rax
jl 0x14001bc00
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14001bc3a
mov al, 1
cmp word [rsi + 2], 0x3a
je 0x14001bc90
mov rcx, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x14001bc5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test al, al
je 0x14001bc90
cmp dword [0x14002f0b0], 0x3ff
jg 0x14001bc90
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
movsxd rcx, dword [0x14002f0b0]
lea rdx, [0x14003c120]
mov qword [rdx + rcx*8], rax
lea eax, [rcx + 1]
mov dword [0x14002f0b0], eax
mov al, 1
add rsp, 0x2020
pop rbx
pop rdi
pop rsi
ret
lea rcx, str._HOME_
call fcn.140015840
int3

Function at 0x14001c030
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140022f30
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140022f30
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14001cce2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14003e1e8]
test eax, eax
je 0x14001cd7a
lea rax, [0x14003e1c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14003e1f0]
mov qword [rbp - 8], rax
jmp 0x14001cd5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14001cd52
cmp qword [rbp - 0x10], 0
je 0x14001cd52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14001cd18
lea rax, [0x14003e1c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001cd7b
nop
add rsp, 0x30
pop rbp
ret