joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001590
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
jne 0x1400016f4
lea rcx, str.Setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx], rax
test rax, rax
jne 0x1400015c1
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
lea rdx, str.SetupDiGetINFClassA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiSetDeviceRegistryPropertyA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceRegistryPropertyA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetClassDevsA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiCreateDeviceInfoA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceInstallParamsA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiDestroyDeviceInfoList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiCreateDeviceInfoList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiCallClassInstaller
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiEnumDeviceInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14000172a
mov rcx, qword [rbx]
lea rdx, str.SetupDiRemoveDevice
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
test rax, rax
je 0x14000172a
cmp qword [rbx + 8], 0
jne 0x140001761
lea rcx, str.Newdev.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000172a
lea rdx, str.UpdateDriverForPlugAndPlayDevicesA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x60], rax
test rax, rax
jne 0x140001761
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001738
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 8]
mov qword [rbx], 0
test rcx, rcx
je 0x14000174e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], 0
mov eax, 0xfffffffe
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x70], 0
mov byte [rbx + 0x74], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140001d50
Capabilities:
Create directory

Disassembly:
sub rsp, 0x438
mov rax, qword [0x140015008]
xor rax, rsp
mov qword [rsp + 0x420], rax
test rcx, rcx
jne 0x140001d88
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140004650
add rsp, 0x438
ret
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x430], rdi
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x140001da0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp ecx, 5
jl 0x140001ea5
cmp byte [rsp + 0x22], 0x5c
lea ecx, [rax + 2]
je 0x140001def
lea rax, [rsp + 0x22]
nop dword [rax]
cmp byte [rax], 0
je 0x140001def
inc rax
inc ecx
cmp byte [rax], 0x5c
jne 0x140001de0
cmp byte [rsp + 0x20], 0x5c
jne 0x140001e25
cmp byte [rsp + 0x21], 0x5c
jne 0x140001e25
movsxd rax, ecx
cmp byte [rsp + rax + 0x20], 0
je 0x140001e09
inc ecx
movsxd rax, ecx
lea rdx, [rsp + rax + 0x20]
cmp byte [rdx], 0x5c
je 0x140001e25
cmp byte [rdx], 0
je 0x140001e25
inc rdx
inc ecx
cmp byte [rdx], 0x5c
jne 0x140001e16
movsxd rax, ecx
cmp byte [rsp + rax + 0x20], 0
je 0x140001ea0
lea eax, [rcx + 1]
xor edx, edx
cdqe
lea rdi, [rsp + rax + 0x20]
cmp byte [rdi], dl
je 0x140001ea0
nop
cmp byte [rdi], 0x5c
jne 0x140001e6b
lea rcx, [rsp + 0x20]
xor edx, edx
mov byte [rdi], 0
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001e66
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001e9c
mov byte [rdi], 0x5c
xor edx, edx
inc rdi
cmp byte [rdi], 0
je 0x140001e7a
inc edx
cmp byte [rdi], 0
jne 0x140001e40
test edx, edx
jle 0x140001ea0
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001ea0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140001ea0
xor eax, eax
jmp 0x140001ea5
mov eax, 1
mov rdi, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140004650
add rsp, 0x438
ret
Function at 0x140001ed0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x970
mov rax, qword [0x140015008]
xor rax, rsp
mov qword [rsp + 0x960], rax
lea rbx, [rsp + 0x160]
mov rsi, rcx
lea rbp, [rsp + 0x160]
sub rbx, rcx
nop
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rbx + rcx - 1], al
test al, al
jne 0x140001f20
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rbp - 2], 0x5c
je 0x140001f61
lea rdi, [rsp + 0x160]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x140011f70]
mov word [rdi - 1], ax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
mov eax, dword [0x140011f74]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
mov dword [rdi - 1], eax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001fca
mov ecx, dword [rsp + 0x20]
and ecx, 0x10
je 0x140001fa6
cmp byte [rsp + 0x4c], 0x2e
jne 0x140002001
test ecx, ecx
mov rcx, rdi
je 0x140002091
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x140001f96
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, 1
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.140004650
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, rsi
nop dword [rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rbx + rdx - 1], al
test al, al
jne 0x140002010
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rbp - 2], 0x5c
je 0x140002051
lea rdi, [rsp + 0x160]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x140011f70]
mov word [rdi - 1], ax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x4c]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140002070
lea rcx, [rsp + 0x160]
call fcn.140001ed0
jmp 0x140001f10
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, rsi
nop word [rax + rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rbx + rdx - 1], al
test al, al
jne 0x1400020a0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rbp - 2], 0x5c
je 0x1400020e1
lea rdi, [rsp + 0x160]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x140011f70]
mov word [rdi - 1], ax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x160]
repne scasb al, byte [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x4c]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140002100
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
je 0x140001f10
jmp 0x140001fca
Function at 0x140003280
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x140015008]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, qword [r8]
mov rbp, rdx
mov rsi, rcx
mov ebx, 1
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x40], 0x3ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140003327
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov r9d, 0x10008
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140003311
xor eax, eax
mov ebx, eax
jmp 0x1400032b1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140003280
mov ebx, eax
jmp 0x1400032af
cmp eax, 0x103
jne 0x140003349
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
mov eax, 0
je 0x1400032b1
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140004650
mov rbx, qword [rsp + 0x498]
add rsp, 0x460
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003f00
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x240
mov rax, qword [0x140015008]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov eax, edx
mov qword [r11 + 0x10], rsi
mov rsi, rcx
shr eax, 2
mov edi, edx
lea rcx, [rsp + 0x30]
test eax, eax
je 0x140003f5f
mov r8d, eax
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x30]
mov rdx, rsi
shl r8, 2
mov ebx, eax
call fcn.14000a7a0
lea rcx, [rsp + rbx*4 + 0x30]
lea rsi, [rsi + rbx*4]
mov rbx, qword [rsp + 0x250]
mov eax, edi
and eax, 3
cmp eax, 1
jb 0x140003f78
test eax, eax
je 0x140003f78
mov r8d, eax
mov rdx, rsi
call fcn.14000a7a0
mov rsi, qword [rsp + 0x258]
lea rcx, [rsp + 0x30]
mov eax, 0x2e4110a3
test edi, edi
jle 0x140003fa4
nop
add eax, edi
dec edi
inc rcx
imul eax, eax
sar eax, 8
xor byte [rcx - 1], al
test edi, edi
jg 0x140003f90
mov rcx, qword [0x140018e50]
lea r8, [rsp + 0x30]
lea rdx, str.open
xor r9d, r9d
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004650
add rsp, 0x240
pop rdi
ret

