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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x7ff670e25080]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x7ff670e0cc48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [0x7ff670e0cc38]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.7ff670dbe860
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, [0x7ff670e0cc38]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x7ff670db2dd7
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x7ff670db2e13
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x7ff670e43998]
call fcn.7ff670dae8a0
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x7ff670db2dcd
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.7ff670dbdfe4
cmp qword [rsp + 0x50], 0
jne 0x7ff670db2e3a
mov qword [rsp + 0x60], 0
jmp 0x7ff670db2e4d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.7ff670dbe840
add rsp, 0xa8
ret
Function at 0x7ff670db2e80
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x7ff670e25080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x7ff670db2f26
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
mov eax, dword [rsp + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x7ff670db2eca
cmp dword [rsp + 0x30], 0
jge 0x7ff670db2f47
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
jmp 0x7ff670db303d
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x7ff670db2f65
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x7ff670db3028
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.7ff670d89f90
lea rcx, [rsp + 0x58]
call fcn.7ff670d89ee0
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
jne 0x7ff670db3019
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.7ff670d89f30
mov rax, qword [rsp + 0x48]
jmp 0x7ff670db303d
lea rcx, [rsp + 0x58]
call fcn.7ff670d89f30
jmp 0x7ff670db2f5b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.kernel32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.7ff670dbe840
add rsp, 0x88
ret
Function at 0x7ff670db3b80
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [0x7ff670e25080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [0x7ff670e43ac8]
call fcn.7ff670dafd20
test rax, rax
jne 0x7ff670db3bc6
movzx eax, word [0x7ff670e43b08]
test eax, eax
jne 0x7ff670db3bc6
cmp qword [0x7ff670e43b00], 0
je 0x7ff670db3bcb
jmp 0x7ff670db3db3
lea rcx, [0x7ff670e0cdf0]
call fcn.7ff670d93820
mov r8b, 1
mov rdx, rax
lea rcx, [0x7ff670e07338]
call fcn.7ff670db3060
mov dword [0x7ff670e43af4], eax
xor edx, edx
mov eax, dword [0x7ff670e43af4]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x7ff670e43b08], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x7ff670e07390]
call qword [sym.imp.kernel32.dll_LoadLibraryExA]
mov qword [0x7ff670e43b00], rax
mov edx, 0x18
lea rcx, [rsp + 0x98]
call fcn.7ff670daaba0
lea rcx, [rsp + 0x98]
call fcn.7ff670db4b50
nop
lea rax, [0x7ff670e43998]
mov qword [rsp + 0x38], rax
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.7ff670daaba0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.7ff670dae000
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
call fcn.7ff670db4cb0
jmp 0x7ff670db3c94
lea rcx, [rsp + 0x90]
call fcn.7ff670db4c30
movzx edx, byte [rsp + 0x88]
lea rcx, [rsp + 0x90]
call fcn.7ff670db4c70
movzx eax, al
test eax, eax
je 0x7ff670db3d49
lea rcx, [rsp + 0x90]
call fcn.7ff670db4c50
lea rcx, [rsp + 0xb0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x48], rax
lea rax, [0x7ff670db3e10]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.7ff670db5b40
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.7ff670db3de0
nop
lea rcx, [rsp + 0x78]
call fcn.7ff670d8f820
jmp 0x7ff670db3c87
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.7ff670dace90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x40]
call fcn.7ff670db4b20
mov qword [rsp + 0x68], rax
jmp 0x7ff670db3d84
mov rax, qword [rsp + 0x30]
add rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x30], rax
je 0x7ff670db3da6
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.7ff670db2b70
jmp 0x7ff670db3d76
lea rcx, [rsp + 0x98]
call fcn.7ff670db4b30
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff670dbe840
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x7ff670db6c10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x7ff670e25080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.7ff670daaba0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.7ff670db75e0
nop
lea rax, [0x7ff670db7680]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.7ff670dace90
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x7ff670db6cd4
lea rcx, [rsp + 0x40]
call fcn.7ff670db0a90
jmp 0x7ff670db6cec
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.7ff670db7230
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff670dbe840
add rsp, 0x58
ret
Function at 0x7ff670dbb020
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x7ff670e25080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov ebx, r8d
lea rcx, [0x7ff670dc3fd0]
mov rbp, rdx
xor r14d, r14d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
mov edi, 0x80070057
cmovne edi, r14d
je 0x7ff670dbb07c
lea r8, [0x7ff670dc3fe0]
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_wcscat_s]
neg eax
sbb edi, edi
and edi, 0x80070057
test edi, edi
js 0x7ff670dbb144
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 4
jb 0x7ff670dbb15e
cmp qword [rsi + 0x18], 7
mov r9, rsi
jbe 0x7ff670dbb0ac
mov r9, qword [rsi]
movzx edx, byte [rsp + 0x40]
lea rax, [0x7ff670dc4030]
mov qword [rsp + 0x30], 4
mov r8, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.7ff670db8110
cmp qword [rsp + 0x60], 7
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, rbp
cmova r8, qword [rsp + 0x48]
call qword [sym.imp.ucrtbase.dll_wcscat_s]
mov rdx, qword [rsp + 0x60]
neg eax
sbb edi, edi
and edi, 0x80070057
cmp rdx, 7
jbe 0x7ff670dbb144
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff670dbb13f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff670dbb13f
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff670dbdfe4
mov eax, edi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.7ff670dbe840
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.7ff670d82010
int3
Function at 0x7ff670dbb480
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, [0x7ff670dc3e90]
call qword [sym.imp.kernel32.dll_LoadLibraryW]
test rax, rax
je 0x7ff670dbb57a
lea rdx, [0x7ff670dc3ea8]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x7ff670e2f018], rax
test rax, rax
je 0x7ff670dbb57a
lea rcx, [0x7ff670dc3ed0]
call qword [sym.imp.kernel32.dll_LoadLibraryW]
test rax, rax
je 0x7ff670dbb57a
lea rdx, [0x7ff670dc3ee8]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x7ff670e2f020], rax
test rax, rax
je 0x7ff670dbb57a
lea rcx, [0x7ff670dc3f00]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x7ff670dbb575
lea rdx, [0x7ff670e0cbe0]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x7ff670e2f028], rax
test rax, rax
je 0x7ff670dbb575
lea rdx, [0x7ff670dc3f18]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x7ff670e2f030], rax
test rax, rax
je 0x7ff670dbb575
lea rdx, [0x7ff670dc3f38]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x7ff670e2f038], rax
test rax, rax
je 0x7ff670dbb575
lea rdx, [0x7ff670dc3f58]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x7ff670e2f040], rax
mov rbx, qword [rsp + 0x20]
cmp qword [0x7ff670e2f018], 0
je 0x7ff670dbb5b3
cmp qword [0x7ff670e2f020], 0
je 0x7ff670dbb5b3
cmp qword [0x7ff670e2f028], 0
je 0x7ff670dbb5b3
cmp qword [0x7ff670e2f030], 0
je 0x7ff670dbb5b3
cmp qword [0x7ff670e2f040], 0
je 0x7ff670dbb5b3
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x7ff670dbeb78
Capabilities:
Parse pe header

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

Function at 0x7ff670dbef58
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x7ff670dc4510]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x7ff670dbef92
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x7ff670dbef97
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff670dbefe0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff670dc4410]
cmp byte [rcx + rax], 0
je 0x7ff670dbefe0
dec r8
sub rdx, 1
jne 0x7ff670dbefc6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x7ff670dbf350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.7ff670dbf070
mov ebx, eax
test eax, eax
jne 0x7ff670dbf380
and dword [rsp + 0x38], eax
call qword [sym.imp.kernel32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x7ff670dbf3e3
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7ff670dbf3da
test al, 0x10
je 0x7ff670dbf3da
bt eax, 0xa
jae 0x7ff670dbf3d3
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.7ff670dbf3f4
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x7ff670dbf3cf
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x7ff670dbf3cf
call qword [sym.imp.ucrtbase.dll_abort]
int3
test edi, edi
jne 0x7ff670dbf3da
and dword [rsp + 0x3c], 0
jmp 0x7ff670dbf3df
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
int1
invalid
and al, byte [0x100dda65c]
nop
call 0xd85cb43e
or eax, dword [rdx]
lodsd eax, dword [rsi]
sub eax, 0xf7ffbd2b
fst qword [0x17edeb322]
push rbx
jnp 0x14001acf1
invalid
Function at 0x14000b530
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
xor eax, eax
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x260], ax
lea rax, [rsp + 0x262]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
jmp 0x14000b5c3
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x14000b660
mov rax, qword [rsp + 0x20]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000dfc0
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.14000dfc0
mov rax, qword [rsp + 0x30]
mov r8, qword [rax + 0x50]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400175cc
mov r8, qword [rsp + 0x480]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call fcn.1400175cc
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x260]
call fcn.14000b4d4
test eax, eax
je 0x14000b65b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
jmp 0x14000b676
jmp 0x14000b5b6
mov rdx, qword [rsp + 0x480]
lea rcx, [0x140002860]
call fcn.14000b23c
xor eax, eax
add rsp, 0x470
pop rdi
ret
Function at 0x14000b680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x14000b732
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14000b78c
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.140017930
test eax, eax
jne 0x14000b78a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x14000b78e
jmp 0x14000b728
xor eax, eax
add rsp, 0x68
ret
Function at 0x140018dfc
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 0x140018e6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018e6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018e6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018e6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018e6b
cmp dword [rcx + 0x84], 0xe
jbe 0x140018e6b
cmp dword [rcx + 0xf8], 0
je 0x140018e6b
mov ecx, ebx
call fcn.140018f1c
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.140018cf8
nop
cmp dword [rbp + 0x20], 0
je 0x140018eb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018ec4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140018dfc

Function at 0x140019000
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 0x140018e6b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018e6b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018e6b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018e6b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018e6b
cmp dword [rcx + 0x84], 0xe
jbe 0x140018e6b
cmp dword [rcx + 0xf8], 0
je 0x140018e6b
mov ecx, ebx
call fcn.140018f1c
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.140018cf8
nop
cmp dword [rbp + 0x20], 0
je 0x140018eb9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018ec4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140018dfc
Function at 0x14001ef90
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 0x14001efc0
xor eax, eax
jmp 0x14001f083
mov rbp, rbx
cmp word [rax], si
je 0x14001efe5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001efcc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001efc8
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.14001eeb0
movsxd r14, eax
test eax, eax
jne 0x14001f023
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001efb9
mov rcx, r14
call fcn.14001983c
mov rdi, rax
test rax, rax
jne 0x14001f03c
xor ecx, ecx
call fcn.140019800
jmp 0x14001f018
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.14001eeb0
test eax, eax
jne 0x14001f06d
mov rcx, rdi
call fcn.140019800
jmp 0x14001f077
xor ecx, ecx
call fcn.140019800
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