joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019f794
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140177704
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14019f81e
cmp byte [rbp - 0x21], r15b
je 0x14019f819
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14019f854
call fcn.1401924d4
test eax, eax
jne 0x14019f840
cmp byte [rbp - 0x21], r15b
je 0x14019f838
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14019f854
cmp byte [rbp - 0x21], r15b
je 0x14019f851
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140181c78
test eax, eax
jne 0x14019f8f4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140177704
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14019f893
cmp byte [rbp - 0x21], r15b
je 0x14019f8c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14019f8c8
call fcn.1401924d4
test eax, eax
jne 0x14019f8b4
cmp byte [rbp - 0x21], r15b
je 0x14019f8ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14019f8c8
cmp byte [rbp - 0x21], r15b
je 0x14019f8c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140181c78
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14019f8f4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14019f8f7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14019f905
mov rcx, rdi
call fcn.14018ee40
cmp byte [rbp + 0x3f], r15b
je 0x14019f914
mov rcx, qword [rbp + 0x27]
call fcn.14018ee40
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1401a0830
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401a0858
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401a0858
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180016588
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800165ec
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800165da
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800165d3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800165a7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1801597d0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800165fc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov r14d, edx
imul rbx, rax, 0x38
add rbx, qword [0x1801597f0]
mov r8, qword [rbx]
mov ecx, dword [rbx + 0x20]
mov rsi, r8
shr ecx, 1
sbb ecx, ecx
lea rdi, [r8 - 5]
test ecx, ecx
je 0x180016636
mov rsi, rdi
mov eax, ecx
lea r9, [rsp + 0x40]
neg eax
sbb rbp, rbp
and ebp, 2
add rbp, 5
test ecx, ecx
mov rdx, rbp
cmove rdi, r8
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18001666f
mov eax, 0xa
jmp 0x180016708
test r14d, r14d
je 0x180016692
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, esi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800166b3
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800166b3
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800166ad
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800166b3
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea ecx, [r14 + r14]
lea edx, [r14*4]
mov r8d, ecx
xor r8d, dword [rbx + 0x20]
mov eax, edx
and r8d, 0xfffffff9
xor eax, ecx
and eax, 0xfffffffb
xor r8d, eax
xor r8d, edx
mov dword [rbx + 0x20], r8d
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180016c94
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180016cab
cmp r8b, 0x90
je 0x180016cab
cmp r8b, 0xcc
jne 0x180016ccd
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180016cc9
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180016ccd
add edx, r10d
cmp edx, r9d
jb 0x180016cb9
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180017034
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18001707e
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1801597e0]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800170b7
cmp rbx, r14
jb 0x1800170b4
cmp rbx, r12
jae 0x1800170b4
cmp qword [rbx + 8], rsi
jne 0x180017219
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800170a0
mov r15, rdi
cmp rdi, r14
jb 0x1800171d3
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x180017103
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18001713d
cmp dword [rbp - 0x10], 0x10000
je 0x18001710d
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18001713d
sub r15, r13
cmp r15, r14
jae 0x1800170d9
jmp 0x18001713d
test r15, r15
je 0x18001713d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800171de
cmp r15, r14
jae 0x1800170c8
test rbx, rbx
jmp 0x1800171d1
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180017219
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180017219
cmp dword [rbp - 0x10], 0x10000
je 0x1800171ac
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x180017169
jmp 0x180017219
test rdi, rdi
je 0x180017219
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800171de
cmp rdi, r12
jbe 0x180017145
jmp 0x180017219
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800171ea
mov rax, qword [0x1801597e0]
mov qword [rbx], rax
mov qword [0x1801597e0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x18001efb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x18001efd3
jmp 0x18001effa
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x18001ed30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x48
ret
Function at 0x1800239d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x30]
lea rcx, str.Failed_to_find__s_pattern.
call fcn.180026130
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret

Function at 0x180023d10
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
imul eax, dword [rsp + 0x48], 0x10
mov eax, eax
mov rcx, qword [rsp + 0x40]
lea rax, [rax + rcx + 0x54]
mov qword [rsp], rax
mov qword [rsp + 8], 2
lea rax, [rsp + 0x20]
sub rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp]
mov eax, dword [rax + 8]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x10]
xor rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x18]
add rdx, rcx
mov rcx, rdx
mov dword [rcx], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov rax, qword [rsp + 8]
dec rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x180023d5f
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180023db0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 2
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
lea rax, [rsp + 0x20]
sub rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x10]
xor rcx, rax
mov rax, rcx
mov rcx, qword [rsp]
mov rdx, qword [rsp + 0x18]
add rdx, rcx
mov rcx, rdx
mov dword [rcx], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov rax, qword [rsp + 8]
dec rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x180023df1
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x180026130
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1e58
call fcn.180080360
sub rsp, rax
mov rax, qword [0x1800feb80]
xor rax, rsp
mov qword [rsp + 0x1e40], rax
xor ecx, ecx
call fcn.180026780
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180026750
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
lea rdx, str.__02d:_02d:_02d__FATAL:___s_n
lea rcx, [rsp + 0x70]
call fcn.180025f50
lea rax, [rsp + 0x1e68]
mov qword [rsp + 0x30], rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x1e60]
mov edx, 0xdac
lea rcx, [rsp + 0x90]
call fcn.180025f10
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xe40]
call fcn.180017fa0
lea r8, [0x1800961e8]
lea rdx, [0x1801050b0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x180026231
lea r8, [rsp + 0xe40]
lea rdx, [0x1800961ec]
mov rcx, qword [rsp + 0x38]
call fcn.180026700
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r9d, 0x10
lea r8, str.FATAL_ERROR
lea rdx, [rsp + 0xe40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0x1e40]
xor rcx, rsp
call fcn.1800803c0
add rsp, 0x1e58
ret
Function at 0x180026270
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10c0
call fcn.180080360
sub rsp, rax
mov rax, qword [0x1800feb80]
xor rax, rsp
mov qword [rsp + 0x10b0], rax
lea rax, [0x180104fa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [0x180104fa0]
mov rcx, qword [rsp + 0x10d0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x18002646f
mov qword [rsp + 0x40], 0xffffffffffffffff
mov qword [rsp + 0x30], 0
jmp 0x1800262ec
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
lea rax, [0x180104fa0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x180026301
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jae 0x180026358
lea rax, [0x180104fa0]
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rax + rcx]
cmp eax, 0x2f
je 0x18002634c
lea rax, [0x180104fa0]
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rax + rcx]
cmp eax, 0x5c
jne 0x180026356
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
jmp 0x1800262df
xor ecx, ecx
call fcn.180026780
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.180026750
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x70]
lea rdx, [0x180096120]
lea rcx, [rsp + 0x90]
call fcn.180025f50
lea r8, [0x180096138]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb0]
call fcn.180017fa0
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x180026466
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x104
jae 0x1800263db
jmp 0x1800263e0
call fcn.18008051c
lea rax, [0x180104fa0]
mov rcx, qword [rsp + 0x48]
mov byte [rax + rcx], 0
lea rdx, [0x180104fa0]
lea rcx, [0x1801050b0]
call fcn.180025fc0
lea rdx, str.menu.log
lea rcx, [0x1801050b0]
call fcn.180025f90
lea r8, [0x180096154]
lea rdx, [0x1801050b0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x180026457
lea r8, [rsp + 0xb0]
lea rdx, [0x180096158]
mov rcx, qword [rsp + 0x50]
call fcn.180026700
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, [0x180096160]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x18002646d
mov byte [0x1800f35f9], 0
jmp 0x180026476
mov byte [0x1800f35f9], 0
mov rcx, qword [rsp + 0x10b0]
xor rcx, rsp
call fcn.1800803c0
add rsp, 0x10c0
pop rdi
ret
Function at 0x180026490
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1e58
call fcn.180080360
sub rsp, rax
mov rax, qword [0x1800feb80]
xor rax, rsp
mov qword [rsp + 0x1e40], rax
xor ecx, ecx
call fcn.180026780
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180026750
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
lea rdx, str.__02d:_02d:_02d____s_n
lea rcx, [rsp + 0x70]
call fcn.180025f50
lea rax, [rsp + 0x1e68]
mov qword [rsp + 0x30], rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x1e60]
mov edx, 0xdac
lea rcx, [rsp + 0x90]
call fcn.180025f10
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xe40]
call fcn.180017fa0
movzx eax, byte [0x1800f35f9]
test eax, eax
je 0x18002659c
lea r8, [0x180096188]
lea rdx, [0x1801050b0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x18002659c
lea r8, [rsp + 0xe40]
lea rdx, [0x18009618c]
mov rcx, qword [rsp + 0x38]
call fcn.180026700
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, [rsp + 0x90]
lea rdx, [0x180096190]
lea rcx, [rsp + 0xe40]
call fcn.180017fa0
lea rcx, [rsp + 0xe40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1e40]
xor rcx, rsp
call fcn.1800803c0
add rsp, 0x1e58
ret

Function at 0x180027b80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.1800288e0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.180028970
jmp 0x180027bc7
lea rcx, [rsp + 0x28]
call fcn.180027a00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.18001c570
movzx eax, al
test eax, eax
je 0x180027c18
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x28]
call fcn.18001b330
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x180027bbd
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x180032d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1800feb80]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, 4
mov eax, eax
mov ecx, dword [0x180123b20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x180107474], eax
jle 0x180032d98
lea rcx, [0x180107474]
call fcn.1800801dc
cmp dword [0x180107474], 0xffffffff
jne 0x180032d98
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x180107470], eax
lea rcx, [0x180107474]
call fcn.180080170
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180107470]
cmp eax, dword [0x1800f3764]
jb 0x180032e48
cmp dword [0x180107438], 0xa
jl 0x180032dc5
mov dword [0x180107438], 0
jmp 0x180032dd3
mov eax, dword [0x180107438]
inc eax
mov dword [0x180107438], eax
mov edx, dword [0x180107438]
lea rcx, [rsp + 0x58]
call fcn.180031fd0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
lea rdx, str.frame
lea rcx, [rsp + 0x38]
call fcn.180028d80
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1800193a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [0x180107430], rax
lea rcx, [rsp + 0x38]
call fcn.1800185c0
nop
lea rcx, [rsp + 0x58]
call fcn.1800185c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x180107470], eax
movzx eax, byte [0x18010743c]
test eax, eax
je 0x180032e5a
mov cl, 1
call fcn.180032a80
movzx eax, byte [0x18010743d]
test eax, eax
je 0x180032e6a
call fcn.180032f40
movzx eax, byte [0x18010743e]
test eax, eax
je 0x180032e7c
mov cl, 1
call fcn.180033110
movzx eax, byte [0x1800f3769]
test eax, eax
je 0x180032e8e
mov cl, 1
call fcn.180033360
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800803c0
add rsp, 0x88
ret
Function at 0x180032f40
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x178
mov rax, qword [0x1800feb80]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rax, str.p_FONT_SIZE_69___FONT_FACE_Font2_OMARPLAYS
mov qword [rsp + 0x40], rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.18001fcc0
nop
call fcn.180032a30
mov ecx, eax
call qword [0x180103d60]
mov qword [rsp + 0x30], rax
lea rdx, str._FONT_FACE_Font2_cond_NOT_GAMERNAME_Welcome
lea rcx, [rsp + 0x50]
call fcn.18001f120
mov rcx, qword [rsp + 0x30]
mov rdx, rcx
mov rcx, rax
call fcn.18001f120
lea rdx, str._FONT_FACE_Font2_cond_NOT_GAMERNAME__to_qOMARPLAYSw
mov rcx, rax
call fcn.18001f120
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
call fcn.1800209c0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1800193a0
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x140]
call fcn.1800185c0
mov eax, 4
mov eax, eax
mov ecx, dword [0x180123b20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18010747c], eax
jle 0x180033042
lea rcx, [0x18010747c]
call fcn.1800801dc
cmp dword [0x18010747c], 0xffffffff
jne 0x180033042
lea rcx, str.mp_big_message_freemode
call fcn.180032a50
mov dword [0x180107478], eax
lea rcx, [0x18010747c]
call fcn.180080170
mov ecx, dword [0x180107478]
call fcn.1800328c0
test eax, eax
jne 0x18003305a
xor ecx, ecx
call fcn.1800232b0
jmp 0x180033042
movzx eax, byte [0x1800f3768]
test eax, eax
je 0x1800330c6
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
mov ecx, dword [0x180107478]
call fcn.180032830
lea rdx, str.SHOW_SHARD_WASTED_MP_MESSAGE
mov ecx, dword [0x180107478]
call fcn.1800327e0
mov rcx, qword [rsp + 0x40]
call fcn.180032ed0
mov rcx, qword [rsp + 0x48]
call fcn.180032ed0
mov ecx, 5
call fcn.180032eb0
call fcn.1800328a0
movzx eax, byte [0x18010743d]
test eax, eax
je 0x1800330e8
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1800330e8
mov byte [0x18010743d], 0
lea rcx, [rsp + 0x50]
call fcn.180020170
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800803c0
add rsp, 0x178
ret

Function at 0x180033110
Capabilities:
Log keystrokes via polling

Disassembly:
mov byte [rsp + 8], cl
sub rsp, 0x28
movzx eax, byte [0x18010743e]
test eax, eax
je 0x180033180
xor ecx, ecx
call fcn.180032810
mov ecx, 1
call fcn.180032810
mov ecx, 2
call fcn.180032810
mov ecx, 5
call fcn.180032f00
call fcn.180032f20
call fcn.180033290
movzx eax, al
test eax, eax
je 0x18003317e
call fcn.1800333a0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180033177
mov byte [0x180105260], 1
jmp 0x18003317e
mov byte [0x180105260], 0
jmp 0x18003319b
xor ecx, ecx
call fcn.180032880
mov ecx, 1
call fcn.180032880
mov ecx, 2
call fcn.180032880
add rsp, 0x28
ret
Function at 0x180041c20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1800feb80]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x180041c5d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180041c64
mov al, 1
jmp 0x180041da8
call fcn.180019450
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.180019450
mov ecx, dword [rsp + 0x38]
mov edx, ecx
mov ecx, eax
call fcn.1800194a0
movzx eax, al
test eax, eax
je 0x180041caf
xor al, al
jmp 0x180041da8
mov qword [rsp + 0x58], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180041d15
cmp dword [rsp + 0x30], 1
je 0x180041d21
cmp dword [rsp + 0x30], 3
je 0x180041d96
jmp 0x180041da6
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x180041d6d
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x40], rax
je 0x180041d6d
xor al, al
jmp 0x180041da8
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180041d87
mov dword [rsp + 0x34], 1
jmp 0x180041d8f
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x180041da8
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x180041da8
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1800803c0
add rsp, 0x98
ret