Function at 0x1400044d0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140015008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rcx
mov rcx, r8
mov dword [0x140018e40], 1
call fcn.140001ca0
lea r8, str.VB_Audio_VoicemeeterVAIOs_Installation__Mutex_250F7F23_4603_470A_8E89_AFAA01AC2FA1
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
test rax, rax
je 0x140004536
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
cmp eax, 0xb7
jne 0x14000453e
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
or eax, 0xffffffff
jmp 0x140004619
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x140018e50]
xor edx, edx
mov r8d, 0x10d0
call fcn.1400077f0
lea r8, str.2.1.5.5
lea rdx, str.VB_Audio_Virtual_Cable_Driver_Installation__Version__s_
lea rcx, [rsp + 0x50]
mov qword [0x140018e58], rdi
call fcn.140004a3c
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140004360
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x1400045cd
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x1400045a0
mov rcx, qword [0x1400189c0]
test rcx, rcx
je 0x1400045df
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x1400189c8]
xor edi, edi
mov qword [0x1400189c0], rdi
test rcx, rcx
je 0x1400045fa
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
mov qword [0x1400189c8], rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x140018e44]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140004650
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
Function at 0x140004eab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140015008]
jne 0x14000466a
rol rcx, 0x10
test cx, 0xffff
jne 0x140004666
repz ret
ror rcx, 0x10
jmp 0x140004e04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400175c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400176b8]
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 0x140004e89
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, [0x1400175c0]
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 0x140004eab
mov rax, qword [rsp + 0x88]
mov qword [0x1400176b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140017658], rax
mov rax, qword [0x1400176b8]
mov qword [0x140017530], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140017640], rax
mov dword [0x140017520], 0xc0000409
mov dword [0x140017524], 1
mov rax, qword [0x140015008]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140015010]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400175b8], eax
mov ecx, 1
call fcn.140008668
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400104a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400175b8], 0
jne 0x140004f32
mov ecx, 1
call fcn.140008668
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 0x140005468
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400052d8
Function at 0x140009c98
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 [0x140015008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400065b0
xor ebx, ebx
cmp qword [0x1400184f0], rbx
mov rdi, rax
jne 0x140009dab
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140009e82
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009e82
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400184f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400184f8], 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 [0x140018500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140018510], rax
test rax, rax
je 0x140009da2
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 [0x140018508], rax
jmp 0x140009db2
mov rax, qword [0x140018508]
jmp 0x140009db9
mov rax, qword [0x140018508]
mov r11, qword [0x140018510]
cmp rax, rdi
je 0x140009e20
cmp r11, rdi
je 0x140009e20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140018510]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140009e20
test rax, rax
je 0x140009e20
call rsi
test rax, rax
je 0x140009e1a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140009e1a
test byte [rsp + 0x40], 1
jne 0x140009e20
bts ebp, 0x15
jmp 0x140009e60
mov rcx, qword [0x1400184f8]
cmp rcx, rdi
je 0x140009e60
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009e60
call rax
mov rbx, rax
test rax, rax
je 0x140009e60
mov rcx, qword [0x140018500]
cmp rcx, rdi
je 0x140009e60
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009e60
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400184f0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009e82
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140009e84
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004650
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800063bc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov ebx, 0x4aeec3
mov r11d, 0x80000003
mov dword [rsp + 8], ebx
mov r9d, 1
mov eax, dword [rsp + 8]
mov rdx, rcx
mov eax, dword [rsp + 8]
and eax, r11d
cmp eax, r9d
mov eax, dword [rsp + 8]
je 0x180006419
and eax, r11d
cmp eax, 2
mov eax, dword [rsp + 8]
jne 0x180006400
add eax, edx
imul eax, edx
jmp 0x180006415
and eax, r11d
cmp eax, 3
jne 0x180006419
mov eax, dword [rsp + 8]
sub ecx, eax
mov eax, dword [rsp + 8]
imul eax, ecx
mov dword [rsp + 8], eax
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180006517
mov dword [rsp + 8], ebx
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
and eax, r11d
cmp eax, r9d
mov eax, dword [rsp + 8]
je 0x18000646d
and eax, r11d
cmp eax, 2
mov eax, dword [rsp + 8]
jne 0x180006452
add eax, edx
imul eax, edx
jmp 0x180006469
and eax, r11d
cmp eax, 3
jne 0x18000646d
mov eax, dword [rsp + 8]
mov ecx, edx
sub ecx, eax
mov eax, dword [rsp + 8]
imul eax, ecx
mov dword [rsp + 8], eax
movsxd r8, dword [rdx + 0x3c]
mov dword [rsp + 8], ebx
add r8, rdx
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
and eax, r11d
cmp eax, r9d
mov eax, dword [rsp + 8]
je 0x1800064bd
and eax, r11d
cmp eax, 2
mov eax, dword [rsp + 8]
jne 0x1800064a1
add eax, r8d
imul eax, r8d
jmp 0x1800064b9
and eax, r11d
cmp eax, 3
jne 0x1800064bd
mov eax, dword [rsp + 8]
mov ecx, r8d
sub ecx, eax
mov eax, dword [rsp + 8]
imul eax, ecx
mov dword [rsp + 8], eax
cmp dword [r8], 0x4550
jne 0x180006517
mov dword [rsp + 8], ebx
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
and eax, r11d
cmp eax, r9d
mov eax, dword [rsp + 8]
je 0x180006512
and eax, r11d
cmp eax, 2
jne 0x1800064f5
mov eax, dword [rsp + 8]
add eax, edx
imul eax, edx
mov dword [rsp + 8], eax
jmp 0x180006512
mov ecx, dword [rsp + 8]
and ecx, r11d
cmp ecx, 3
jne 0x180006512
mov ecx, dword [rsp + 8]
sub edx, ecx
mov ecx, dword [rsp + 8]
imul ecx, edx
mov dword [rsp + 8], ecx
mov rax, r8
jmp 0x18000655a
mov dword [rsp + 8], ebx
mov eax, dword [rsp + 8]
mov eax, dword [rsp + 8]
and eax, r11d
cmp eax, r9d
mov eax, dword [rsp + 8]
je 0x180006558
and eax, r11d
cmp eax, 2
mov eax, dword [rsp + 8]
jne 0x18000653f
add eax, edx
jmp 0x180006551
and eax, r11d
cmp eax, 3
jne 0x180006558
mov eax, dword [rsp + 8]
sub edx, eax
mov eax, dword [rsp + 8]
imul eax, edx
mov dword [rsp + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x10]
ret
Function at 0x140006c20
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140109340]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop dword [rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140006ca0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140006d1d
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140006ccb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400d8620
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140006d1d
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x2c]
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 3
mov byte [rbx], r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x140006d20
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
jbe 0x140006d2d
mov rcx, qword [rdi]
sub rcx, rbx
movzx edx, byte [rbx]
movzx eax, byte [rbx + rcx]
sub edx, eax
jne 0x140006d44
inc rbx
test eax, eax
jne 0x140006d30
mov rcx, rsi
test edx, edx
je 0x140006d72
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140006c90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400061e0
xor eax, eax
jmp 0x140006d87
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword ds:[rbp + 8]
mov rcx, rdi
call fcn.1400061e0
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.1400d7440
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
Function at 0x140028120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
movzx eax, byte [rdx + 0x24]
mov byte [rcx + 0x24], al
movzx eax, byte [rdx + 0x25]
mov byte [rcx + 0x25], al
mov rax, qword [rdx + 0x28]
mov qword [rcx + 0x28], rax
add rcx, 0x30
add rdx, 0x30
call fcn.1400086a0
mov eax, dword [rdi + 0x50]
mov dword [rsi + 0x50], eax
lea rbx, [rsi + 0x58]
mov qword [rsp + 0x38], rbx
mov rax, qword [rdi + 0x58]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rdi + 0x60]
call fcn.140028300
nop
vmovsd xmm0, qword [rdi + 0x80]
vmovsd qword [rbx + 0x28], xmm0
vmovsd xmm0, qword [rdi + 0x88]
vmovsd qword [rbx + 0x30], xmm0
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0x38], eax
vmovsd xmm0, qword [rdi + 0x94]
vmovsd qword [rbx + 0x3c], xmm0
vmovsd xmm0, qword [rdi + 0x9c]
vmovsd qword [rbx + 0x44], xmm0
mov eax, dword [rdi + 0xa4]
mov dword [rbx + 0x4c], eax
vmovsd xmm0, qword [rdi + 0xa8]
vmovsd qword [rbx + 0x50], xmm0
mov eax, dword [rdi + 0xb0]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi + 0xb4]
mov dword [rbx + 0x5c], eax
lea rcx, [rbx + 0x60]
lea rdx, [rdi + 0xb8]
call fcn.1400086a0
mov eax, dword [rdi + 0xd8]
mov dword [rbx + 0x80], eax
vmovsd xmm0, qword [rdi + 0xdc]
vmovsd qword [rbx + 0x84], xmm0
vmovups xmm0, xmmword [rdi + 0xe8]
vmovups xmmword [rbx + 0x90], xmm0
mov eax, dword [rdi + 0xf8]
mov dword [rbx + 0xa0], eax
mov eax, dword [rdi + 0xfc]
mov dword [rbx + 0xa4], eax
mov eax, dword [rdi + 0x100]
mov dword [rbx + 0xa8], eax
mov eax, dword [rdi + 0x104]
mov dword [rbx + 0xac], eax
mov eax, dword [rdi + 0x108]
mov dword [rbx + 0xb0], eax
mov eax, dword [rdi + 0x10c]
mov dword [rbx + 0xb4], eax
mov eax, dword [rdi + 0x110]
mov dword [rbx + 0xb8], eax
mov rax, qword [rdi + 0x118]
mov qword [rbx + 0xc0], rax
mov eax, dword [rdi + 0x120]
mov dword [rbx + 0xc8], eax
mov eax, dword [rdi + 0x124]
mov dword [rbx + 0xcc], eax
movzx eax, byte [rdi + 0x128]
mov byte [rbx + 0xd0], al
vmovss xmm0, dword [rdi + 0x130]
vmovss dword [rsi + 0x130], xmm0
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret