joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001132a
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140017f50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017f70
xor al, al
jmp 0x140017ff1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017f83
xor al, al
jmp 0x140017ff1
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 0x140017fad
xor al, al
jmp 0x140017ff1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017fc1
xor al, al
jmp 0x140017ff1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017fd3
xor al, al
jmp 0x140017ff1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140017fef
xor al, al
jmp 0x140017ff1
mov al, 1
add rsp, 0x38
ret
Function at 0x140015d50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400115eb
movzx eax, al
test eax, eax
jne 0x140015d70
mov ecx, 7
call fcn.1400114d8
nop
mov byte [rsp + 0x20], 0
call fcn.140011514
mov byte [rsp + 0x21], al
cmp dword [0x140023b78], 1
jne 0x140015d94
mov ecx, 7
call fcn.1400114d8
nop
jmp 0x140015dec
cmp dword [0x140023b78], 0
jne 0x140015de7
mov dword [0x140023b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.140011299
test eax, eax
je 0x140015dc8
mov eax, 0xff
jmp 0x140015ef1
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.1400114fb
mov dword [0x140023b78], 2
jmp 0x140015dec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400114bf
call fcn.140011424
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140015e49
mov rcx, qword [rsp + 0x30]
call fcn.14001121c
movzx eax, al
test eax, eax
je 0x140015e49
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002a020]
nop
call fcn.14001146f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140015e7d
mov rcx, qword [rsp + 0x38]
call fcn.14001121c
movzx eax, al
test eax, eax
je 0x140015e7d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001158c
nop
call fcn.140015fa0
mov dword [rsp + 0x28], eax
call fcn.140011401
movzx eax, al
test eax, eax
jne 0x140015e9c
mov ecx, dword [rsp + 0x28]
call fcn.140011078
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140015eab
call fcn.14001159b
nop
xor edx, edx
mov cl, 1
call fcn.1400111f9
mov eax, dword [rsp + 0x28]
jmp 0x140015ef1
add rsp, 0x68
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14008baa0]
mov dword [rax], 1
mov rax, qword [0x14008bab0]
mov dword [rax], 1
mov rax, qword [0x14008bac0]
mov dword [rax], 1
mov rax, qword [0x14008ba50]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140058f40
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, 0x10078
push rbx
call fcn.14006ee50
sub rsp, rax
xor eax, eax
mov rdx, rcx
lea rbx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], cx
lea rsi, [rsp + 0x70]
mov rcx, rbx
call fcn.140064810
mov rdx, rsi
mov r8d, 0x10000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140058f99
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add rsp, 0x10078
pop rbx
pop rsi
ret
Function at 0x14006db30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14007f2b0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14007f2b0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14006e802
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14009baa8]
test eax, eax
je 0x14006e89a
lea rax, [0x14009ba80]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14009bab0]
mov qword [rbp - 8], rax
jmp 0x14006e87e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14006e872
cmp qword [rbp - 0x10], 0
je 0x14006e872
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14006e838
lea rax, [0x14009ba80]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14006e89b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14006e9a0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14006e9c8
mov eax, 0
jmp 0x14006ea16
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14006e9f1
mov eax, 0
jmp 0x14006ea16
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14006ea11
mov eax, 0
jmp 0x14006ea16
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14006ea1c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14006ea9a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14006ea91
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14006ea91
mov rax, qword [rbp - 8]
jmp 0x14006eaaf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14006ea64
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1800bfeab
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x180114480
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1801144a8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x1801144f2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x18011449d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1800c15b7
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180187d40
mov rax, rcx
neg rcx
test rax, 7
je 0x180187d5d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x180187db8
test al, 7
jne 0x180187d50
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x180187d71
mov rdx, qword [rax - 8]
test dl, dl
je 0x180187de2
test dh, dh
je 0x180187ddc
shr rdx, 0x10
test dl, dl
je 0x180187dd6
test dh, dh
je 0x180187dd0
shr rdx, 0x10
test dl, dl
je 0x180187dca
test dh, dh
je 0x180187dc4
shr edx, 0x10
test dl, dl
je 0x180187dbe
test dh, dh
jne 0x180187d71
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1800c15f8
Capabilities:
Query environment variable

Disassembly:
jmp 0x18021d5d0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.18021d150
lea rcx, [rsp + 0x20]
call fcn.18021d1a0
movzx eax, al
test eax, eax
jne 0x18021d615
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.18021d180
mov rax, qword [rsp + 0x40]
jmp 0x18021d70f
lea rcx, [rsp + 0x20]
call fcn.18021d2a0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.18021d240
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1800c1972
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1800c0f36
lea rcx, [rsp + 0x28]
call fcn.1800c1e4a
movzx eax, al
test eax, eax
jne 0x18021d6af
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1800c3326
lea rcx, [rsp + 0x20]
call fcn.18021d180
mov rax, qword [rsp + 0x50]
jmp 0x18021d70f
lea rcx, [rsp + 0x20]
call fcn.18021d2a0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1800c4343
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1800c18af
lea rcx, [rsp + 0x28]
call fcn.1800c4cda
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1800c3326
lea rcx, [rsp + 0x20]
call fcn.18021d180
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1800c1b16
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1801692a0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180168c20
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1801692df
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 [0x1802bb020]
jmp 0x1801692e9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1800c1d78
Capabilities:
Query environment variable

Disassembly:
jmp 0x18021d320
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18021d150
lea rcx, [rsp + 0x40]
call fcn.18021d2d0
movzx eax, al
test eax, eax
jne 0x18021d368
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.18021d180
mov rax, qword [rsp + 0x70]
jmp 0x18021d539
lea rcx, [rsp + 0x40]
call fcn.18021d2a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.18021d240
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.18021d2a0
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.1800c2f52
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x18021d40e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.18021d180
mov rax, qword [rsp + 0x80]
jmp 0x18021d539
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1800c1972
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800c175b
lea rcx, [rsp + 0x48]
call fcn.1800c1161
movzx eax, al
test eax, eax
jne 0x18021d475
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1800bfd25
lea rcx, [rsp + 0x40]
call fcn.18021d180
mov rax, qword [rsp + 0x88]
jmp 0x18021d539
lea rcx, [rsp + 0x48]
call fcn.1800c226e
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.18021d2a0
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.1800c2f52
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18021d50b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1800bfd25
lea rcx, [rsp + 0x40]
call fcn.18021d180
mov rax, qword [rsp + 0xa0]
jmp 0x18021d539
lea rcx, [rsp + 0x48]
call fcn.1800c1715
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1800bfd25
lea rcx, [rsp + 0x40]
call fcn.18021d180
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1800c1d91
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1801691d0
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.180168ba0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180169211
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 [0x1802bb020]
jmp 0x180169217
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1800c1e59
Capabilities:
Get geographical location

Disassembly:
jmp 0x1801f0450
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.1801ef380
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1801f04b7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
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 qword [0x1802bb030]
jmp 0x1801f04d9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1800c10d5
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 0x1800c1e68
Capabilities:
Terminate process

Disassembly:
jmp 0x180145e80
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 0x1800c220a
Capabilities:
Print debug messages

Disassembly:
jmp 0x18022fa10
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x18029e040]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x18022fa36
jmp 0x18022fab3
mov rcx, qword [rbp + 0x30]
call fcn.1800c15b7
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x18022fa4f
jmp 0x18022fab3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x18022fa6c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800bff50
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
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.1800c0572
test eax, eax
jne 0x18022fab3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1800c188c
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1800c264c
Capabilities:
Set environment variable

Disassembly:
jmp 0x18021f480
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 0x1800c3213
Capabilities:
Terminate process

Disassembly:
jmp 0x18016b990
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 0x18016b9be
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1800c3e1b
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 0x1800c3a8d
Capabilities:
Allocate or change rwx memory
Create thread
Resume thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1800db0d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x162
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x818]
mov rax, qword [0x18029e040]
xor rax, rbp
mov qword [rbp + 0x7b0], rax
lea rcx, [0x1802ba168]
call fcn.1800c4438
call fcn.1800c23a4
and eax, 0xff
cdqe
mov qword [rbp + 8], rax
mov dword [rbp + 0x24], 0x3e8
xor ecx, ecx
call fcn.1800db3b0
mov ecx, eax
call fcn.1800c2dd1
mov dword [rbp + 0x44], 1
jmp 0x1800db154
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 4
jge 0x1800db1c2
call fcn.1800c23a4
and eax, 0xff
mov ecx, dword [rbp + 0x44]
shl ecx, 3
shl eax, cl
cdqe
mov rcx, qword [rbp + 8]
or rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
call fcn.1800c23a4
and eax, 0xff
mov ecx, dword [rbp + 0x44]
shl ecx, 3
shl eax, cl
cdqe
mov rcx, qword [rbp + 8]
or rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
call fcn.1800c23a4
and eax, 0xff
mov ecx, dword [rbp + 0x44]
shl ecx, 3
shl eax, cl
cdqe
mov rcx, qword [rbp + 8]
or rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
jmp 0x1800db14c
cmp qword [rbp + 8], 0x7fffffff
jbe 0x1800db1dc
mov rax, qword [rbp + 8]
sub rax, 0x1000
mov qword [rbp + 8], rax
jmp 0x1800db1c2
cmp qword [rbp + 8], 0
ja 0x1800db1f3
mov rax, qword [rbp + 8]
add rax, 0x1000
mov qword [rbp + 8], rax
jmp 0x1800db1dc
movsxd rax, dword [rbp + 0x24]
xor r9d, r9d
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsxd rax, dword [rbp + 0x24]
mov qword [rbp + 0x7a8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbp + 0x7a8]
mov r8, rcx
mov rdx, qword [rbp + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea rax, [rbp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rbp + 0xa0], 0x100003
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov rax, qword [rbp + 0x7e8]
mov r9, qword [rax]
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x558], rax
cmp qword [rbp + 0x558], 0
jne 0x1800db29e
mov rdx, qword [rbp + 0x7e8]
mov rcx, qword [rbp + 0x7e0]
call fcn.1800c3a8d
jmp 0x1800db2e2
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rax, qword [rbp + 0x7e0]
mov qword [rbp + 0xe8], rax
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x558]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, qword [rbp + 0xe8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180254500]
call fcn.1800c3574
mov rax, rdi
mov rcx, qword [rbp + 0x7b0]
xor rcx, rbp
call fcn.1800c188c
lea rsp, [rbp + 0x7c8]
pop rdi
pop rbp
ret
Function at 0x1800c3e9d
Capabilities:
Print debug messages

Disassembly:
jmp 0x1801fdb60
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 0x1800c400f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180169310
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180168c60
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180169359
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 [0x1802bb020]
jmp 0x180169368
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret