joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fb50
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, str.SystemCurrentControlSetEnumIDE
xor edi, edi
mov qword [rbp - 0x39], rax
lea r13, [rbp - 0x39]
lea rax, str.SystemCurrentControlSetEnumSCSI
mov qword [rbp + 0xf], rdi
mov qword [rbp - 0x31], rax
mov r12d, edi
lea rax, str.qemu
mov qword [rbp - 0x29], rax
lea rax, str.virtio
mov qword [rbp - 0x21], rax
lea rax, str.vmware
mov qword [rbp - 0x19], rax
lea rax, str.vbox
mov qword [rbp - 0x11], rax
lea rax, [0x14001e5d8]
mov qword [rbp - 9], rax
lea rax, [0x14001e5e0]
mov qword [rbp - 1], rax
lea rax, str.Virtual
mov qword [rbp + 7], rax
mov rdx, qword [r13]
lea rax, [rbp + 0xf]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x17], edi
mov rcx, 0xffffffff80000002
mov dword [rbp + 0x1b], edi
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fd1c
mov rcx, qword [rbp + 0xf]
lea rax, [rbp + 0x1b]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000fd12
mov eax, dword [rbp + 0x1b]
lea r15d, [rax*2 + 2]
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000fd12
cmp dword [rbp + 0x17], 0
mov r14d, edi
jbe 0x14000fd09
nop dword [rax + rax]
mov rcx, qword [rbp + 0xf]
lea r9, [rbp + 0x1f]
mov qword [rsp + 0x38], rdi
mov r8, rsi
mov qword [rsp + 0x30], rdi
mov edx, r14d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rbp + 0x1f], r15d
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000fcfe
mov ebx, edi
lea rdi, [rbp - 0x29]
nop word [rax + rax]
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000fd5c
inc ebx
add rdi, 8
cmp ebx, 7
jb 0x14000fce0
xor edi, edi
inc r14d
mov ebx, edi
cmp r14d, dword [rbp + 0x17]
jb 0x14000fca0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
add r13, 8
cmp r12d, 2
jb 0x14000fbf2
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140016050
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14000fd2f
Function at 0x14000fd80
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rax, str.System32drivers_balloon.sys
xor esi, esi
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x392]
lea rax, str.System32drivers_netkvm.sys
mov word [rbp + 0x390], si
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, str.System32driverspvpanic.sys
mov r8d, 0x206
mov qword [rsp + 0x30], rax
lea rax, str.System32drivers_viofs.sys
mov qword [rsp + 0x38], rax
lea rax, str.System32drivers_viogpudo.sys
mov qword [rsp + 0x40], rax
lea rax, str.System32drivers_vioinput.sys
mov qword [rsp + 0x48], rax
lea rax, str.System32drivers_viorng.sys
mov qword [rsp + 0x50], rax
lea rax, str.System32drivers_vioscsi.sys
mov qword [rsp + 0x58], rax
lea rax, str.System32drivers_vioser.sys
mov qword [rsp + 0x60], rax
lea rax, str.System32drivers_viostor.sys
mov qword [rsp + 0x68], rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov word [rbp + 0x180], si
mov r8d, 0x206
lea rcx, [rbp + 0x182]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
mov qword [rsp + 0x70], rsi
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.140013500
test eax, eax
je 0x14000fe8b
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov rdi, rsi
nop
mov r8, qword [rsp + rdi*8 + 0x20]
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x180]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
mov word [rbp - 0x80], si
mov r8d, 0x1fe
lea rcx, [rbp - 0x7e]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x180]
mov edx, pe_nt_image_headers64
lea r8, str.Checking_file__s
lea rcx, [rbp - 0x80]
call fcn.140008e30
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000ff3c
test al, 0x10
jne 0x14000ff3c
lea rdx, [rbp - 0x80]
lea rcx, str.____s
call fcn.140008d70
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14000ff10
mov ebx, 0x5f
sub rbx, rax
je 0x14000ff35
lea rcx, [0x140021238]
call fcn.140008d70
sub rbx, 1
jne 0x14000ff23
mov ecx, 1
jmp 0x14000ff84
lea rdx, [rbp - 0x80]
lea rcx, str.____s
call fcn.140008d70
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14000ff57
mov ebx, 0x5f
sub rbx, rax
je 0x14000ff82
nop word [rax + rax]
lea rcx, [0x140021238]
call fcn.140008d70
sub rbx, 1
jne 0x14000ff70
mov ecx, esi
lea rdx, [rbp - 0x80]
call fcn.140012ec0
inc rdi
cmp rdi, 0xa
jl 0x14000fe90
call fcn.140013500
test eax, eax
je 0x14000ffae
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140016050
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140010550
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r8, [0x14001dc40]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], r15
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x50], r15
mov ebx, r15d
call fcn.140015700
test eax, eax
je 0x14001076a
mov qword [rsp + 0xa0], rsi
lea rcx, [0x140021f10]
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_NetworkAdapterConfiguration
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x14001064c
test rax, rax
je 0x140010643
mov rcx, qword [rbp - 0x48]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov r9d, 0x30
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x140010643
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.140012ff0
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0xa0]
test rdi, rdi
je 0x140010662
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xa8]
test r14d, r14d
mov r14, qword [rsp + 0xb8]
je 0x140010748
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x18], r15d
test rcx, rcx
je 0x140010728
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x40]
mov edx, 0xffffffff
mov r8d, r12d
call qword [rax + 0x20]
cmp dword [rbp - 0x18], r15d
je 0x140010724
mov rcx, qword [rbp - 0x40]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rdx, str.MACAddress
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140010707
movzx eax, word [rbp - 0x30]
cmp ax, r12w
je 0x140010707
test al, 8
je 0x1400106fd
mov rcx, qword [rbp - 0x28]
lea rdx, str.08:00:27
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x140010724
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x140010690
jmp 0x140010728
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r12, qword [rsp + 0xb0]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140016050
add rsp, 0x80
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x140010752
Function at 0x1400135c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x850
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rsi, r8
mov qword [rsp + 0x30], 0
mov rbx, rdx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x800
mov rdi, r9
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x104
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001368c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013681
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140013681
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14001368e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140016050
add rsp, 0x850
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400136b0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0x2c0
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140013710
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo._n
call fcn.140008d70
mov eax, 0xffffffff
jmp 0x1400137d6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140013778
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14001376a
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.140008d00
mov eax, 1
jmp 0x1400137d6
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400137c0
movzx eax, byte [rsi]
movzx ecx, byte [rsi + 4]
mov byte [rsp + 0x24], al
movzx eax, byte [rsi + 2]
mov byte [rsp + 0x25], al
mov rax, rbx
movzx edx, word [rsp + 0x24]
cmp dword [rax + 0x194], 6
jne 0x1400137b1
cmp dx, word [rax + 0x198]
jne 0x1400137b1
cmp cl, byte [rax + 0x19a]
je 0x1400137bb
mov rax, qword [rax]
test rax, rax
jne 0x140013797
jmp 0x1400137c0
mov edi, 1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140016050
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400155f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
lea rdi, [rsp + 0x20]
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov ecx, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140015649
lea rcx, [0x140021de0]
call fcn.140012ff0
xor eax, eax
jmp 0x1400156de
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14001567c
lea rcx, str.Process32First
call fcn.140012ff0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400156de
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400156d1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400156c4
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400156d1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400156a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400156de
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140016050
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140015700
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov rbx, r8
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140015744
lea rcx, [0x140021e50]
call fcn.140012ff0
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov qword [rsp + 0x60], rbp
xor r9d, r9d
xor ebp, ebp
xor r8d, r8d
mov qword [rsp + 0x40], rbp
mov edx, 0xffffffff
mov dword [rsp + 0x38], ebp
xor ecx, ecx
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x140015795
lea rcx, [0x140021e70]
call fcn.140012ff0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140015892
lea r9, [0x140021fa0]
mov qword [rsp + 0x20], rdi
xor edx, edx
lea rcx, [0x140018a00]
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400157d3
lea rcx, [0x140021ea0]
call fcn.140012ff0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140015892
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
je 0x140015834
mov rcx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rbp
mov rdx, rax
mov qword [rsp + 0x30], rbp
mov r10, qword [rcx]
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rbp
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, rbx
test eax, eax
jns 0x14001582e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, str.ConnectServer
call fcn.140012ff0
jmp 0x14001587a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi]
xor r9d, r9d
mov dword [rsp + 0x38], ebp
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov edx, 0xa
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14001588d
lea rcx, [0x140021ee8]
call fcn.140012ff0
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140015892
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140016cc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016d0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016d0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016d0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016d0a
cmp dword [rcx + 0x84], 0xe
jbe 0x140016d0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016d0c
xor al, al
add rsp, 0x28
ret
Function at 0x1400114c9
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f820
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400115f5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001e6d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001e6f0
xor al, al
jmp 0x14001e771
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001e703
xor al, al
jmp 0x14001e771
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001e72d
xor al, al
jmp 0x14001e771
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001e741
xor al, al
jmp 0x14001e771
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001e753
xor al, al
jmp 0x14001e771
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001e76f
xor al, al
jmp 0x14001e771
mov al, 1
add rsp, 0x38
ret
Function at 0x1400110a0
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x1400118b0
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400220a2]
call fcn.14001138e
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad00]
call fcn.14001132a
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400130e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014430
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014450
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014463
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001448d
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144a1
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144b3
xor al, al
jmp 0x1400144d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144cf
xor al, al
jmp 0x1400144d1
mov al, 1
add rsp, 0x38
ret
Function at 0x146d4d600
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x146d4d60d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x146d4d61d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x146d4d605
lea eax, [rcx + 1]
jmp 0x146d4d62b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x146d4d63e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x146d4d624
sub eax, 3
jb 0x146d4d65e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x146d4d6ad
sar eax, 1
movsxd rbp, eax
jb 0x146d4d694
jmp 0x146d4d66c
add ebx, ebx
jne 0x146d4d66a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x146d4d694
inc ecx
add ebx, ebx
jne 0x146d4d67a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x146d4d694
call r11
adc ecx, ecx
add ebx, ebx
jne 0x146d4d68d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x146d4d67c
add ecx, 2
jmp 0x146d4d699
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.146d4d5c2
jmp 0x146d4d60d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb1800
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x146d4d6f9
cmp rsi, rcx
jae 0x146d4d701
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x146d4d6e0
cmp al, 0x8f
ja 0x146d4d6e0
cmp byte [rsi - 2], 0xf
je 0x146d4d6e6
sub al, 0xe8
cmp al, 1
ja 0x146d4d6ca
cmp rsi, rcx
jae 0x146d4d701
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x146d4d6d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x146d4d701
lodsb al, byte [rsi]
jmp 0x146d4d6e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6d4a000]
mov eax, dword [rdi]
or eax, eax
je 0x146d4d75e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6d4d000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x146d4d70e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x146d4d758
mov qword [rbx], rax
add rbx, 8
jmp 0x146d4d72e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x146d4d798
cmp al, 0xef
ja 0x146d4d78a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x146d4d76a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x146d4d779
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.146d4d817], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.146d4d817
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x146d4d807
sub rsp, 0xffffffffffffff80
jmp 0x14000bb40