joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079f4c
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, r8d
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
lea r15, [0x140005aa0]
cmp rcx, r14
je 0x140079fab
test byte [rcx + 0x1c], 2
je 0x140079fab
cmp byte [rcx + 0x19], 5
jb 0x140079fab
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r8, r15
call fcn.14000e618
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140079ff3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14007a08c
test byte [rcx + 0x1c], 2
je 0x14007a08c
cmp byte [rcx + 0x19], 2
jb 0x14007a08c
mov edx, 0x4d
jmp 0x14007a07d
cmp dword [rsp + 0x24], 1
jne 0x14007a001
xor eax, eax
jmp 0x14007a08e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
jmp 0x14007a046
mov r9d, dword [rsp + 0x24]
cmp r9d, 1
je 0x140079ffa
cmp r9d, 3
jne 0x14007a0e1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, esi
ja 0x14007a0b1
mov eax, dword [rsp + 0x38]
mov ecx, 0x1388
shr eax, 1
cmp eax, ecx
cmovb ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14007a00b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14007a08c
test byte [rcx + 0x1c], 2
je 0x14007a08c
cmp byte [rcx + 0x19], 2
jb 0x14007a08c
mov edx, 0x4e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14007a0da
test byte [rcx + 0x1c], 2
je 0x14007a0da
cmp byte [rcx + 0x19], 2
jb 0x14007a0da
mov rcx, qword [rcx + 0x10]
mov edx, 0x50
mov r8, r15
call fcn.14000e618
mov eax, 0x5b4
jmp 0x14007a08e
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14007a10a
test byte [rcx + 0x1c], 2
je 0x14007a10a
cmp byte [rcx + 0x19], 2
jb 0x14007a10a
mov rcx, qword [rcx + 0x10]
mov edx, 0x4f
mov r8, r15
call fcn.14000e63c
mov eax, 0x426
jmp 0x14007a08e
Function at 0x14007a11c
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, ecx
mov ebp, r8d
mov rsi, rdx
xor ebx, ebx
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x14007a18f
test byte [rcx + 0x1c], 2
je 0x14007a18f
cmp byte [rcx + 0x19], 5
jb 0x14007a18f
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
lea r8, [0x140005cf8]
call fcn.14000e618
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
jns 0x14007a1e1
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14007a228
test byte [rcx + 0x1c], 2
je 0x14007a228
cmp byte [rcx + 0x19], 2
jb 0x14007a228
mov rcx, qword [rcx + 0x10]
lea r8, [0x140005cf8]
mov edx, 0xb
mov r9d, eax
call fcn.14000e63c
jmp 0x14007a228
lea r8, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
call fcn.14001008c
mov edi, eax
test eax, eax
jns 0x14007a233
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14007a228
test byte [rcx + 0x1c], 2
je 0x14007a228
cmp byte [rcx + 0x19], 2
jb 0x14007a228
mov rcx, qword [rcx + 0x10]
lea r8, [0x140005cf8]
movzx r9d, ax
mov edx, 0xc
call fcn.14000e63c
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14007a238
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088640
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14007a260
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x598]
sub rsp, 0x680
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
mov edi, 0x208
lea rcx, [rbp + 0x362]
xor r14d, r14d
xor edx, edx
mov r8d, edi
mov word [rbp + 0x360], r14w
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x42]
mov r8d, edi
xor edx, edx
mov word [rsp + 0x40], r14w
call sub.msvcrt.dll_memset
lea r8d, [rdi - 2]
lea rcx, [rbp + 0x152]
xor edx, edx
mov word [rbp + 0x150], r14w
call sub.msvcrt.dll_memset
mov dword [rsp + 0x34], 0x20a
test rbx, rbx
je 0x14007a4c0
lea r9d, [r14 + 1]
lea rdx, [0x1400059d8]
mov rcx, 0xffffffff80000001
mov r8d, r9d
mov word [rbx], r14w
call fcn.140075c60
mov rdi, rax
test rax, rax
je 0x14007a4c0
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
lea rdx, [0x140005b50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12d, 0x105
test esi, esi
je 0x14007a374
cmp esi, 2
jne 0x14007a4c0
lea rdi, [0x140005b70]
jmp 0x14007a3df
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14007a4c0
mov rcx, r12
lea rax, [rsp + 0x40]
mov edx, r14d
cmp word [rax], r14w
je 0x14007a39d
add rax, 2
dec rcx
jne 0x14007a38e
test rcx, rcx
jne 0x14007a3ac
mov edx, 0x80070057
mov rax, r14
jmp 0x14007a3b2
mov rax, r12
sub rax, rcx
lea rdi, [rsp + 0x40]
test edx, edx
js 0x14007a3df
cmp word [rsp + rax*2 + 0x3e], 0x5c
je 0x14007a3df
lea r8, [0x140005158]
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.140017930
test eax, eax
js 0x14007a4b7
lea rdx, [rbp + 0x360]
mov r8d, r12d
mov ecx, 5
call fcn.14007a11c
test eax, eax
jne 0x14007a410
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140005ba8]
mov edx, eax
call fcn.1400782c8
jmp 0x14007a4c0
mov esi, 0x104
lea r8, [rbp + 0x360]
mov rcx, rbx
mov edx, esi
call fcn.14001008c
test eax, eax
js 0x14007a4b7
cmp word [rdi], 0x5c
je 0x14007a449
lea r8, [0x140005158]
mov edx, esi
mov rcx, rbx
call fcn.140017930
test eax, eax
js 0x14007a4b7
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140017930
test eax, eax
js 0x14007a4b7
lea rax, [rbp + 0x150]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [0x140005be8]
mov edx, 0x8005
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirW]
test eax, eax
js 0x14007a4b7
lea rdx, [0x140005c20]
lea rcx, [rbp + 0x150]
mov r8d, 0x93d
call qword [sym.imp.SHELL32.dll_SHSetLocalizedName]
test eax, eax
js 0x14007a4b7
mov rcx, rbx
call fcn.140073308
mov eax, 1
jmp 0x14007a4c2
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x1400835a4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebx, ecx
mov rsi, rdx
xor r14d, r14d
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x1fe
mov edi, 1
mov word [rsp + 0x40], r14w
call sub.msvcrt.dll_memset
mov rcx, qword [str.___t_]
lea r15, str.___t_
cmp rcx, r15
je 0x140083621
test byte [rcx + 0x1c], 2
je 0x140083621
cmp byte [rcx + 0x19], 5
jb 0x140083621
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x23]
lea r8, [0x140006a58]
call fcn.14000e618
lea r9, [0x1400066a0]
lea r8, [0x140006610]
lea rcx, [rsp + 0x40]
mov edx, 0x100
mov dword [rsp + 0x20], ebx
call fcn.14001000c
mov ebx, eax
test eax, eax
jns 0x14008369b
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140083678
test byte [rcx + 0x1c], 2
je 0x140083678
cmp byte [rcx + 0x19], 2
jb 0x140083678
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x25
mov r9d, eax
call fcn.14000e63c
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140083817
mov r13, 0xffffffff80000002
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
mov rcx, r13
xor r8d, r8d
call fcn.140075c60
mov rbx, rax
test rax, rax
jne 0x140083723
lea rdx, [0x1400066a0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r13
mov edi, r14d
call fcn.140075c60
mov rbx, rax
test rax, rax
jne 0x140083723
mov rax, qword [str.___t_]
cmp rax, r15
je 0x140083694
test byte [rax + 0x1c], 2
je 0x140083694
cmp byte [rax + 0x19], 2
jb 0x140083694
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rbx + 0x26]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov r9d, eax
call fcn.14000e63c
jmp 0x140083694
lea rcx, [0x1400022d0]
call fcn.1400730d0
lea r9, [0x140002af8]
lea r8, [0x140006530]
mov edx, 1
mov rcx, rbx
mov qword [rsi + 0x10], rax
call fcn.140075d24
lea r9, [0x140002af8]
lea r8, [0x140006540]
mov edx, 1
mov rcx, rbx
mov qword [rsi], rax
call fcn.140075d24
lea r8, [rsp + 0x30]
lea rdx, [0x140006508]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x30], r14d
mov qword [rsi + 8], rax
call fcn.140075fac
lea r8, [rsp + 0x30]
neg eax
lea rdx, [0x1400064f8]
sbb ecx, ecx
xor r9d, r9d
and ecx, dword [rsp + 0x30]
mov dword [rsp + 0x30], r14d
mov dword [rsi + 0x18], ecx
mov rcx, rbx
call fcn.140075fac
mov rcx, rbx
neg eax
sbb edx, edx
and edx, dword [rsp + 0x30]
mov dword [rsi + 0x1c], edx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
jne 0x140083812
lea rdx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x140083812
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140083812
test byte [rcx + 0x1c], 2
je 0x140083812
cmp byte [rcx + 0x19], 2
jb 0x140083812
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x26]
lea r8, [0x140006a58]
mov r9d, eax
call fcn.14000e63c
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088640
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x140085288
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, edx
mov ebx, ecx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x1400852e4
test byte [rcx + 0x1c], 2
je 0x1400852e4
cmp byte [rcx + 0x19], 5
jb 0x1400852e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x65
call fcn.14000e618
lea r8, [0x140006958]
lea rcx, [rsp + 0x30]
mov r9d, ebx
mov edx, 0x104
mov dword [rsp + 0x20], edi
call fcn.14001000c
mov ebx, eax
test eax, eax
jns 0x140085350
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140085337
test byte [rcx + 0x1c], 2
je 0x140085337
cmp byte [rcx + 0x19], 2
jb 0x140085337
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x66
mov r9d, eax
call fcn.14000e63c
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x1400853ff
lea rdx, [0x140004cd0]
mov r9d, 0x10000
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140075c60
mov rdi, rax
test rax, rax
jne 0x1400853ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400853ff
test byte [rcx + 0x1c], 2
je 0x1400853ff
cmp byte [rcx + 0x19], 2
jb 0x1400853ff
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x67]
lea r8, [0x140006a58]
mov r9d, eax
call fcn.14000e63c
jmp 0x1400853ff
lea rdx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test eax, eax
je 0x1400853f6
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400853f6
test byte [rcx + 0x1c], 2
je 0x1400853f6
cmp byte [rcx + 0x19], 2
jb 0x1400853f6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x68
mov r9d, eax
call fcn.14000e63c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140085874
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rdi, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x1400858c0
test byte [rcx + 0x1c], 2
je 0x1400858c0
cmp byte [rcx + 0x19], 5
jb 0x1400858c0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x75
call fcn.14000e618
lea rax, [rsp + 0x48]
lea rdx, [0x140006970]
mov r9d, 0x10000
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140085918
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400859a5
test byte [rcx + 0x1c], 2
je 0x1400859a5
cmp byte [rcx + 0x19], 2
jb 0x1400859a5
mov edx, 0x76
jmp 0x140085992
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
test eax, eax
je 0x140085966
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140085966
test byte [rcx + 0x1c], 2
je 0x140085966
cmp byte [rcx + 0x19], 2
jb 0x140085966
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov edx, 0x77
mov r9, rdi
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1400859a5
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400859a5
test byte [rcx + 0x1c], 2
je 0x1400859a5
cmp byte [rcx + 0x19], 2
jb 0x1400859a5
mov edx, 0x78
mov rcx, qword [rcx + 0x10]
lea r8, [0x140006a58]
mov r9d, eax
call fcn.14000e63c
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140087aa8
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rdx, [rbp + 0x2b]
xor edi, edi
mov bl, dil
call qword [sym.imp.RPCRT4.dll_I_RpcBindingIsClientLocal]
test eax, eax
jne 0x140087b81
cmp dword [rbp + 0x2b], edi
je 0x140087b81
lea ebx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea r9, [rbp + 0x2f]
lea edx, [rdi + 8]
mov r8d, ebx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x140087b81
lea rax, [rbp + 0x37]
lea r8d, [rdi + 2]
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
xor r9d, r9d
mov dl, bl
mov dword [rsp + 0x28], edi
mov dword [rbp + 0x3f], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0x43], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140087b77
mov rdx, qword [rbp + 0x37]
mov rcx, qword [rbp + 0x2f]
lea r8, [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140087b6d
cmp dword [rbp + 0x27], edi
movzx ebx, bl
cmovne ebx, edi
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140088390
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0xb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov r14d, r15d
xor eax, eax
lock cmpxchg qword [0x14009a7a8], rbx
je 0x1400883f9
cmp rax, rbx
jne 0x1400883ec
mov edi, 1
mov r14d, edi
jmp 0x1400883fe
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400883d0
mov edi, 1
mov eax, dword [0x14009a7b0]
cmp eax, edi
jne 0x140088416
mov esi, 0x1f
mov ecx, esi
call fcn.140132000
jmp 0x140088487
mov eax, dword [0x14009a7b0]
test eax, eax
jne 0x14008847c
mov dword [0x14009a7b0], edi
lea r12, [0x140001038]
lea rbx, [0x140001020]
mov qword [rsp + 0x30], rbx
mov eax, r15d
mov dword [rsp + 0x24], eax
cmp rbx, r12
jae 0x14008846e
test eax, eax
jne 0x140088472
mov rsi, qword [rbx]
test rsi, rsi
je 0x140088463
mov rcx, rsi
mov rax, qword [fcn.14002c9e0]
call rax
call rsi
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x140088440
test eax, eax
je 0x140088482
mov eax, 0xff
jmp 0x1400885e1
mov dword [0x140099a44], edi
mov esi, 0x1f
mov eax, dword [0x14009a7b0]
cmp eax, edi
jne 0x1400884ae
lea rdx, [0x140001018]
lea rcx, [section..text]
call sub.msvcrt.dll__initterm
mov dword [0x14009a7b0], 2
test r14d, r14d
jne 0x1400884bd
mov rax, r15
xchg qword [0x14009a7a8], rax
cmp qword [0x14009a7c8], r15
je 0x1400884f4
lea rcx, [0x14009a7c8]
call fcn.140088f90
test eax, eax
je 0x1400884f4
mov rbx, qword [0x14009a7c8]
mov rcx, rbx
mov rax, qword [fcn.14002c9e0]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14008850d
mov eax, 0xff
jmp 0x1400885e1
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x140088592
cmp word [rcx], r15w
je 0x140088526
test edx, edx
jne 0x140088592
movzx eax, word [rcx]
sub ax, di
cmp ax, si
ja 0x14008853c
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140088526
test byte [rsp + 0x7c], dil
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14002f5c4
mov dword [0x140099a40], eax
cmp dword [0x140099a60], r15d
jne 0x14008857b
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140099a44], r15d
jne 0x140088590
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140099a40]
jmp 0x1400885e1
cmp word [rcx], 0x22
jne 0x1400885a6
mov eax, r15d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140088516
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
sub rsp, 0x28
call fcn.140089024
add rsp, 0x28
jmp 0x140088390
Function at 0x140088704
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400889b8
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400889c4
push rbx
sub rsp, 0x540
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140088a41
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140088a61
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x140001480]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140088640
add rsp, 0x540
pop rbx
ret

Function at 0x1400889c4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400889c4
push rbx
sub rsp, 0x540
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140088a41
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140088a61
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, [0x140001480]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140088640
add rsp, 0x540
pop rbx
ret

Function at 0x140088e8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140088ed8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140088ed0
cmp dword [rcx + 0x3c], edx
jl 0x140088ed0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140088ed0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140088ed8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140089024
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [section..data]
and qword [rbp + 0x18], 0
movabs rbx, 0x2b992ddfa232
cmp rax, rbx
jne 0x1400890df
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
shl rax, 0x18
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp + 0x10]
mov eax, eax
xor rax, qword [rbp + 0x10]
xor rax, rcx
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp + 0x20]
shl rax, 0x20
movabs rcx, 0xffffffffffff
xor rax, qword [rbp + 0x20]
xor rax, qword [rbp + 0x10]
and rax, rcx
movabs rcx, 0x2b992ddfa233
cmp rax, rbx
cmove rax, rcx
mov qword [section..data], rax
mov rbx, qword [rsp + 0x48]
not rax
mov qword [0x140096008], rax
add rsp, 0x20
pop rbp
ret
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140011ef0
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 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014630
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014650
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014663
xor al, al
jmp 0x1400146d1
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 0x14001468d
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146a1
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146b3
xor al, al
jmp 0x1400146d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146cf
xor al, al
jmp 0x1400146d1
mov al, 1
add rsp, 0x38
ret