joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
je 0x140001195
cmp dword [rsp + 0x98], 0
jne 0x14000119c
xor eax, eax
jmp 0x1400012f2
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x38], 0
je 0x1400012ed
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140001300
cmp eax, dword [rsp + 0x98]
jne 0x1400012cc
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x1400012ed
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x14000125a
mov rax, qword [rsp + 0x58]
add rsp, 0x88
ret
Function at 0x140001300
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xffffffff
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1400013af
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call fcn.1400013d0
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x2c], 0
jmp 0x140001362
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 7
jg 0x1400013a0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
test eax, eax
jge 0x14000138a
mov eax, dword [rsp + 0x20]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rsp + 0x20], eax
jmp 0x140001394
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
shl eax, 1
mov dword [rsp + 0x24], eax
jmp 0x140001358
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x140001319
mov eax, dword [rsp + 0x20]
not eax
mov ecx, eax
call fcn.1400013d0
add rsp, 0x38
ret
Function at 0x1400017d0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x140
mov dword [rsp + 0x50], 1
cmp dword [rsp + 0x50], 0x1e
jge 0x140001a82
cmp dword [rsp + 0x50], 4
jge 0x140001857
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], 0
jmp 0x140001811
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xa
jge 0x140001852
cmp dword [rsp + 0x58], 6
jle 0x140001850
mov edx, 0xa
mov ecx, 1
call fcn.140001b40
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov ecx, 0xe
call fcn.1400422e0
mov ecx, 0x14
call qword [0x1400450f8]
nop
jmp 0x140001807
jmp 0x140001a7d
cmp dword [rsp + 0x50], 4
jge 0x1400018a5
mov dword [rsp + 0x5c], 0
jmp 0x140001872
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 5
jge 0x140001891
mov ecx, 0x1f
call fcn.1400422e0
mov ecx, 0xc8
call qword [0x1400450f8]
nop
jmp 0x140001868
mov eax, dword [rsp + 0x50]
lea eax, [rax*4 + 5]
mov dword [rsp + 0x50], eax
jmp 0x140001a7d
cmp dword [rsp + 0x50], 0xf
jge 0x140001a7d
mov edx, 0xa
mov ecx, 1
call fcn.140001b40
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x60], 0
jmp 0x1400018df
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0xa
jge 0x1400018e8
jmp 0x1400018d5
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov ecx, 0x66
call fcn.1400422e0
mov ecx, 0xcb
call fcn.1400422e0
mov dword [rsp + 0xa0], 0x68
mov ecx, 0x84
call fcn.1400422e0
mov ecx, 0x60
call fcn.1400422e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140001964
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0xa
call fcn.1400422e0
mov ecx, 0x1f4
call qword [0x1400450f8]
mov dword [rsp + 0xdc], 1
xor eax, eax
mov word [rsp + 0xe0], ax
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x54]
call fcn.1400016e0
mov rcx, rax
call fcn.1400016c0
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [0x140045100]
test eax, eax
je 0x140001a30
mov rcx, qword [rsp + 0x80]
call qword [0x1400450f0]
mov rcx, qword [rsp + 0x88]
call qword [0x1400450f0]
nop
jmp 0x140001a66
mov ecx, 0x7b
call fcn.1400422e0
nop
mov dword [rsp + 0x64], 0
jmp 0x140001a4f
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x64], eax
jge 0x140001a66
mov ecx, 0x19c
call fcn.1400422e0
nop
jmp 0x140001a45
mov ecx, 0x65
call fcn.1400422e0
mov ecx, 0xca
call fcn.1400422e0
nop
jmp 0x140001a82
jmp 0x1400017e1
add rsp, 0x140
pop rdi
ret
Function at 0x140042350
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400429c0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov ecx, 0x998b531e
call section..text
mov qword [rsp + 0x20], rax
mov ecx, 0x87
call fcn.1400422e0
mov edx, 0x8436f795
mov rcx, qword [rsp + 0x20]
call fcn.140001170
mov qword [0x140045108], rax
call qword [0x140045108]
test eax, eax
je 0x1400423d8
mov ecx, 0x400
call fcn.1400422e0
mov ecx, 0x801
call fcn.1400422e0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0xe058bb45
mov rcx, qword [rsp + 0x20]
call fcn.140001170
mov qword [0x1400450e8], rax
mov ecx, 0x38
call fcn.1400422e0
mov ecx, 0x1e
call fcn.1400422e0
mov ecx, 7
call fcn.1400422e0
mov ecx, 5
call fcn.1400422e0
mov ecx, 0x2b
call fcn.1400422e0
mov ecx, 0x54
call fcn.1400422e0
mov ecx, 0x15
call fcn.1400422e0
mov ecx, 0x34
call fcn.1400422e0
mov ecx, 0xe
call fcn.1400422e0
mov ecx, 5
call fcn.1400422e0
mov ecx, 0x2b
call fcn.1400422e0
mov ecx, 0x54
call fcn.1400422e0
mov edx, 0xcef2eda8
mov rcx, qword [rsp + 0x20]
call fcn.140001170
mov qword [0x1400450f8], rax
mov ecx, 0x1a
call fcn.1400422e0
mov ecx, 0x20
call fcn.1400422e0
mov edx, 0x5c856c47
mov rcx, qword [rsp + 0x20]
call fcn.140001170
mov qword [0x140045100], rax
mov ecx, 0x46
call fcn.1400422e0
mov ecx, 0x47
call fcn.1400422e0
mov edx, 0xb09315f4
mov rcx, qword [rsp + 0x20]
call fcn.140001170
mov qword [0x1400450f0], rax
mov ecx, 0x98
call fcn.1400422e0
mov ecx, 0x18
call fcn.1400422e0
mov qword [rsp + 0x38], 0
mov ecx, 0x1388
call qword [0x1400450f8]
call fcn.140001710
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400429c0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x40], 0x14044ae
mov dword [rsp + 0x44], 0xe67c7320
mov dword [rsp + 0x48], 0xac2eda02
mov dword [rsp + 0x4c], 0xd443ec8c
mov dword [rsp + 0x50], 0x92dd00b3
mov dword [rsp + 0x54], 0x12d71086
mov dword [rsp + 0x58], 0x7b3f64a4
lea rdx, [rsp + 0x40]
mov ecx, 7
call fcn.140042aa0
lea rcx, [0x140045030]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
lea rcx, [0x140045060]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtCreateThreadEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rcx, [0x140045090]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtProtectVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtMapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
call fcn.1400426c0
add rsp, 0x68
ret
Function at 0x140042fc0
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x140042fe8
mov rax, qword [rsp + 0x10]
cmp dword [rax + 0x118], 0xa
je 0x140042fef
xor eax, eax
jmp 0x14004313e
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x140043023
xor eax, eax
jmp 0x14004313e
mov rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140043042
xor eax, eax
jmp 0x14004313e
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x14004306e
xor eax, eax
jmp 0x14004313e
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x1400430a1
xor eax, eax
jmp 0x14004313e
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp]
mov qword [0x140045158], rax
mov rax, qword [rsp + 0x18]
mov qword [0x140045160], rax
mov rax, qword [rsp + 0x20]
mov qword [0x140045168], rax
mov rax, qword [rsp + 8]
mov qword [0x140045170], rax
mov rax, qword [rsp + 0x30]
mov qword [0x140045178], rax
mov rax, qword [rsp + 0x38]
mov qword [0x140045180], rax
mov rax, qword [rsp + 0x40]
mov qword [0x140045188], rax
mov eax, 1
add rsp, 0x58
ret

