joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015c80
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x18
test rdx, rdx
cmovne rcx, rdx
xor edx, edx
call sym.WmiApSrv.exe_public:_unsigned_short_int____ptr64___cdecl_CHString::GetBuffer_int____ptr64
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]

Function at 0x140015d50
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x68]
mov r10, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov qword [rsp + 0x20], r9
xor r8d, r8d
mov r9, qword [rsp + 0x60]
mov rdx, r10
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x1400160a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::GetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__class_CHString____ptr64____ptr64

Function at 0x1400160c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x50
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov r14, r9
mov rdi, r8
mov rsi, rdx
xor r15d, r15d
mov dword [rax - 0x28], r15d
or r8d, 0xffffffff
xor edx, edx
mov rcx, r9
call sym.WmiApSrv.exe_public:_void___cdecl_CHStringArray::SetSize_int__int____ptr64
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140016200
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140016200
cmp dword [rsp + 0x34], 7
jne 0x140016200
add eax, 2
mov dword [rsp + 0x30], eax
mov ecx, eax
call fcn.140018538
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140016200
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14001619b
mov rcx, rbx
call sub.msvcrt.dll_free
mov qword [rsp + 0x38], r15
mov eax, 0x80040153
jmp 0x140016205
cmp dword [rsp + 0x34], 7
je 0x1400161b6
mov rcx, rbx
call sub.msvcrt.dll_free
mov qword [rsp + 0x38], r15
mov eax, 0x80040153
jmp 0x140016205
mov rsi, rbx
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], r15w
jne 0x1400161bd
test edi, edi
je 0x1400161f4
mov r8, rsi
mov edx, dword [r14 + 8]
mov rcx, r14
call sym.WmiApSrv.exe_public:_void___cdecl_CHStringArray::SetAtGrow_int__unsigned_short_int_const____ptr64____ptr64
lea eax, [rdi + 1]
movsxd rcx, eax
lea rsi, [rsi + rcx*2]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], r15w
jne 0x1400161e8
jmp 0x1400161c7
mov rcx, rbx
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x140016205
mov eax, 0x80040153
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop r15
ret

Function at 0x140016230
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::GetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__class_CHStringArray____ptr64____ptr64
Function at 0x140016250
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
mov ecx, 0x100
mov rdi, r9
mov dword [rax - 0x18], ecx
mov rsi, r8
mov rbp, rdx
call fcn.140018538
mov rbx, rax
test rax, rax
je 0x1400162f0
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov rdx, rsi
mov qword [rsp + 0x20], rbx
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1400162d1
mov ecx, dword [rsp + 0x34]
sub ecx, 1
je 0x1400162c6
cmp ecx, 3
je 0x1400162c2
and dword [rdi], eax
mov esi, 0x80040153
jmp 0x1400162d1
mov eax, dword [rbx]
jmp 0x1400162cf
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_atol]
mov dword [rdi], eax
mov rcx, rbx
call sub.msvcrt.dll_free
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x38]
call fcn.14001325c
lea rdx, [0x14002a250]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x140016320
Capabilities:
Query or enumerate registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::GetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__unsigned_long_int____ptr64____ptr64

Function at 0x140016340
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x14002ff78]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp + 0x360]
mov dword [rsp + 0x34], 3
mov rdi, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 0x20c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
xor ebx, ebx
test eax, eax
jne 0x140016427
mov esi, 0x106
lea r8, [0x14001f638]
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400036d4
cmp dword [rsp + 0x30], ebx
jbe 0x140016404
movzx r9d, byte [rbp + rbx + 0x360]
lea r8, str._02x
mov edx, 0x104
lea rcx, [rbp + 0x150]
call fcn.140001b38
lea r8, [rbp + 0x150]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000363c
inc ebx
cmp ebx, dword [rsp + 0x30]
jb 0x1400163c7
lea r8, [0x14001f638]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000363c
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140014350
xor eax, eax
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140018970
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x680
pop rdi
pop rsi
pop rbp
ret

Function at 0x140016450
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
sub rsp, 0x38
and dword [rax + 8], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 8]
mov qword [rax - 0x18], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x140016480
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [rsp + 0x70]
mov r10, r8
and dword [rsp + 0x30], 0
mov rcx, rdx
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], r9
mov rdx, r10
lea r9, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
add rsp, 0x48
ret

Function at 0x140016740
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
call sym.WmiApSrv.exe_private:_unsigned_long_int___cdecl_CRegistry::OpenSubKey_void____ptr64
test eax, eax
jne 0x14001678b
mov rax, qword [rsp + 0x60]
mov r9, rdi
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400169b0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 8]
mov r9d, 4
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1400169e0
Capabilities:
Set registry value

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, qword [rcx + 8]
jmp sym.WmiApSrv.exe_public:_unsigned_long_int___cdecl_CRegistry::SetCurrentKeyValue_struct_HKEY______ptr64__unsigned_short_int_const____ptr64__class_CHStringArray____ptr64____ptr64

Function at 0x140016a00
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [r9]
lea rax, [0x14002ff90]
cmp rcx, qword [0x14002f0e0]
mov r10, r8
mov r11, rdx
je 0x140016a21
lea rax, [rcx - 0xc]
mov eax, dword [rax + 4]
mov r9d, 1
xor r8d, r8d
mov rdx, r10
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, r11
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140016a60
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov ecx, 4
mov rax, r8
mov dword [rsp + 0x28], ecx
mov r10, rdx
mov qword [rsp + 0x20], r9
xor r8d, r8d
mov r9d, ecx
mov rdx, rax
mov rcx, r10
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140016aa0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r14, r9
mov r12, r8
mov r13, rdx
xor esi, esi
xor ebx, ebx
cmp dword [r9 + 8], ebx
jle 0x140016b22
mov r8d, ebx
lea rdx, [rsp + 0x98]
mov rcx, r14
call sym.WmiApSrv.exe_public:_class_CHString___cdecl_CHStringArray::GetAt_int____ptr64
mov rax, qword [rsp + 0x98]
cmp rax, qword [0x14002f0e0]
jne 0x140016b00
lea rax, [0x14002ff90]
jmp 0x140016b04
add rax, 0xfffffffffffffff4
mov eax, dword [rax + 4]
lea esi, [rsi + rax*2]
add esi, 2
lea rcx, [rsp + 0x98]
call sym.WmiApSrv.exe_public:_void___cdecl_CHString::destructor_void____ptr64
inc ebx
cmp ebx, dword [r14 + 8]
jl 0x140016ad3
mov eax, 2
add esi, eax
mov ebx, esi
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140018538
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140016b6a
lea rcx, [rsp + 0x30]
call fcn.14001325c
lea rdx, [0x14002a250]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
nop
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
xor r15d, r15d
xor ebx, ebx
cmp ebx, dword [r14 + 8]
jge 0x140016bee
mov r8d, ebx
lea rdx, [rsp + 0x98]
mov rcx, r14
call sym.WmiApSrv.exe_public:_class_CHString___cdecl_CHStringArray::GetAt_int____ptr64
nop
xor edx, edx
lea rcx, [rsp + 0x98]
call sym.WmiApSrv.exe_public:_unsigned_short_int____ptr64___cdecl_CHString::GetBuffer_int____ptr64
mov edx, esi
sub edx, r15d
lea rcx, [rdi + r15*2]
mov r8, rax
call fcn.1400036d4
mov rax, qword [rsp + 0x98]
cmp rax, qword [0x14002f0e0]
jne 0x140016bd1
lea rax, [0x14002ff90]
jmp 0x140016bd5
add rax, 0xfffffffffffffff4
mov eax, dword [rax + 4]
inc eax
add r15d, eax
lea rcx, [rsp + 0x98]
call sym.WmiApSrv.exe_public:_void___cdecl_CHString::destructor_void____ptr64
inc ebx
jmp 0x140016b7d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov r9d, 7
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
mov rcx, rdi
call sub.msvcrt.dll_free
and qword [rsp + 0x38], 0
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140016c40
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov rcx, qword [r9]
lea rax, [0x14002ff90]
cmp rcx, qword [0x14002f0e0]
mov r10, r8
mov r11, rdx
je 0x140016c61
lea rax, [rcx - 0xc]
mov eax, dword [rax + 4]
mov r9d, 2
xor r8d, r8d
mov rdx, r10
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, r11
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140017570
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x1400175b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x1400175f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
xor ecx, ecx
mov rax, r9
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x70]
mov qword [rsp + 0x30], rcx
mov r10d, r8d
mov qword [rsp + 0x28], rcx
mov r11, rdx
mov qword [rsp + 0x20], rcx
mov r8, rax
mov rcx, r11
mov edx, r10d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x140017730
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret
Function at 0x1400186dc
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140030718], rbx
je 0x140018743
cmp rax, rbx
jne 0x140018736
mov ebx, 1
mov esi, ebx
jmp 0x140018748
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001871b
mov ebx, 1
mov eax, dword [0x140030720]
cmp eax, ebx
jne 0x140018760
mov edi, 0x1f
mov ecx, edi
call fcn.1400c2000
jmp 0x1400187cc
mov eax, dword [0x140030720]
test eax, eax
jne 0x1400187c1
mov dword [0x140030720], ebx
lea r15, [0x14001dc70]
lea rdi, [0x14001dc58]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400187b3
test eax, eax
jne 0x1400187b7
cmp qword [rdi], r14
je 0x1400187a8
mov rax, qword [rdi]
mov rcx, qword [0x14001dbc0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001878a
test eax, eax
je 0x1400187c7
mov eax, 0xff
jmp 0x140018920
mov dword [0x14002fff0], ebx
mov edi, 0x1f
mov eax, dword [0x140030720]
cmp eax, ebx
jne 0x1400187f3
lea rdx, [0x14001dc50]
lea rcx, [0x14001dbd8]
call sub.msvcrt.dll__initterm
mov dword [0x140030720], 2
test esi, esi
jne 0x140018801
mov rax, r14
xchg qword [0x140030718], rax
cmp qword [0x140030738], r14
je 0x140018834
lea rcx, [0x140030738]
call fcn.140018c00
test eax, eax
je 0x140018834
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030738]
mov r9, qword [0x14001dbc0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001884d
mov eax, 0xff
jmp 0x140018920
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x1400188d1
cmp word [rcx], r14w
je 0x140018866
test edx, edx
jne 0x1400188d1
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14001887c
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140018866
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003ba0
mov dword [0x14002ffec], eax
cmp dword [0x140030010], r14d
jne 0x1400188ba
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002fff0], r14d
jne 0x1400188cf
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffec]
jmp 0x140018920
cmp word [rcx], 0x22
jne 0x1400188e5
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140018856
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140018c80
add rsp, 0x28
jmp 0x1400186dc
Function at 0x140018b10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140018b5c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140018b54
cmp dword [rcx + 0x3c], edx
jl 0x140018b54
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140018b54
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140018b5c
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140019434
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001943c
push rbx
sub rsp, 0x540
mov rax, qword [0x14002ff78]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_2_0.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_2_0.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400194b9
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_rtlsupport_l1_2_0.dll_RtlVirtualUnwind]
jmp 0x1400194d9
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140018970
add rsp, 0x540
pop rbx
ret
Function at 0x140002f80
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400bb770]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x38], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
mov r8d, 4
mov edx, 0x1000
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 0x1000
mov rcx, qword [rsp + 0x28]
call fcn.140002e10
lea rdx, str.https:__crackmes.one_static_crackme_64fd7a44d931496abf909925.zip
lea rcx, [rsp + 0x60]
call fcn.140003310
nop
lea rdx, str.a.zip
lea rcx, [rsp + 0x40]
call fcn.140003310
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140002e80
movzx eax, al
test eax, eax
je 0x14000303f
lea rdx, str.Download_successful_
lea rcx, [0x1400bca50]
call fcn.140003f30
lea rdx, [0x140004300]
mov rcx, rax
call fcn.1400033c0
jmp 0x140003061
lea rdx, str.Download_failed_
lea rcx, [0x1400bca50]
call fcn.140003f30
lea rdx, [0x140004300]
mov rcx, rax
call fcn.1400033c0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call fcn.140003260
nop
lea rcx, [rsp + 0x60]
call fcn.140003260
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140061ea0
add rsp, 0x98
ret
Function at 0x14000fde0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 4
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1008
mov rbx, rcx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14000fe2d
cmp dword [rsp + 0x50], 1
jne 0x14000fe2d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
add rsp, 0x30
pop rbx
ret
Function at 0x140020fc0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x140099180]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x140020fea
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1400991a0]
mov rcx, rbx
mov r14, rax
call fcn.140074f90
test rax, rax
je 0x14002104d
mov rcx, rbx
test r14, r14
je 0x140021037
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x140021085
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140021085
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x140021148
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1400210b0
lea ecx, [rax + 1]
add rcx, rdx
call qword [fcn.140068220]
mov rdi, rax
test rax, rax
je 0x14002113a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14002113a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1400210e0
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x1400210f4
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x140021110
mov rcx, rdi
test r14, r14
je 0x140021131
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x140021137
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1400668a4]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret