joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140115170
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x140115373
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rbp, qword [r13 + 8]
lea r14, [r13 + 0x18]
lea rdx, [rbx + rbx]
mov r8, rbp
mov rcx, r14
call fcn.14004e0e0
lea rax, [rbx - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rbx
mov qword [rsp + 0x20], r13
mov rdi, qword [r13 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140115335
movabs rbx, 0x100000001b3
movabs r15, 0xcbf29ce484222325
nop word [rax + rax]
mov rsi, qword [rsi]
lea rcx, [rdi + 0x10]
call fcn.140023030
mov r8, rax
mov r9, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14011522d
mov r8, qword [rax]
mov rcx, r15
xor edx, edx
add r9, r9
je 0x140115254
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, rbx
inc rdx
cmp rdx, r9
jb 0x140115240
mov rdx, qword [r13 + 0x30]
and rdx, rcx
shl rdx, 4
mov r14, qword [r14]
add r14, rdx
cmp qword [r14], rbp
jne 0x140115276
mov qword [r14], rdi
mov qword [r14 + 8], rdi
jmp 0x140115325
mov rbx, qword [r14 + 8]
lea rdx, [rbx + 0x10]
lea rcx, [rdi + 0x10]
call fcn.140113320
test al, al
je 0x1401152ba
mov r8, qword [rbx]
cmp r8, rdi
je 0x1401152b4
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r14 + 8], rdi
jmp 0x14011531b
mov r15, rbx
cmp qword [r14], rbx
je 0x1401152ed
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rbx + 8]
mov r15, rbx
lea rdx, [rbx + 0x10]
lea rcx, [rdi + 0x10]
call fcn.140113320
test al, al
jne 0x14011534d
cmp qword [r14], rbx
jne 0x1401152d0
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r15
mov rax, qword [r15 + 8]
mov qword [rax], rdi
mov qword [r15 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r14], rdi
movabs r15, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
lea r14, [r13 + 0x18]
jne 0x140115210
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x140115311
lea rcx, str.invalid_hash_bucket_count
call fcn.1401460f4
int3
Function at 0x140115770
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp dword [rcx + 0x10], 0
je 0x1401157d5
lea rax, [0x1401d2a10]
mov rcx, qword [0x1401d2a10]
cmp rcx, rax
je 0x1401157c2
test byte [rcx + 0x1c], 0x80
je 0x1401157c2
cmp byte [rcx + 0x19], 3
jb 0x1401157c2
mov edx, 0xa
lea r8, [0x140186620]
mov rcx, qword [rcx + 0x10]
call fcn.14001f730
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x50
pop rbx
ret
mov ecx, 0x10
call fcn.1401449d4
test rax, rax
je 0x1401157f2
mov qword [rax], rbx
lea rcx, [0x1401155e0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140028480]
xor edx, edx
xor ecx, ecx
call fcn.140115eb8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14011584e
cmp dword [rbx + 0x10], 0
jne 0x140115848
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 8], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x50
pop rbx
ret
call fcn.140115864
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140146ca8
int3

Function at 0x140129770
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401297df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401297df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401297df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401297df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401297df
cmp dword [rcx + 0x84], 0xe
jbe 0x1401297df
cmp dword [rcx + 0xf8], 0
je 0x1401297df
mov ecx, ebx
call fcn.14012989c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14012966c
nop
cmp dword [rbp + 0x20], 0
je 0x14012982d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140129838
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140129770

Function at 0x140129980
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140129770
Function at 0x140149630
Capabilities:
Delete service

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140149692
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x1401d2a10]
lea rax, [0x1401d2a10]
cmp rcx, rax
je 0x140149686
test byte [rcx + 0x1c], 1
je 0x140149686
cmp byte [rcx + 0x19], 3
jb 0x140149686
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192110]
mov edx, 0xa
mov r9d, ebx
call fcn.14001f760
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401496a0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebp, ebp
mov rbx, rcx
mov qword [rdx], rbp
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1401496d8
call fcn.140144a10
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x38]
xor r9d, r9d
lea rsi, [rbx + 0x20]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
test eax, eax
jne 0x140149828
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14014982a
mov ecx, dword [rsp + 0x38]
call fcn.140145670
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140149734
mov eax, SafeArrayDestroy
jmp 0x14014982a
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov rcx, rax
call fcn.1401386b0
mov r8, qword [rbx + 0x10]
lea rax, [rsp + 0x38]
mov r9d, dword [rsp + 0x38]
mov edx, 1
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rbx + 0x18], r8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesA]
test eax, eax
jne 0x14014978b
mov rcx, qword [rbx + 0x10]
call fcn.140144a10
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x20], ebp
jmp 0x140149828
mov dword [rbx + 0x24], ebp
cmp dword [rbx + 0x20], ebp
ja 0x14014979b
mov qword [rdi], rbp
jmp 0x140149828
mov rax, qword [rbx + 0x18]
mov ecx, 0x28
mov rsi, qword [rax]
call fcn.1401449d4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14014981c
xorps xmm0, xmm0
mov rdx, rsi
movups xmmword [rax], xmm0
mov rcx, rax
movups xmmword [rax + 0x10], xmm0
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rbp
mov qword [rdi], rax
call fcn.140149850
test eax, eax
je 0x140149825
mov rsi, qword [rdi]
test rsi, rsi
je 0x140149817
mov rcx, qword [rsi]
test rcx, rcx
je 0x1401497fb
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14014980a
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, 0x28
mov rcx, rsi
call fcn.140144a10
mov qword [rdi], rbp
jmp 0x140149825
mov qword [rdi], rbp
call qword [sym.imp.KERNEL32.dll_GetLastError]
inc dword [rbx + 0x24]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401449b0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140149a40
Capabilities:
Query service status

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x30]
mov r8, rdx
mov qword [rsp + 0x20], rax
xor edx, edx
mov r9d, 0x24
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140149ad3
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x1401d2a10]
lea rax, [0x1401d2a10]
cmp rcx, rax
je 0x140149aba
test byte [rcx + 0x1c], 1
je 0x140149aba
cmp byte [rcx + 0x19], 3
jb 0x140149aba
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192110]
mov edx, 0x22
mov r9d, ebx
call fcn.14001f760
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x48
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401449b0
add rsp, 0x48
ret

Function at 0x140149af0
Capabilities:
Modify service

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rcx, qword [rcx + 8]
xor eax, eax
mov qword [r11 - 0x18], rax
mov r9d, 0xffffffff
mov qword [r11 - 0x20], rax
mov r8d, edx
mov qword [r11 - 0x28], rax
mov edx, r9d
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x140149b6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401d2a10]
lea rdx, [0x1401d2a10]
cmp rcx, rdx
je 0x140149b6c
test byte [rcx + 0x1c], 1
je 0x140149b6c
cmp byte [rcx + 0x19], 3
jb 0x140149b6c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192110]
mov edx, 0x19
mov r9d, eax
call fcn.14001f760
xor eax, eax
add rsp, 0x68
ret
Function at 0x140149ec0
Capabilities:
Check for time delay via gettickcount
Query service status
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x38]
mov edi, eax
mov r9d, 0x24
lea rax, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea rbp, [0x1401d2a10]
test eax, eax
jne 0x140149f4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401d2a10]
cmp rcx, rbp
je 0x140149f4b
test byte [rcx + 0x1c], 1
je 0x140149f4b
cmp byte [rcx + 0x19], 3
jb 0x140149f4b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192110]
mov edx, 0x22
mov r9d, eax
call fcn.14001f760
cmp dword [rsp + 0x3c], 1
mov qword [rsp + 0x88], rbx
je 0x14014a01b
nop
mov eax, 0xcccccccd
mul dword [rsp + 0x50]
shr edx, 3
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140149fd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x1401d2a10]
cmp rcx, rbp
je 0x140149fd1
test byte [rcx + 0x1c], 1
je 0x140149fd1
cmp byte [rcx + 0x19], 3
jb 0x140149fd1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192110]
mov edx, 0x22
mov r9d, eax
call fcn.14001f760
test ebx, ebx
jne 0x140149ff8
cmp dword [rsp + 0x3c], 1
je 0x14014a00f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
ja 0x140149ffc
cmp dword [rsp + 0x3c], 1
jne 0x140149f60
jmp 0x14014a01b
mov eax, ebx
jmp 0x14014a01d
lea rcx, str.Service_stop_timed_out._n
call fcn.14014a050
mov eax, 0x41d
jmp 0x14014a01d
lea rcx, str.Service_stopped_successfully._n
call fcn.14014a050
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401449b0
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14014b940
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1401d2670]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov rsi, rdx
mov r14, rcx
mov edi, r15d
test rdx, rdx
je 0x14014ba7b
mov qword [rsp + 0x70], rbp
lea rbp, [0x1401d2a10]
mov qword [rsp + 0x68], rbx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + rdi*8]
cmp byte [rcx + 0x41], 2
jne 0x14014ba65
cmp qword [rcx + 0x20], 0x10
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], r15
jb 0x14014b9b1
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jne 0x14014b9eb
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x14014ba5a
test rcx, rcx
je 0x14014b9f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 2
jne 0x14014ba28
mov rcx, qword [0x1401d2a10]
cmp rcx, rbp
je 0x14014ba65
test byte [rcx + 0x1c], 1
je 0x14014ba65
cmp byte [rcx + 0x19], 4
jb 0x14014ba65
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 8]
lea r8, [0x140192600]
call fcn.14001f730
jmp 0x14014ba65
mov rcx, qword [0x1401d2a10]
cmp rcx, rbp
je 0x14014ba65
test byte [rcx + 0x1c], 1
je 0x14014ba65
cmp byte [rcx + 0x19], 2
jb 0x14014ba65
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192600]
mov edx, SafeArrayDestroy
mov r9d, ebx
call fcn.14003e3a0
jmp 0x14014ba65
test rcx, rcx
je 0x14014ba65
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, rsi
jb 0x14014b990
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401449b0
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14014be90
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14014bea9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14014bf5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x14014bf18
xor edi, edi
mov rcx, qword [0x1401d2a10]
lea rax, [0x1401d2a10]
cmp rcx, rax
je 0x14014bf5d
test byte [rcx + 0x1c], 1
je 0x14014bf5d
cmp byte [rcx + 0x19], 4
jb 0x14014bf5d
cmp qword [rbx + 0x18], 0x10
jb 0x14014bef3
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192a28]
mov edx, 0xa
mov r9, rbx
call fcn.14001f7c0
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1401d2a10]
lea rax, [0x1401d2a10]
cmp rcx, rax
je 0x14014bf5d
test byte [rcx + 0x1c], 1
je 0x14014bf5d
cmp byte [rcx + 0x19], 2
jb 0x14014bf5d
cmp qword [rbx + 0x18], 0x10
jb 0x14014bf41
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140192a28]
mov edx, SafeArrayDestroy
mov dword [rsp + 0x20], edi
mov r9, rbx
call fcn.1400958f0
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14014f608
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14014f68f
mov rsi, rbx
cmp word [rax], bp
je 0x14014f64e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14014f638
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14014f634
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14012b084
mov rdi, rax
test rax, rax
je 0x14014f67c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140137fe0
mov rbp, rdi
xor ecx, ecx
call fcn.140129630
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400042b4
Capabilities:
Parse pe header

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

Function at 0x140004ac0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004b1c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004b1c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004b1c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004b1c
cmp dword [rcx + 0x84], 0xe
jbe 0x140004b1c
cmp dword [rcx + 0xf8], 0
je 0x140004b1c
mov ecx, ebx
call fcn.140004d30
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140008dd0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140004eb0
cmp dword [rsp + 0x60], 0
jne 0x140004b5f
mov ecx, ebx
call fcn.140004db0
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140004b70
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004bd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004bd2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140004bd2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140004bd2
cmp dword [rdx + 0x84], 0xe
jbe 0x140004bd2
cmp dword [rdx + 0xf8], 0
je 0x140004bd2
mov ecx, ebx
call fcn.140004d30
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140008dd0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140004eb0
cmp dword [rsp + 0x60], 0
jne 0x140004c15
mov ecx, ebx
call fcn.140004db0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400055b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1400086c8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400055ec
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140004270
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400056a8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000570e
test ebx, ebx
jne 0x14000570e
lea ecx, [rax + 2]
call fcn.140004270
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140003a80
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400061c4
Capabilities:
Parse pe header

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

Function at 0x1400069d0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006a2c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006a2c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006a2c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006a2c
cmp dword [rcx + 0x84], 0xe
jbe 0x140006a2c
cmp dword [rcx + 0xf8], 0
je 0x140006a2c
mov ecx, ebx
call fcn.140006c40
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14000aee0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140006dc0
cmp dword [rsp + 0x60], 0
jne 0x140006a6f
mov ecx, ebx
call fcn.140006cc0
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140006a80
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006ae2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006ae2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x140006ae2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x140006ae2
cmp dword [rdx + 0x84], 0xe
jbe 0x140006ae2
cmp dword [rdx + 0xf8], 0
je 0x140006ae2
mov ecx, ebx
call fcn.140006c40
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14000aee0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.140006dc0
cmp dword [rsp + 0x60], 0
jne 0x140006b25
mov ecx, ebx
call fcn.140006cc0
int3
add rsp, 0x40
pop rbx
ret