Function at 0x1400437e1
Capabilities:
Execute syscall

Disassembly:
mov rax, rcx
mov r10, rax
mov eax, dword [0x1400450e0]
syscall
ret
Function at 0x14000e4b0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400f12a0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14000e53e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x14000e4e2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14000e550
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400f12a0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14000e654
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14000e64f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x14000e624
cmp qword [rsp + 0x38], 2
jb 0x14000e624
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000e624
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000e624
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14000e597
jmp 0x14000e6e6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x14000e6e6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14000e6bc
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000e6bc
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000e6bc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14000e654
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14003f470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14003e060
test eax, eax
je 0x14003f5f7
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.140013950
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14003e060
test eax, eax
je 0x14003f5f7
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x14003f5eb
mov r8d, 0x8eb
lea rdx, [0x1401052a0]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
xor eax, eax
test eax, eax
jne 0x14003f5c2
mov eax, dword [rsp + 0x50]
jmp 0x14003f608
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
xor eax, eax
add rsp, 0x98
ret
Function at 0x1400666b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3c18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3c20]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140004920
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x1400667ff
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1400667c1
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140036f20
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400667bc
jmp 0x1400667ff
jmp 0x140066732
cmp dword [rsp + 0x28], 0xd
jne 0x1400667cd
jmp 0x140066732
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.14005bd30
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x140066732
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x14006681e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x14006685a
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140004920
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x14011fc90]
ja 0x14006687e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x14011fc90]
jp 0x140066898
jne 0x140066898
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x1400668b3
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140087c70
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140087c96
mov dword [rsp + 0x20], 1
jmp 0x140087c9e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140092570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, [rsp + 0x18]
mov qword [rsp + 0x10], rax
mov dword [rsp], 2
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x10]
add rax, 4
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 4]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
add eax, 0x4c0e8b3b
xor eax, 0xf42104e
add eax, 0x5edbb41f
mov rcx, qword [rsp + 0x10]
mov dword [rcx - 4], eax
mov eax, dword [rsp]
dec eax
mov dword [rsp], eax
cmp dword [rsp], 0
jne 0x140092594
mov rax, qword [rsp + 0x18]
add rsp, 0x28
ret

Function at 0x140092690
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 2
mov rax, qword [rsp + 0x50]
add rax, 0x18
mov rcx, rax
call fcn.1400b8010
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
add rax, 4
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x28]
shr eax, 0x1c
imul ecx, dword [rsp + 0x2c], 0x10
or eax, ecx
xor eax, 0x32dd4a30
add eax, 0x1ccacbd8
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
shl eax, 6
mov ecx, dword [rsp + 0x24]
shr ecx, 0x1a
or eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx - 4], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400926c1
mov ecx, dword [rsp + 0x38]
call fcn.140092440
add rsp, 0x48
ret
Function at 0x1400a71a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400a71d9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400a72c7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400a726f
cmp qword [rsp + 0x20], 0
jle 0x1400a726f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400a7219
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140076fd0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x1400a72b7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400a72b7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret