joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800035e8
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x60]
mov edi, edx
mov ebx, ecx
xor esi, esi
mov r8, qword [rax + 0x18]
mov r11, qword [r8 + 0x20]
mov r8, r11
mov r10, qword [r8 + 0x50]
mov r9d, esi
test r10, r10
je 0x180003647
cmp si, word [r8 + 0x48]
jae 0x180003647
movzx edx, word [r8 + 0x48]
movsx ecx, byte [r10]
ror r9d, 0xd
cmp byte [r10], 0x61
lea eax, [rcx - 0x20]
cmovge ecx, eax
inc r10
add r9d, ecx
sub rdx, 1
jne 0x180003629
cmp r9d, ebx
je 0x180003666
mov r8, qword [r8]
cmp r8, r11
jne 0x180003611
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov r9, qword [r8 + 0x20]
mov ebx, esi
movsxd rax, dword [r9 + 0x3c]
mov r8d, dword [rax + r9 + 0x88]
add r8, r9
mov edx, dword [r8 + 0x20]
mov ecx, dword [r8 + 0x24]
add rdx, r9
add rcx, r9
cmp dword [r8 + 0x18], esi
jbe 0x180003654
mov r10d, dword [rdx]
mov r11d, esi
add r10, r9
jmp 0x1800036a7
ror r11d, 0xd
movsx eax, al
add r11d, eax
inc r10
mov al, byte [r10]
test al, al
jne 0x18000369a
cmp r11d, edi
je 0x1800036c5
inc ebx
add rdx, 4
add rcx, 2
cmp ebx, dword [r8 + 0x18]
jb 0x18000368f
jmp 0x180003654
movzx edx, word [rcx]
mov ecx, dword [r8 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x180003656

Function at 0x1800036dc
Capabilities:
Allocate or change rwx memory
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [0x180022d80], 0
je 0x180003781
and dword [0x180022d80], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x18000376d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x18000376d
movabs rax, 0xb821cd09b4000eba
mov word [rbx + 0x40], 0x1f0e
mov qword [rbx + 0x42], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [0x180022d20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.180001e74
add rsp, 0x30
pop rbx
ret
Function at 0x1800037a4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor ecx, ecx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x180003849
movzx eax, word [rax + 0x40]
mov ecx, 0x7268
sub ax, cx
cmp ax, 0xf
ja 0x1800037e0
mov ecx, 0x8801
bt ecx, eax
jb 0x180003849
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180003849
lea rax, [0x180003788]
mov word [rbx + 0x40], 0x7277
mov qword [rbx + 0x42], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, dword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edi, 1
mov rbx, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x1800039f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180003c40
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180003b0a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180003a54
mov rax, qword [0x180021008]
cmp qword [rsp + 0x20], rax
ja 0x180003a54
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180003a16
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180015730
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180003a85
jmp 0x180003b0a
cmp dword [rsp + 0x50], 0x10000
jne 0x180003aed
cmp qword [rsp + 0x48], 0x10000
jb 0x180003aed
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003acb
mov rax, qword [rsp + 0x28]
jmp 0x180003b0c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180003adb
xor eax, eax
jmp 0x180003b0c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180003b05
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180003c40
mov qword [rsp + 0x20], rax
jmp 0x180003a16
xor eax, eax
add rsp, 0x68
ret
Function at 0x180003b20
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180003c80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180003c36
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180003b7b
mov rax, qword [0x180021008]
cmp qword [rsp + 0x20], rax
ja 0x180003b7b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180003b3d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180015730
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180003bac
jmp 0x180003c36
cmp dword [rsp + 0x50], 0x10000
jne 0x180003c14
cmp qword [rsp + 0x48], 0x10000
jb 0x180003c14
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003bf2
mov rax, qword [rsp + 0x28]
jmp 0x180003c38
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180003c02
xor eax, eax
jmp 0x180003c38
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180003c31
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180003c80
mov qword [rsp + 0x20], rax
jmp 0x180003b3d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180003cd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004260
mov qword [rsp + 0x28], 0
cmp qword [0x180021b38], 0
jne 0x180003d18
cmp qword [0x180021b30], 0
je 0x180003d18
mov rax, qword [0x180021b30]
mov qword [0x180021b38], rax
cmp qword [0x180021b38], 0
je 0x180003dbe
mov rax, qword [0x180021b38]
cmp qword [rax + 0x10], 0
je 0x180003dbe
mov rax, qword [0x180021b38]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180003dbe
mov rax, qword [0x180021b38]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180003dbe
mov rax, qword [0x180021b38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180003d84
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180003d8b
xor eax, eax
jmp 0x180003f39
mov rax, qword [0x180021b38]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180015730
mov rax, qword [rsp + 0x28]
jmp 0x180003f39
mov rax, qword [0x180021b30]
mov qword [0x180021b38], rax
jmp 0x180003de0
mov rax, qword [0x180021b38]
mov rax, qword [rax + 8]
mov qword [0x180021b38], rax
cmp qword [0x180021b38], 0
je 0x180003e2d
cmp qword [0x180021b38], 0
je 0x180003e2b
mov rax, qword [0x180021b38]
cmp qword [rax + 0x10], 0
je 0x180003e2b
mov rax, qword [0x180021b38]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180003e2b
mov rax, qword [0x180021b38]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180003e2b
jmp 0x180003d5c
jmp 0x180003dce
mov rcx, qword [rsp + 0x60]
call fcn.1800060d0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180003f40
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180003f37
mov rax, qword [rsp + 0x48]
mov qword [0x180021b38], rax
mov rax, qword [0x180021b38]
mov dword [rax], 0x52727464
mov rax, qword [0x180021b38]
mov qword [rax + 0x10], 0
mov rax, qword [0x180021b38]
mov rcx, qword [0x180021b30]
mov qword [rax + 8], rcx
mov rax, qword [0x180021b38]
mov qword [0x180021b30], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180021b38]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180003ee8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180003f22
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180003ede
mov rax, qword [0x180021b38]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180003d5c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180004c50
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180004c97
xor al, al
jmp 0x180004d39
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180004cc1
xor al, al
jmp 0x180004d39
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180004d31
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180004d31
mov al, 1
jmp 0x180004d39
jmp 0x180004d37
xor al, al
add rsp, 0x78
ret

Function at 0x180005040
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180021b30]
mov qword [rsp + 0x28], rax
jmp 0x180005060
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000508f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18000508d
call sub.KERNEL32.dll_GetLastError
jmp 0x180005091
jmp 0x180005052
xor eax, eax
add rsp, 0x38
ret
Function at 0x180005720
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180021b48], eax
je 0x18000574d
mov eax, 0x10dd
jmp 0x180005966
cmp dword [0x180021b4c], 0
je 0x180005761
mov eax, dword [0x180021b4c]
jmp 0x180005966
cmp qword [rsp + 0x78], 0
jne 0x180005773
mov eax, 0x57
jmp 0x180005966
cmp qword [rsp + 0x70], 0
jne 0x180005785
mov eax, 6
jmp 0x180005966
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800057b7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x180021b4c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180021b50], rax
mov eax, dword [rsp + 0x20]
jmp 0x180005966
mov ecx, 0x30
call fcn.18000787c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180005829
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x180021b4c], eax
cmp qword [rsp + 0x30], 0
je 0x180005814
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.1800078b8
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180021b50], rax
mov eax, dword [rsp + 0x20]
jmp 0x180005966
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1800056f0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1800056f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180005886
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x1800058a3
mov dword [rsp + 0x20], 9
cmp dword [0x180021b40], 0
je 0x18000589e
jmp 0x1800057ea
jmp 0x1800057e0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x1800058d0
mov dword [rsp + 0x20], 9
cmp dword [0x180021b40], 0
je 0x1800058cb
jmp 0x1800057ea
jmp 0x1800057e0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180005907
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800057e0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180021b60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180021b60], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180005970
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180021b48], eax
je 0x18000598b
mov eax, 0x10dd
jmp 0x180005ab0
mov rax, qword [0x180021b60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180005a35
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180005a00
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180005a00
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800043a0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.1800078b8
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180005997
mov qword [0x180021b60], 0
call fcn.180004e00
mov rax, qword [0x180021b58]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180005a99
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.1800078b8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180005a51
mov qword [0x180021b58], 0
mov dword [0x180021b48], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180005fe0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x180021b4c], 0
je 0x180005ffd
mov eax, dword [0x180021b4c]
jmp 0x1800060c3
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180006010
xor eax, eax
jmp 0x1800060c3
mov ecx, 0x10
call fcn.18000787c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18000607e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180006063
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800078b8
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180021b4c], eax
mov qword [0x180021b50], 0
mov eax, dword [rsp + 0x20]
jmp 0x1800060c3
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180006098
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180006039
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180021b58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180021b58], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x18000f75c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000f78c
xor eax, eax
jmp 0x18000f84f
mov rbp, rbx
cmp word [rax], si
je 0x18000f7b1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000f798
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000f794
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000f67c
movsxd r14, eax
test eax, eax
jne 0x18000f7ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000f785
mov rcx, r14
call fcn.18000cf7c
mov rdi, rax
test rax, rax
jne 0x18000f808
xor ecx, ecx
call fcn.18000dcb4
jmp 0x18000f7e4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000f67c
test eax, eax
jne 0x18000f839
mov rcx, rdi
call fcn.18000dcb4
jmp 0x18000f843
xor ecx, ecx
call fcn.18000dcb4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180014ec0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180014ee8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180014ee8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001060
Capabilities:
Decompress data using aplib

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov al, byte [rcx]
and dword [rbp - 0xc], 0
mov ebx, dword [rbp + 0x20]
mov byte [rdx], al
lea rax, [rdx + 1]
xor r11d, r11d
mov qword [rbp - 0x18], rax
lea rax, [rcx + 1]
mov rdi, rdx
xor esi, esi
lea r14d, [r11 + 1]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.180001274
test eax, eax
je 0x1800011f9
lea rcx, [rbp - 0x20]
call fcn.180001274
lea rcx, [rbp - 0x20]
test eax, eax
je 0x18000114f
call fcn.180001274
test eax, eax
je 0x180001109
xor r9d, r9d
lea r10d, [r9 + 4]
lea rcx, [rbp - 0x20]
call fcn.180001274
lea r9d, [rax + r9*2]
sub r10d, r14d
jne 0x1800010d2
mov r8, qword [rbp - 0x18]
test r9d, r9d
je 0x180001100
mov ecx, r9d
mov rax, r8
sub rax, rcx
mov al, byte [rax]
mov byte [r8], al
jmp 0x18000120d
mov byte [r8], 0
jmp 0x18000120d
mov rax, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
movzx ebx, byte [rax]
add rax, r14
mov ecx, ebx
mov qword [rbp - 0x20], rax
and ecx, r14d
add ecx, 2
shr ebx, 1
je 0x180001147
test ecx, ecx
je 0x1800011f4
mov edx, ebx
neg rdx
mov al, byte [rdx + r8]
mov byte [r8], al
add r8, r14
dec ecx
jne 0x180001134
jmp 0x1800011f0
mov esi, r14d
jmp 0x1800011f4
call fcn.180001240
test r11d, r11d
jne 0x18000118d
cmp eax, 2
jne 0x180001188
lea rcx, [rbp - 0x20]
call fcn.180001240
mov r8, qword [rbp - 0x18]
test eax, eax
je 0x1800011f4
mov edx, ebx
neg rdx
mov cl, byte [rdx + r8]
mov byte [r8], cl
add r8, r14
dec eax
jne 0x180001178
jmp 0x1800011f0
add eax, 0xfffffffd
jmp 0x180001190
add eax, 0xfffffffe
mov rcx, qword [rbp - 0x20]
mov ebx, eax
movzx eax, byte [rcx]
add rcx, r14
shl ebx, 8
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x20]
add ebx, eax
call fcn.180001240
mov r11d, eax
cmp ebx, 0x7d00
jb 0x1800011bc
add r11d, r14d
cmp ebx, 0x500
jb 0x1800011c7
add r11d, r14d
cmp ebx, 0x80
jae 0x1800011d3
add r11d, 2
mov r8, qword [rbp - 0x18]
test r11d, r11d
je 0x1800011f4
mov ecx, ebx
neg rcx
mov al, byte [rcx + r8]
mov byte [r8], al
add r8, r14
dec r11d
jne 0x1800011e1
mov qword [rbp - 0x18], r8
mov r11d, r14d
jmp 0x180001217
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov cl, byte [rdx]
add rdx, r14
mov byte [r8], cl
mov qword [rbp - 0x20], rdx
add r8, r14
xor r11d, r11d
mov qword [rbp - 0x18], r8
test esi, esi
je 0x18000109c
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
sub r8, rdi
mov eax, r8d
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x1800012b0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x368]
sub rsp, 0x440
lea rcx, str.KERNEL32
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
lea ecx, [rdx + 2]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800014a9
lea rdx, [rbp]
mov rcx, rax
mov dword [rbp], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x180001498
mov ebx, dword [rbp + 8]
cmp ebx, r15d
je 0x18000148b
lea rdx, str.vckolivi.vcv
lea rcx, [rsp + 0x30]
call fcn.180002024
lea rcx, [rbp + 0x2c]
mov rdx, rax
call fcn.180001f80
test eax, eax
jne 0x180001364
lea esi, [rax + 1]
jmp 0x1800013d0
lea rdx, str.rvckoliv.vcv
lea rcx, [rsp + 0x30]
call fcn.180002024
lea rcx, [rbp + 0x2c]
mov rdx, rax
call fcn.180001f80
test eax, eax
je 0x1800013cb
lea rdx, str.xsilnv.vcv
lea rcx, [rsp + 0x30]
call fcn.180002024
lea rcx, [rbp + 0x2c]
mov rdx, rax
call fcn.180001f80
test eax, eax
je 0x1800013cb
lea rdx, str.urivulc.vcv
lea rcx, [rsp + 0x30]
call fcn.180002024
lea rcx, [rbp + 0x2c]
mov rdx, rax
call fcn.180001f80
test eax, eax
jne 0x18000148b
mov esi, 2
lea rcx, [rbp - 0x50]
call fcn.180001ff0
lea r9, [rbp - 0x50]
lea r8, str.Global_s__d
lea rcx, [rbp + 0x240]
mov edx, 0x80
mov dword [rsp + 0x20], ebx
call fcn.180001ea0
lea r8, [rbp + 0x240]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenEventW]
test rax, rax
je 0x180001417
mov rcx, rax
jmp 0x180001485
xor r8d, r8d
lea r9, [rbp + 0x370]
mov dl, 1
lea ecx, [r8 + 0x14]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov r8d, dword [rbp + 8]
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180001482
xor r8d, r8d
test r12d, r12d
je 0x180001477
xor ecx, ecx
mov dword [rbp + 0x380], ecx
test r14, r14
je 0x18000146e
lea rdx, [rbp + 0x380]
mov rcx, rax
call r14
mov ecx, dword [rbp + 0x380]
xor r8d, r8d
test ecx, ecx
sete r8b
mov edx, dword [rbp + 8]
mov r9d, esi
call fcn.1800014d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180001332
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x440]
mov eax, 1
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret