joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015c71b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14020c6e0]
jne 0x140155daa
rol rcx, 0x10
test cx, 0xffff
jne 0x140155da6
repz ret
ror rcx, 0x10
jmp 0x14015c674
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140372fd0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1403730c8]
mov qword [rsp + 0x58], rax
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 0x14015c6f9
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, [0x140372fd0]
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 0x14015c71b
mov rax, qword [rsp + 0x88]
mov qword [0x1403730c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140373068], rax
mov rax, qword [0x1403730c8]
mov qword [0x140372f40], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140373050], rax
mov dword [0x140372f30], 0xc0000409
mov dword [0x140372f34], 1
mov rax, qword [0x14020c6e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14020c6e8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140372fc8], eax
mov ecx, 1
call fcn.140167c2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401cd5c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140372fc8], 0
jne 0x14015c7a2
mov ecx, 1
call fcn.140167c2c
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 0x1401679e4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14020c6e0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14015c1c4
xor ebx, ebx
cmp qword [0x140373838], rbx
mov rdi, rax
jne 0x140167af7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140167bce
lea rdx, [0x1401cdc38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140167bce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401cdc28]
mov rcx, rsi
mov qword [0x140373838], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401cdc10]
mov rcx, rsi
mov qword [0x140373840], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140373848], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140373858], rax
test rax, rax
je 0x140167aee
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140373850], rax
jmp 0x140167afe
mov rax, qword [0x140373850]
jmp 0x140167b05
mov rax, qword [0x140373850]
mov r11, qword [0x140373858]
cmp rax, rdi
je 0x140167b6c
cmp r11, rdi
je 0x140167b6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140373858]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140167b6c
test rax, rax
je 0x140167b6c
call rsi
test rax, rax
je 0x140167b66
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140167b66
test byte [rsp + 0x40], 1
jne 0x140167b6c
bts ebp, 0x15
jmp 0x140167bac
mov rcx, qword [0x140373840]
cmp rcx, rdi
je 0x140167bac
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140167bac
call rax
mov rbx, rax
test rax, rax
je 0x140167bac
mov rcx, qword [0x140373848]
cmp rcx, rdi
je 0x140167bac
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140167bac
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140373838]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140167bce
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140167bd0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140155d90
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180005140
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x118]
mov edi, edx
mov rsi, rcx
test rbx, rbx
je 0x18000522b
mov rcx, rbx
cmp edx, 0xffffff01
jne 0x1800051db
call fcn.180013b40
mov rcx, qword [rbx + 0x9c0]
mov dword [rbx + 0xb28], eax
test rcx, rcx
je 0x180005192
mov rax, qword [rcx]
mov edx, dword [0x18005c220]
call qword [rax + 0x38]
cmp dword [rbx + 0xaec], 0
jne 0x1800051a5
mov dword [rbx + Ordinal_3990], 0
xor r9d, r9d
lea r8, str.SetAudioVolume:__d
mov rcx, rbx
lea edx, [r9 + 2]
call fcn.1800190c0
lea rdx, str.Set_silent:_true
mov ecx, 2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180035240
cmp edx, 0xff
jne 0x180005220
mov edx, dword [rbx + 0xb28]
call fcn.180013ab0
mov edx, dword [0x18005bf58]
mov rcx, qword [rsi + 0x118]
call fcn.180013ab0
lea rdx, str.Set_silent:_false
mov ecx, 2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180035240
call fcn.180013ab0
mov dword [0x18005bf58], edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180005f70
Capabilities:
Check if file exists
Check mutex on windows
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ebx, edx
mov rsi, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_316]
nop
mov r8d, ebx
lea rdx, str._VBS_1.0__d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_4124]
mov r8, qword [rsp + 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180005ff4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Start_VBS_server:_Already_running.
mov ecx, 2
call fcn.180035240
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_889]
or eax, 0xffffffff
jmp 0x1800060e2
mov qword [rsi + 0x130], rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x68]
call fcn.18001b010
nop
mov r8, qword [rax]
lea rdx, str._sVBShtdocs
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_4124]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, 2
cmp eax, 0xffffffff
jne 0x180006078
mov r8, qword [rsp + 0x50]
lea rdx, str.Start_VBS_server:_no_found_folder__s
call fcn.180035240
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 0xfffffffe
jmp 0x1800060e2
mov r8d, ebx
lea rdx, str.Start_VBS_server:_Port__d
call fcn.180035240
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ca_core.dll_Ordinal_1]
test eax, eax
jne 0x1800060c6
lea rdx, str.StartHttpServer_failed.
lea ecx, [rax + 2]
call fcn.180035240
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 0xfffffffd
jmp 0x1800060e2
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800069c0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp qword [0x18005ec90], 0
mov qword [0x18005ec98], rdx
jne 0x1800069fd
xor eax, eax
lea r8, [0x180017af0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180007030
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rcx, [rsp + 0x48]
call fcn.180033ea0
nop
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.180036940
mov r8, qword [rsp + 0x48]
mov ecx, 2
test eax, eax
jne 0x180007119
lea rdx, str.unzip_madVR_package_to__s_ok.
call sym.CACapture.dll_CA_Log
lea r8, str.madVR.ax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1800071d0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete bl
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
test bl, bl
je 0x180007103
lea r8, str.madVRmadVR.ax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1800071d0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne bl
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
test bl, bl
je 0x180007103
mov r8, qword [rsp + 0x48]
lea rdx, str.unzip_madVR_package_to__smadVR_ok.
mov ecx, 2
call sym.CACapture.dll_CA_Log
call fcn.1800102b0
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, ebx
jmp 0x180007133
lea rdx, str.unzip_madVR_package_to__s_failed.
call sym.CACapture.dll_CA_Log
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1800076a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
movsxd rdi, ecx
mov r12, r9
mov r15, r8
lea ecx, [rdi + rdi*2]
mov esi, edx
mov r10d, ecx
and r10d, 0x80000003
jge 0x1800076d5
dec r10d
or r10d, 0xfffffffc
inc r10d
test r10d, r10d
je 0x1800076e5
mov eax, 4
sub eax, r10d
mov r10d, eax
lea r14d, [rcx + r10]
mov rcx, qword [rsp + 0x88]
lea rdx, [0x180041f3c]
call qword [sym.imp.MSVCR100.dll_fopen]
mov rbp, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x18000771d
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x60], rbx
mov ebx, r14d
mov qword [rsp + 0x68], r13
imul ebx, esi
add ebx, 0x36
movsxd rax, ebx
mov rcx, rax
mov qword [rsp + 0x28], rax
call qword [sym.imp.MSVCR100.dll_malloc]
movsxd r8, ebx
xor edx, edx
mov rcx, rax
mov r13, rax
call sub.MSVCR100.dll_memset
movzx eax, si
mov dword [r13 + 2], ebx
imul ax, r14w
mov word [r13 + 0x22], ax
lea eax, [rsi - 1]
mov word [r13], 0x4d42
mov dword [r13 + 0xa], reloc.ca_core.dll_Ordinal_54
mov dword [r13 + 0xe], Ordinal_47
mov dword [r13 + 0x12], edi
mov dword [r13 + 0x16], esi
mov ebx, 1
mov dword [r13 + 0x1a], 0x180001
movsxd r10, eax
test eax, eax
js 0x180007806
mov rsi, qword [rsp + 0x80]
mov rbx, r12
lea rbp, [r13 + 0x36]
test rdi, rdi
jle 0x1800077f4
movsxd rcx, r14d
mov r11, rsi
mov r8, r15
sub r11, r12
mov rdx, rbx
mov r9, rdi
imul rcx, r10
add rcx, rbp
sub r8, r12
nop dword [rax + rax]
movzx eax, byte [r11 + rdx]
add rcx, 3
inc rdx
dec r9
mov byte [rcx - 3], al
movzx eax, byte [rdx - 1]
mov byte [rcx - 2], al
movzx eax, byte [r8 + rdx - 1]
mov byte [rcx - 1], al
jne 0x1800077d0
add rbx, rdi
dec r10
jns 0x1800077a7
mov rbp, qword [rsp + 0x20]
mov ebx, 1
mov r8, qword [rsp + 0x28]
mov r9, rbp
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.MSVCR100.dll_fwrite]
mov rcx, r13
call qword [sym.imp.MSVCR100.dll_free]
mov rcx, rbp
call qword [sym.imp.MSVCR100.dll_fclose]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180008ce0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
mov dword [rcx + 0x7c], 0xffffffff
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
mov rcx, qword [rbx + 0x80]
mov rdi, rax
test rcx, rcx
je 0x180008dad
mov rcx, qword [rcx + 0x58]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x180008dad
nop dword [rax]
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x180008d6c
cmp dword [rsp + 0x38], 0x12
je 0x180008d6c
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor ecx, ecx
call qword [sym.imp.MSVCR100.dll__time64]
mov rcx, qword [rbx + 0x80]
mov rcx, qword [rcx + 0x58]
sub rax, rdi
cmp rax, 0xf
jg 0x180008da5
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x180008d30
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1800093e0
Capabilities:
Delete file
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x38], rsi
lea rdx, str.SoftwareCAHE_
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc100.dll_Ordinal_310]
mov r9d, 0x2001f
mov r8, qword [rax]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x28]
call fcn.18000a900
test eax, eax
sete bl
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc100.dll_Ordinal_889]
test bl, bl
mov rbx, qword [rsp + 0x28]
je 0x18000948a
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180009467
mov r8, rdx
mov rdx, rbx
call fcn.18000a850
jmp 0x180009470
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test rbx, rbx
je 0x180009486
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x78]
call fcn.18001b0e0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180007150
nop
lea r8, str._akey.dat
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800071d0
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
test rbx, rbx
je 0x1800094f8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rdi
call qword [sym.imp.mfc100.dll_Ordinal_889]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000a850
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x18000a8c4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18000a8e6
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000a8e6
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x18000a8e6
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1800102b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x18005b0d0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
mov dword [rsp + 0x38], edi
lea rdx, [rsp + 0x60]
lea rcx, str.E1A8B82A_32CE_4B0D_BE0D_AA68C772E423
call qword [sym.imp.RPCRT4.dll_UuidFromStringA]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1800416f0]
xor edx, edx
lea r8d, [rdi + 3]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1800103b9
lea rcx, [rsp + 0x30]
call fcn.180033ea0
nop
lea r8, str.madVR.ax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1800071d0
nop
mov ebx, 1
mov dword [rsp + 0x38], ebx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180010380
lea r8, str.madVRmadVR.ax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1800071d0
lea ebx, [rdi + 3]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180010385
mov edi, 1
test bl, 2
je 0x180010399
and ebx, 0xfffffffd
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
test bl, 1
je 0x1800103aa
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, edi
jmp 0x1800103c9
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.ca_core.dll_Ordinal_16]
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18003c580
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x180011430
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
mov rbx, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rax
call fcn.18000aa00
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x1800114c7
mov rdx, qword [rbx]
lea rax, [rsp + 0x60]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp qword [rsp + 0x30], 0
je 0x1800114a5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rcx, rbx
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
test rcx, rcx
je 0x1800114d2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rcx, rbx
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x180011b30
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x9e0], 0
mov rbx, rcx
je 0x180011c26
mov eax, dword [rcx + 0xb64]
mov r9d, dword [rcx + 0xb60]
mov r8d, dword [rcx + 0xb5c]
mov edx, dword [rcx + 0xb58]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x40], rdi
call fcn.180012500
mov r11d, dword [rbx + 0xb64]
lea r8, str.Start_run_graph.
mov edx, 2
mov rcx, rbx
mov dword [rbx + 0x68], r11d
call fcn.1800190c0
mov rcx, qword [rbx + 0x9e0]
mov dword [rbx + 0xaa8], 1
xor edi, edi
mov dword [rbx + 0xcb0], edi
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jns 0x180011bf7
lea r8, str.Start_run_graph_failed___x_.
lea edx, [rdi + 2]
mov r9d, eax
mov rcx, rbx
call fcn.1800190c0
lea rcx, [rbx + 0x240]
call qword [sym.imp.MSVCR100.dll_atoi]
mov rcx, qword [rbx + 0x1d00]
lea r9d, [rdi + 1]
movsxd r8, eax
mov edx, 0x26ae
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_PostMessageA]
lea r8, [0x180011cf0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rbx + 0xb40], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 0xad8], rax
add rsp, 0x30
pop rbx
ret
Function at 0x1800138c0
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
lea r8, str.Start_CaptureImage.
mov edx, 2
call fcn.1800190c0
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_316]
nop
lea rcx, [rsp + 0x68]
call fcn.18001af80
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov r8, qword [rbx]
lea rdx, str._sc_d.bmp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_4124]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_889]
xor ebx, ebx
test ebp, ebp
je 0x180013946
mov eax, dword [rdi + 0xb64]
cdq
sub eax, edx
sar eax, 1
jmp 0x180013948
mov eax, ebx
mov dword [rdi + 0xc78], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_300]
mov rdx, rax
mov rcx, rdi
call fcn.180013f20
test eax, eax
jne 0x1800139c1
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [r8 + rdx + 0xb74], al
inc rdx
test al, al
jne 0x180013980
mov eax, ebx
test ebp, ebp
setne al
inc eax
mov dword [rdi + 0xb70], eax
je 0x1800139c6
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x3e8
jg 0x1800139c1
cmp dword [rdi + 0xb70], 0
jne 0x1800139a3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x180013a11
test ebp, ebp
je 0x180013a11
lea r8, str.capture_image_failed.
mov edx, 2
mov rcx, rdi
call fcn.1800190c0
lea rcx, [rdi + 0x240]
call qword [sym.imp.MSVCR100.dll_atoi]
movsxd r8, eax
mov edx, 0x26ae
mov r9d, 3
mov rcx, qword [rdi + 0x1d00]
call qword [sym.imp.USER32.dll_PostMessageA]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc100.dll_Ordinal_310]
nop
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.mfc100.dll_Ordinal_11465]
nop
lea rdx, str..bmp
mov rcx, rax
call qword [sym.imp.mfc100.dll_Ordinal_2530]
test eax, eax
sete bl
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc100.dll_Ordinal_889]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
test bl, bl
je 0x180013a78
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x180013a7d
call fcn.180007340
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc100.dll_Ordinal_889]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x180013e60
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x20
xorpd xmm0, xmm0
movsxd rax, r8d
mov rdi, rcx
shr rax, 1
xor ecx, ecx
mov r9, rdx
movsxd r8, eax
test eax, eax
jle 0x180013eb2
movsd xmm1, qword [0x18004c530]
nop word [rax + rax]
movsx eax, word [r9 + rcx*2]
add rcx, 0x780
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cmp rcx, r8
jl 0x180013e90
inc dword [rdi + 0x1da8]
mov r8d, dword [rdi + 0x1da8]
lea rcx, [rdi + 0x240]
cmp byte [rcx], 0
jle 0x180013f17
mov eax, 0xcccccccd
mul r8d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
cmp r8d, eax
jne 0x180013f17
mulsd xmm0, qword [0x18004c528]
mov qword [rsp + 0x30], rbx
cvttsd2si rbx, xmm0
mov ebx, ebx
call qword [sym.imp.MSVCR100.dll_atoi]
mov rcx, qword [rdi + 0x1d00]
mov r9d, ebx
mov edx, 0x18150
movsxd r8, eax
call qword [sym.imp.USER32.dll_PostMessageA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret