joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801a6b32
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1803dee80
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1803de800
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1803deebf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180611020]
jmp 0x1803deec9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1801a6fa6
Capabilities:
Query environment variable

Disassembly:
jmp 0x1804c9c00
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1804c9a30
lea rcx, [rsp + 0x40]
call fcn.1804c9bb0
movzx eax, al
test eax, eax
jne 0x1804c9c48
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1804c9a60
mov rax, qword [rsp + 0x70]
jmp 0x1804c9e19
lea rcx, [rsp + 0x40]
call fcn.1804c9b80
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1804c9b20
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1804c9b80
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1801a8fa4
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1804c9cee
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1804c9a60
mov rax, qword [rsp + 0x80]
jmp 0x1804c9e19
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1801a683a
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1801a6470
lea rcx, [rsp + 0x48]
call fcn.1801a5a07
movzx eax, al
test eax, eax
jne 0x1804c9d55
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1801a3734
lea rcx, [rsp + 0x40]
call fcn.1804c9a60
mov rax, qword [rsp + 0x88]
jmp 0x1804c9e19
lea rcx, [rsp + 0x48]
call fcn.1801a787a
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1804c9b80
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1801a8fa4
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1804c9deb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1801a3734
lea rcx, [rsp + 0x40]
call fcn.1804c9a60
mov rax, qword [rsp + 0xa0]
jmp 0x1804c9e19
lea rcx, [rsp + 0x48]
call fcn.1801a63f8
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1801a3734
lea rcx, [rsp + 0x40]
call fcn.1804c9a60
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret

Function at 0x1801a6fce
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1803dedb0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1803de780
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1803dedf1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180611020]
jmp 0x1803dedf7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x1801a7140
Capabilities:
Get geographical location

Disassembly:
jmp 0x180494dd0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.180493c70
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180494e2c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call fcn.1801ac2b2
jmp 0x180494e4e
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1801a5908
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1801a715e
Capabilities:
Terminate process

Disassembly:
jmp 0x1803440a0
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]
nop
add rsp, 0x28
ret
Function at 0x1801a77c1
Capabilities:
Print debug messages

Disassembly:
jmp 0x1804d2de0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1805d8740]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1804d2e09
jmp 0x1804d2e8e
mov rcx, qword [rbp + 0x30]
call fcn.1801a61c3
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1804d2e22
jmp 0x1804d2e8e
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1804d2e3f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1801a3b08
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1801a4594
test eax, eax
jne 0x1804d2e8e
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1801a66be
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1801a7dd9
Capabilities:
Get geographical location

Disassembly:
jmp 0x180349b90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x180349bcd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1801ab385
add rsp, 0x58
ret
Function at 0x1801a7e4c
Capabilities:
Create process on windows

Disassembly:
jmp 0x1804e7dd0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.1801a559d
lea rcx, [rsp + 0xb8]
call fcn.1801a559d
lea rcx, [rsp + 0x88]
call fcn.1801a559d
call fcn.1801a6e5c
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.1801a505c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1804e7e72
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.1801a5f66
lea rcx, [rsp + 0xb8]
call fcn.1801a5f66
lea rcx, [rsp + 0xe8]
call fcn.1801a5f66
mov eax, dword [rsp + 0x54]
jmp 0x1804e8018
call fcn.1801a6e5c
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1801a505c
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1804e7ed2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.1801a5f66
lea rcx, [rsp + 0xb8]
call fcn.1801a5f66
lea rcx, [rsp + 0xe8]
call fcn.1801a5f66
mov eax, dword [rsp + 0x5c]
jmp 0x1804e8018
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x1804e7f58
call fcn.1801a6e5c
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.1801a505c
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x1804e7f46
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.1801a5f66
lea rcx, [rsp + 0xb8]
call fcn.1801a5f66
lea rcx, [rsp + 0xe8]
call fcn.1801a5f66
mov eax, dword [rsp + 0x64]
jmp 0x1804e8018
lea rcx, [rsp + 0x88]
call fcn.1801a543a
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.1801a543a
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.1801a543a
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.1801a5f66
lea rcx, [rsp + 0xb8]
call fcn.1801a5f66
lea rcx, [rsp + 0xe8]
call fcn.1801a5f66
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret

Function at 0x1801a7fd2
Capabilities:
Set environment variable

Disassembly:
jmp 0x1804cbd20
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x1801a823e
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1801eed70
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18060f07c]
call fcn.1801ab3da
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x18050b2f0]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1801eeeb6
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1801eee0a
mov dword [rbp + 0x160], 1
jmp 0x1801eee14
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1801eeeb1
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1801eee8b
cmp qword [rbp + 0x198], 2
jb 0x1801eee8b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1801eee8b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1801eee8b
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1801eedd5
jmp 0x1801eef50
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1801eef50
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1801eef27
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1801eef27
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1801eef27
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1801eeeb6
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1801a9445
Capabilities:
Terminate process

Disassembly:
jmp 0x180462060
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18046208e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1801aa90d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1801aa895
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1801eec50
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x18060f07c]
call fcn.1801ab3da
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x18050b2f0]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1801eecd0
mov dword [rbp + 0x120], 1
jmp 0x1801eecda
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1801eed23
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1801eec9b
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1801aa9df
Capabilities:
Print debug messages

Disassembly:
jmp 0x1804923b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1801aac37
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1803deef0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1803de840
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1803def39
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x180611020]
jmp 0x1803def48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x1801aae35
Capabilities:
Set environment variable

Disassembly:
jmp 0x1804e93d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.1801a559d
lea rcx, [rsp + 0x48]
call fcn.1801a559d
call fcn.1801a6e5c
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.1801a505c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1804e943f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1801a5f66
lea rcx, [rsp + 0x78]
call fcn.1801a5f66
mov eax, dword [rsp + 0x24]
jmp 0x1804e94d0
call fcn.1801a6e5c
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1801a505c
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1804e9486
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1801a5f66
lea rcx, [rsp + 0x78]
call fcn.1801a5f66
mov eax, dword [rsp + 0x2c]
jmp 0x1804e94d0
lea rcx, [rsp + 0x48]
call fcn.1801a543a
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.1801a543a
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1801a5f66
lea rcx, [rsp + 0x78]
call fcn.1801a5f66
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1801ab2e0
Capabilities:
Create thread

Disassembly:
jmp 0x18046ec00
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x18046ec2c
mov dword [rsp + 0x30], 1
jmp 0x18046ec34
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18046ec7d
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x180566a20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.1801a30ef
cmp eax, 1
jne 0x18046ec7d
int3
cmp dword [rsp + 0x34], 0
jne 0x18046ecbf
call fcn.1801a548f
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.1801a9e81
xor eax, eax
jmp 0x18046edc7
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.18046e6f0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18046e4f0
lea rcx, [rsp + 0x40]
call fcn.18046e560
movzx eax, al
test eax, eax
jne 0x18046ed0f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.18046e540
mov rax, qword [rsp + 0x50]
jmp 0x18046edc7
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
call fcn.18046e8a0
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x18046e2c0]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18046ed8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801a4b07
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.18046e540
mov rax, qword [rsp + 0x58]
jmp 0x18046edc7
cmp qword [rsp + 0xa8], 0
je 0x18046eda4
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.18046e860
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.18046e540
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x180300420
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x18060f2ab]
call fcn.1801ab3da
nop
call fcn.1802fe800
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 8]
add rax, 0x2c
mov r9d, 4
mov r8, rax
mov edx, 0x20001004
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180300493
mov rax, qword [rbp + 8]
mov dword [rax + 0x2c], 0
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x18033f460
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x728]
mov rax, qword [0x1805d8740]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x18060f401]
call fcn.1801ab3da
nop
mov qword [rbp + 8], 0
mov edx, dword [rbp + 0x700]
mov ecx, 0x18
call fcn.1801a6588
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x438
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1801a7ad2
cmp eax, 1
jne 0x18033f54a
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x708]
call fcn.1801a6b87
test rax, rax
je 0x18033f514
mov rax, qword [rbp + 0x68]
mov qword [rbp + 8], rax
jmp 0x18033f54a
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1801a360d
cmp eax, 1
jne 0x18033f54a
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x708]
call fcn.1801a6b87
test rax, rax
je 0x18033f548
mov rax, qword [rbp + 0x68]
mov qword [rbp + 8], rax
jmp 0x18033f54a
jmp 0x18033f514
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18055b5e0]
call fcn.1801a99ef
mov rax, rdi
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.1801a66be
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret
Function at 0x18033f5e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x1805d8740]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x18060f401]
call fcn.1801ab3da
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1801a6588
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x18033f650
mov eax, dword [rbp + 4]
jmp 0x18033f6d3
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1801a78a7
cmp eax, 1
jne 0x18033f6c5
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call fcn.1801ab074
test eax, eax
jne 0x18033f695
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x18033f6c5
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1801a9e09
cmp eax, 1
jne 0x18033f6c5
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x440]
call fcn.1801ab074
test eax, eax
jne 0x18033f6c3
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x18033f6c5
jmp 0x18033f695
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x18055b560]
call fcn.1801a99ef
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1801a66be
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x18046f8e0
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x18046f908
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.18046fa80
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]