joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400558c0
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400558fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400558ff
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 0x140055948
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14008e030]
cmp byte [rcx + rax], 0
je 0x140055948
dec r8
sub rdx, 1
jne 0x14005592e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400596b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov qword [rcx], rdx
lea rbx, [rcx + 8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdi, rcx
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
and qword [rbx + 0x18], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], eax
test dword [0x1400aa0cc], 0x80000000
je 0x140059705
mov ecx, dword [0x1400b00a8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14005970a
call fcn.140060978
mov qword [rbx], rax
mov r8b, 1
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.1400598fc
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140059760
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
call fcn.14005d02c
mov r8d, dword [rbx + 0x10]
mov ecx, eax
shr r8d, 2
test r8b, 1
jne 0x140059802
mov r8d, dword [rbx + 0x10]
shr r8d, 1
test r8b, 1
je 0x14005979e
mov eax, dword [rbx + 0x10]
shr eax, 3
shr edi, 3
sub eax, edi
jmp 0x1400597a3
mov eax, 1
lea r8d, [rcx + 2]
cmp eax, r8d
ja 0x140059802
dec eax
mov qword [rsp + 0x20], 0
imul eax, dword [0x1400aa0b8]
lea rcx, [0x14005abb8]
xor edx, edx
mov qword [rsp + 0x30], rcx
div r8d
add eax, dword [0x1400aa0b8]
jne 0x1400597e1
mov dword [rsp + 0x28], 4
jmp 0x1400597ed
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbx + 0x10]
test al, 1
je 0x140059802
lea rcx, [rsp + 0x20]
call fcn.140059cf0
test al, al
jne 0x1400597ed
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.14005adb0

Function at 0x14005a750
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005a763
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14005ad80
lea rdx, [0x1400a7350]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400629c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14, rcx
mov rsi, r8
mov ecx, dword [0x1400b00a8]
mov rdi, rdx
xor ebx, ebx
call sub.KERNEL32.dll_TlsGetValue
mov r11, rax
lea r10, [rdi + 0x10]
mov rax, rdi
neg rax
sbb r9, r9
and r9, r10
cmp r11, r9
je 0x140062a6d
call fcn.140065388
mov ecx, dword [rbp - 0x20]
lea r9d, [rbx + 5]
mov eax, dword [rsi]
lea r8, [rbp - 0x20]
and ecx, 0xf0000000
mov dword [rbp - 0x30], ebx
mov edx, 0xfffffff
mov qword [rbp - 0x28], rbx
and eax, edx
or ecx, eax
mov rax, qword [rsi + 8]
xor ecx, dword [rsi]
and ecx, edx
mov qword [rbp - 0x18], rax
xor ecx, dword [rsi]
lea rdx, [rbp - 0x30]
mov eax, dword [rsi + 4]
mov dword [rbp - 0x1c], eax
mov rax, qword [rsi + 0x10]
mov dword [rbp - 0x20], ecx
mov rcx, r14
mov qword [rbp - 0x10], rax
call fcn.140060fb8
test al, al
je 0x140062a68
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14006a2dc
mov bl, 1
call fcn.140065388
lea r11, [rsp + 0x50]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400649cc
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400b00a8]
xor edx, edx
jmp fcn.14005a750

Function at 0x140065344
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400b00a8]
jmp fcn.14005a750
Function at 0x140065840
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r15
sub rsp, 0x20
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rcx], r15
or dword [rcx + 8], 0xfffffff
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov dword [rcx + 0x20], r15d
mov dword [rcx + 0x24], 0x80000000
mov qword [rcx + 0x28], r15
mov dword [rcx + 0x58], r15d
add rcx, 0x60
call fcn.140070da4
nop
mov rax, qword [rsi + 0xa8]
mov qword [rbx + 0xa8], rax
mov qword [rbx + 0xb8], r15
mov dword [rbx + 0xc8], r15d
mov dword [rbx + 0xd4], r15d
mov qword [rbx + 0xd8], r15
test dword [0x1400aa0cc], 0x80000000
je 0x1400658d8
mov ecx, dword [0x1400b00a8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x1400658dd
call fcn.140060978
mov qword [rbx + 0x18], rax
mov rax, qword [rax + 0x60]
mov qword [rbx], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
test rax, 0xfffffffffffffffd
je 0x1400658fc
lock inc dword [rax + 8]
mov dword [rbx + 0x50], r15d
mov dword [rbx + 0x54], r15d
mov dword [rbx + 0xcc], r15d
mov qword [rbx + 0x30], r15
lea rcx, [rbx + 0x38]
call fcn.1400595f0
lea rcx, [rbx + 0x60]
call fcn.140071330
test bpl, bpl
je 0x140065967
mov rcx, qword [rbx + 0xa8]
mov rax, qword [rcx + 0xb0]
mov qword [rbx + 0xb0], rax
lock cmpxchg qword [rcx + 0xb0], rbx
je 0x14006597d
mov rdx, rax
mov qword [rbx + 0xb0], rax
mov rcx, qword [rbx + 0xa8]
lock cmpxchg qword [rcx + 0xb0], rbx
cmp rax, rdx
jne 0x140065946
jmp 0x14006597d
mov eax, dword [rbx + 0xc8]
or eax, 1
mov dword [rbx + 0xc8], eax
mov qword [rbx + 0xb0], r15
call fcn.140060b00
mov rdi, rax
cmp qword [rax + 0x40], r15
jne 0x140065993
mov rcx, rax
call fcn.1400649dc
mov rax, qword [rdi + 0x40]
mov ecx, dword [rax + 0xa0]
mov dword [rbx + 0xd0], ecx
and dword [rbx + 8], 0xfffffff
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret

Function at 0x1400674b8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rdi, rcx
mov rdx, qword [rax + 0x18]
mov ebx, dword [rdx + 0xa8]
mov ecx, ebx
call sub.KERNEL32.dll_TlsGetValue
mov rdx, rdi
mov qword [rdi + 0x38], rax
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005a750

Function at 0x140068834
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
xor ebx, ebx
mov ecx, dword [rax + 0xa8]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140068856
test al, 3
cmove rbx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140068e20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
mov rdi, rcx
mov ecx, dword [rax + 0xa8]
call sub.KERNEL32.dll_TlsGetValue
mov rbx, rax
test rax, rax
je 0x140068e84
and eax, 3
je 0x140068e6a
cmp rax, 1
jne 0x140068e84
and rbx, 0xfffffffffffffffe
mov rbx, qword [rbx + 0x20]
add rbx, 0x10
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x140068e6a
cmp byte [rax + 0x70], 0
jne 0x140068e84
mov rcx, rbx
call fcn.1400672f4
test rbx, rbx
je 0x140068e84
mov rdx, rbx
mov rcx, rdi
call fcn.1400688c8
jmp 0x140068e86
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400698f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
xor edx, edx
mov r8d, 0x800
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14006995f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140069a06
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140069a06
lea rdx, str.RegisterTraceGuidsW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005a7c8
mov qword [rbx], rax
lea rdx, str.UnregisterTraceGuids
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005a7c8
mov qword [rbx + 8], rax
lea rdx, str.TraceEvent
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005a7c8
mov qword [rbx + 0x10], rax
lea rdx, str.GetTraceLoggerHandle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005a7c8
mov qword [rbx + 0x18], rax
lea rdx, str.GetTraceEnableLevel
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005a7c8
mov qword [rbx + 0x20], rax
lea rdx, str.GetTraceEnableFlags
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.14005a7c8
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140070764
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140070820]
mov r9, qword [r9 + 8]
jmp fcn.140062370

Function at 0x1400707f8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140070830]
mov r9, qword [r9 + 8]
jmp fcn.140062370

Function at 0x140072114
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov rdx, qword [rax + 0x18]
mov ecx, dword [rdx + 0xa8]
call sub.KERNEL32.dll_TlsGetValue
mov r8, rax
test rax, rax
je 0x14007215c
mov dl, r8b
and dl, 3
cmp dl, 1
jne 0x14007215c
and r8, 0xfffffffffffffffe
je 0x14007215c
mov rax, qword [rbx + 0x80]
cmp r8, rax
jne 0x14007215c
and qword [r8 + 0x20], 0
jmp 0x14007219b
and dword [rsp + 0x20], 0
lea rax, [0x14005ab78]
and dword [rsp + 0x24], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
jmp 0x14007218f
mov rax, qword [rbx + 0x88]
test rax, rax
jne 0x14007219b
lea rcx, [rsp + 0x20]
call fcn.140059c3c
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x140072179
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x40]
add rsp, 0x40
pop rbx
jmp qword [case.0x140060d56.0]

Function at 0x14007578c
Capabilities:
Parse pe header

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

Function at 0x140075ae0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140076480
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140076480
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140076480
mov ecx, dword [0x1400b0190]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x14
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140077810
call fcn.140076480
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x140078aa0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1400aa140]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140078adc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1400755f8
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 0x140078b98
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 0x140078bfe
test ebx, ebx
jne 0x140078bfe
lea ecx, [rax + 2]
call fcn.1400755f8
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.1400749d0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14007dbb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x1400aa140]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14007dc1c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14007dc1c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14007dc6f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14007dc00
mov rcx, qword [0x1400b0790]
test rcx, rcx
jne 0x14007dc52
call fcn.14007f960
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x1400b0790], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14007dd53
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14007dd55
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14007dd7a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14007dc1c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14007dc1c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14007dc1c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14007dd43
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14007dd21
jmp 0x14007dc1c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14007dc1c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.1400749d0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140075458
int3

Function at 0x14007e1c0
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 0x14007e222
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007e222
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14007e222
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14007e222
cmp dword [rdx + 0x84], 0xe
jbe 0x14007e222
cmp dword [rdx + 0xf8], 0
je 0x14007e222
mov ecx, ebx
call fcn.14007e080
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, [0x1400b07a8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14007df10
cmp dword [rsp + 0x60], 0
jne 0x14007e265
mov ecx, ebx
call fcn.14007e040
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14007e2b0
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 0x14007e30c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007e30c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007e30c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007e30c
cmp dword [rcx + 0x84], 0xe
jbe 0x14007e30c
cmp dword [rcx + 0xf8], 0
je 0x14007e30c
mov ecx, ebx
call fcn.14007e080
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, [0x1400b07a8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14007df10
cmp dword [rsp + 0x60], 0
jne 0x14007e34f
mov ecx, ebx
call fcn.14007e040
int3
add rsp, 0x40
pop rbx
ret

Function at 0x180001000
Capabilities:
Enumerate processes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rdi, rcx
mov rax, qword [0x180004340]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x28], 0x238
xor esi, esi
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x180001150
mov rbx, rax
lea rdx, [rsp + 0x28]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
lea r14, [rsp + 0x54]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rcx, qword [rdi + 0x10]
cmp rax, rcx
mov rdx, rcx
cmovb rdx, rax
test rdx, rdx
je 0x1800010a5
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x18000107f
mov r8, qword [rdi]
xor r9d, r9d
nop word cs:[rax + rax]
movzx r10d, word [r8 + r9*2]
cmp r10w, word [rsp + r9*2 + 0x54]
jne 0x1800010d4
inc r9
cmp rdx, r9
jne 0x180001090
cmp rax, rcx
jne 0x1800010d4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x30]
jmp 0x180001150
xor edx, edx
cmp rax, rcx
setb dl
mov eax, 0xffffffff
cmovbe eax, edx
test eax, eax
je 0x1800010aa
lea rdx, [rsp + 0x28]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x180001147
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov rcx, qword [rdi + 0x10]
cmp rax, rcx
mov rdx, rcx
cmovb rdx, rax
test rdx, rdx
je 0x1800010c0
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x18000110e
mov r8, qword [rdi]
xor r9d, r9d
nop word cs:[rax + rax]
movzx r10d, word [r8 + r9*2]
cmp r10w, word [rsp + r9*2 + 0x54]
jne 0x180001140
inc r9
cmp rdx, r9
jne 0x180001120
jmp 0x1800010c0
mov eax, 1
jmp 0x1800010d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800014b0
mov eax, esi
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x180001370
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800013ac
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x180001170]
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800013ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140001410
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.140001400
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.140001400
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.140001400
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.140001400
lea ecx, [rdx + 0x42]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x41]
call fcn.140001400
lea ecx, [rdx + 0x45]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x44]
call fcn.140001400
lea ecx, [rdx + 0x4c]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4b]
call fcn.140001400
lea ecx, [rdx + 0x3e]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x3d]
call fcn.140001400
lea ecx, [rdx + 0x4f]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x4e]
call fcn.140001400
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.140001400
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x1400824cc]
call fcn.140001400
movzx ecx, word [0x1400824ce]
mov edx, ntohl
mov word [rsp + 0x54], ax
call fcn.140001400
movzx ecx, word [str.Unknown_exception]
mov edx, ntohl
mov word [rsp + 0x56], ax
call fcn.140001400
movzx ecx, word [0x1400824d2]
mov edx, reloc.WS2_32.dll_listen
mov word [rsp + 0x58], ax
call fcn.140001400
movzx ecx, word [0x1400824d4]
mov edx, reloc.WS2_32.dll_ntohl
mov word [rsp + 0x5a], ax
call fcn.140001400
movzx ecx, word [0x1400824d6]
mov edx, reloc.WS2_32.dll_ntohs
mov word [rsp + 0x5c], ax
call fcn.140001400
movzx ecx, word [0x1400824d8]
mov edx, reloc.WS2_32.dll_recv
mov word [rsp + 0x5e], ax
call fcn.140001400
movzx ecx, word [0x1400824da]
mov edx, reloc.WS2_32.dll_recvfrom
mov word [rsp + 0x60], ax
call fcn.140001400
movzx ecx, word [0x1400824dc]
mov edx, reloc.WS2_32.dll_select
mov word [rsp + 0x62], ax
call fcn.140001400
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140001590
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
add rsp, 0x70
pop rbx
ret

Function at 0x140003300
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
lea rcx, str.Color_07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14008255c]
call fcn.14000a1e0
mov rcx, qword [0x1400d3810]
mov edx, 7
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]