joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140e33058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e331df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e33089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e3306f
add dl, dl
jne 0x140e33096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e330f6
xor eax, eax
add dl, dl
jne 0x140e330a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e331ad
add dl, dl
jne 0x140e330b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e330c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e330d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e330dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e330ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e3307e
mov eax, 1
add dl, dl
jne 0x140e33106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e33113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e330fb
sub eax, ebx
mov ebx, 1
jne 0x140e3314c
mov ecx, 1
add dl, dl
jne 0x140e3312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e3313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e33123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e3307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e33168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e33175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e3315d
cmp eax, 0x7d00
jae 0x140e3319b
cmp eax, 0x500
jb 0x140e33196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e3307e
cmp eax, 0x7f
ja 0x140e3319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e3307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e331d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e3307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400017b0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

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 rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
lea r13, [0x1400e2948]
mov edi, Ordinal_79
mov esi, 0x54
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x20], WSASetLastError
mov r14, rax
mov dword [rbp - 0x30], 0x74006e
mov dword [rbp - 0x2c], 0x6c0064
mov dword [rbp - 0x28], 0x2e006c
mov dword [rbp - 0x24], 0x6c0064
mov byte [rbp - 0x1c], r15b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword [0x1400e2940]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x1400e2958]
mov rcx, rbx
mov qword [0x1400e2948], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x1400e2970]
mov rcx, rbx
mov qword [0x1400e2960], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov qword [0x1400e2978], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x48], WSASetLastError
mov rcx, rax
mov dword [rbp - 0x50], 0x74006e
mov rbx, rax
mov dword [rbp - 0x4c], 0x6c0064
mov byte [rbp - 0x44], r15b
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x1400018e7
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x38], Ordinal_79
mov rcx, rbx
mov dword [rbp - 0x40], 0x54004e
mov dword [rbp - 0x3c], 0x4c0044
mov byte [rbp - 0x34], r15b
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14000195b
mov esi, r15d
mov rbx, r13
nop dword [rax]
mov r8, qword [rbx + 8]
lea rax, [rbp - 0x18]
mov rdx, qword [rbx]
mov r9d, 0x40
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rbx]
mov rcx, r14
mov r9, qword [rbx + 8]
mov r8, rdx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [rbp - 0x18]
mov rcx, r14
mov r8, qword [rbx + 8]
mov edi, eax
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test edi, edi
je 0x140001951
inc esi
add rbx, 0x18
cmp esi, 3
jb 0x1400018f0
mov edi, Ordinal_79
mov esi, 0x54
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400017f4
Function at 0x140004d00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x22], 0
je 0x140004e1d
movdqa xmm3, xmmword [0x14009a6d0]
lea rdx, [rcx + 8]
movdqa xmm4, xmmword [0x14009a750]
mov r8d, 0xea3b
nop dword [rax]
nop dword [rax + rax]
movd xmm1, dword [rdx - 8]
lea rax, [r8 - 0xea3b]
xorps xmm0, xmm0
lea rdx, [rdx + 0x10]
punpcklwd xmm1, xmm0
movq xmm2, rax
punpckldq xmm1, xmm0
lea rax, [r8 - 5]
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [r8 - 3]
movd dword [rdx - 0x18], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rdx - 0x14]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
lea rax, [r8 - 1]
movd dword [rdx - 0x14], xmm1
xorps xmm0, xmm0
movd xmm1, dword [rdx - 0x10]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rax
pshuflw xmm1, xmm0, 0xd8
movq xmm0, r8
movd dword [rdx - 0x10], xmm1
add r8, 8
movd xmm1, dword [rdx - 0xc]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
lea rax, [r8 - 0xea3b]
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rdx - 0xc], xmm1
cmp rax, 0x10
jb 0x140004d30
mov byte [rcx + 0x22], 0
ret
Function at 0x140004f40
Capabilities:
Parse pe header

Disassembly:
cmp byte [rcx + 0x41], 0
je 0x14000504d
xor byte [rcx], 0x34
xor byte [rcx + 1], 0x35
xor byte [rcx + 2], 0x36
xor byte [rcx + 3], 0x37
xor byte [rcx + 4], 0x38
xor byte [rcx + 5], 0x39
xor byte [rcx + 6], 0x3a
xor byte [rcx + 7], 0x3b
xor byte [rcx + 8], 0x3c
xor byte [rcx + 9], 0x3d
xor byte [rcx + 0xa], 0x3e
xor byte [rcx + 0xb], 0x3f
xor byte [rcx + 0xc], 0x40
xor byte [rcx + 0xd], 0x41
xor byte [rcx + 0xe], 0x42
xor byte [rcx + 0xf], 0x43
xor byte [rcx + 0x10], 0x44
xor byte [rcx + 0x11], 0x45
xor byte [rcx + 0x12], 0x46
xor byte [rcx + 0x13], 0x47
xor byte [rcx + 0x14], 0x48
xor byte [rcx + 0x15], 0x49
xor byte [rcx + 0x16], 0x4a
xor byte [rcx + 0x17], 0x4b
xor byte [rcx + 0x18], 0x4c
xor byte [rcx + 0x19], 0x4d
xor byte [rcx + 0x1a], 0x4e
xor byte [rcx + 0x1b], 0x4f
xor byte [rcx + 0x1c], 0x50
xor byte [rcx + 0x1d], 0x51
xor byte [rcx + 0x1e], 0x52
xor byte [rcx + 0x1f], 0x53
xor byte [rcx + 0x20], 0x54
xor byte [rcx + 0x21], 0x55
xor byte [rcx + 0x22], 0x56
xor byte [rcx + 0x23], 0x57
xor byte [rcx + 0x24], 0x58
xor byte [rcx + 0x25], 0x59
xor byte [rcx + 0x26], 0x5a
xor byte [rcx + 0x27], 0x5b
xor byte [rcx + 0x28], 0x5c
xor byte [rcx + 0x29], 0x5d
xor byte [rcx + 0x2a], 0x5e
xor byte [rcx + 0x2b], 0x5f
xor byte [rcx + 0x2c], 0x60
xor byte [rcx + 0x2d], 0x61
xor byte [rcx + 0x2e], 0x62
xor byte [rcx + 0x2f], 0x63
xor byte [rcx + 0x30], 0x64
xor byte [rcx + 0x31], 0x65
xor byte [rcx + 0x32], 0x66
xor byte [rcx + 0x33], 0x67
xor byte [rcx + 0x34], 0x68
xor byte [rcx + 0x35], 0x69
xor byte [rcx + 0x36], 0x6a
xor byte [rcx + 0x37], 0x6b
xor byte [rcx + 0x38], 0x6c
xor byte [rcx + 0x39], 0x6d
xor byte [rcx + 0x3a], 0x6e
xor byte [rcx + 0x3b], 0x6f
xor byte [rcx + 0x3c], 0x70
xor byte [rcx + 0x3d], 0x71
xor byte [rcx + 0x3e], 0x72
xor byte [rcx + 0x3f], 0x73
mov byte [rcx + 0x41], 0
ret
Function at 0x140005050
Capabilities:
Parse pe header

Disassembly:
cmp byte [rcx + 0x40], 0
je 0x140005159
xor byte [rcx], 0x34
xor byte [rcx + 1], 0x35
xor byte [rcx + 2], 0x36
xor byte [rcx + 3], 0x37
xor byte [rcx + 4], 0x38
xor byte [rcx + 5], 0x39
xor byte [rcx + 6], 0x3a
xor byte [rcx + 7], 0x3b
xor byte [rcx + 8], 0x3c
xor byte [rcx + 9], 0x3d
xor byte [rcx + 0xa], 0x3e
xor byte [rcx + 0xb], 0x3f
xor byte [rcx + 0xc], 0x40
xor byte [rcx + 0xd], 0x41
xor byte [rcx + 0xe], 0x42
xor byte [rcx + 0xf], 0x43
xor byte [rcx + 0x10], 0x44
xor byte [rcx + 0x11], 0x45
xor byte [rcx + 0x12], 0x46
xor byte [rcx + 0x13], 0x47
xor byte [rcx + 0x14], 0x48
xor byte [rcx + 0x15], 0x49
xor byte [rcx + 0x16], 0x4a
xor byte [rcx + 0x17], 0x4b
xor byte [rcx + 0x18], 0x4c
xor byte [rcx + 0x19], 0x4d
xor byte [rcx + 0x1a], 0x4e
xor byte [rcx + 0x1b], 0x4f
xor byte [rcx + 0x1c], 0x50
xor byte [rcx + 0x1d], 0x51
xor byte [rcx + 0x1e], 0x52
xor byte [rcx + 0x1f], 0x53
xor byte [rcx + 0x20], 0x54
xor byte [rcx + 0x21], 0x55
xor byte [rcx + 0x22], 0x56
xor byte [rcx + 0x23], 0x57
xor byte [rcx + 0x24], 0x58
xor byte [rcx + 0x25], 0x59
xor byte [rcx + 0x26], 0x5a
xor byte [rcx + 0x27], 0x5b
xor byte [rcx + 0x28], 0x5c
xor byte [rcx + 0x29], 0x5d
xor byte [rcx + 0x2a], 0x5e
xor byte [rcx + 0x2b], 0x5f
xor byte [rcx + 0x2c], 0x60
xor byte [rcx + 0x2d], 0x61
xor byte [rcx + 0x2e], 0x62
xor byte [rcx + 0x2f], 0x63
xor byte [rcx + 0x30], 0x64
xor byte [rcx + 0x31], 0x65
xor byte [rcx + 0x32], 0x66
xor byte [rcx + 0x33], 0x67
xor byte [rcx + 0x34], 0x68
xor byte [rcx + 0x35], 0x69
xor byte [rcx + 0x36], 0x6a
xor byte [rcx + 0x37], 0x6b
xor byte [rcx + 0x38], 0x6c
xor byte [rcx + 0x39], 0x6d
xor byte [rcx + 0x3a], 0x6e
xor byte [rcx + 0x3b], 0x6f
xor byte [rcx + 0x3c], 0x70
xor byte [rcx + 0x3d], 0x71
xor byte [rcx + 0x3e], 0x72
mov byte [rcx + 0x40], 0
ret
Function at 0x140005160
Capabilities:
Parse pe header

Disassembly:
cmp byte [rcx + 0x3f], 0
je 0x140005265
xor byte [rcx], 0x34
xor byte [rcx + 1], 0x35
xor byte [rcx + 2], 0x36
xor byte [rcx + 3], 0x37
xor byte [rcx + 4], 0x38
xor byte [rcx + 5], 0x39
xor byte [rcx + 6], 0x3a
xor byte [rcx + 7], 0x3b
xor byte [rcx + 8], 0x3c
xor byte [rcx + 9], 0x3d
xor byte [rcx + 0xa], 0x3e
xor byte [rcx + 0xb], 0x3f
xor byte [rcx + 0xc], 0x40
xor byte [rcx + 0xd], 0x41
xor byte [rcx + 0xe], 0x42
xor byte [rcx + 0xf], 0x43
xor byte [rcx + 0x10], 0x44
xor byte [rcx + 0x11], 0x45
xor byte [rcx + 0x12], 0x46
xor byte [rcx + 0x13], 0x47
xor byte [rcx + 0x14], 0x48
xor byte [rcx + 0x15], 0x49
xor byte [rcx + 0x16], 0x4a
xor byte [rcx + 0x17], 0x4b
xor byte [rcx + 0x18], 0x4c
xor byte [rcx + 0x19], 0x4d
xor byte [rcx + 0x1a], 0x4e
xor byte [rcx + 0x1b], 0x4f
xor byte [rcx + 0x1c], 0x50
xor byte [rcx + 0x1d], 0x51
xor byte [rcx + 0x1e], 0x52
xor byte [rcx + 0x1f], 0x53
xor byte [rcx + 0x20], 0x54
xor byte [rcx + 0x21], 0x55
xor byte [rcx + 0x22], 0x56
xor byte [rcx + 0x23], 0x57
xor byte [rcx + 0x24], 0x58
xor byte [rcx + 0x25], 0x59
xor byte [rcx + 0x26], 0x5a
xor byte [rcx + 0x27], 0x5b
xor byte [rcx + 0x28], 0x5c
xor byte [rcx + 0x29], 0x5d
xor byte [rcx + 0x2a], 0x5e
xor byte [rcx + 0x2b], 0x5f
xor byte [rcx + 0x2c], 0x60
xor byte [rcx + 0x2d], 0x61
xor byte [rcx + 0x2e], 0x62
xor byte [rcx + 0x2f], 0x63
xor byte [rcx + 0x30], 0x64
xor byte [rcx + 0x31], 0x65
xor byte [rcx + 0x32], 0x66
xor byte [rcx + 0x33], 0x67
xor byte [rcx + 0x34], 0x68
xor byte [rcx + 0x35], 0x69
xor byte [rcx + 0x36], 0x6a
xor byte [rcx + 0x37], 0x6b
xor byte [rcx + 0x38], 0x6c
xor byte [rcx + 0x39], 0x6d
xor byte [rcx + 0x3a], 0x6e
xor byte [rcx + 0x3b], 0x6f
xor byte [rcx + 0x3c], 0x70
xor byte [rcx + 0x3d], 0x71
mov byte [rcx + 0x3f], 0
ret
Function at 0x140005940
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x140005ae3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140005ae3
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140005ae3
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x140005ae3
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rdx, [rcx + 4]
mov qword [rbx + 0x10], rdx
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rdx + 2]
jae 0x140005ad1
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x140005aad
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x140005abe
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.140005af0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x140005a80
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400062d0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
lea rdx, [rsp + 0x60]
call fcn.140005940
mov r15, qword [rbp]
test al, al
je 0x140006433
mov dword [rsp + 0x22], 0x747865
mov word [rsp + 0x20], 0x742e
mov byte [rsp + 0x26], 0
mov rbx, r15
mov rdi, qword [rbp + 8]
cmp r15, rdi
je 0x140006366
mov r12, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140006369
add rbx, 8
cmp rbx, rdi
jne 0x140006342
xor r12d, r12d
mov word [rsp + 0x2d], 0x61
mov dword [rsp + 0x28], 0x6164722e
mov byte [rsp + 0x2c], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x2f], 0
mov rbx, r15
cmp r15, rdi
je 0x1400063b4
nop word [rax + rax]
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400063b6
add rbx, 8
cmp rbx, rdi
jne 0x140006390
xor esi, esi
mov dword [rsp + 0x22], 0x617461
mov word [rsp + 0x20], 0x642e
mov byte [rsp + 0x26], 0
mov rbx, r15
cmp r15, rdi
je 0x1400063f6
mov r14, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400063f9
add rbx, 8
cmp rbx, rdi
jne 0x1400063d2
xor r14d, r14d
test r12, r12
je 0x140006433
cmp r12, rsi
jae 0x140006433
cmp rsi, r14
jae 0x140006433
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, dword [rsi + 0xc]
mov rcx, qword [rsp + 0x58]
div ecx
test edx, edx
jne 0x140006433
xor edx, edx
mov eax, dword [r14 + 0xc]
div ecx
test edx, edx
jne 0x140006433
mov bl, 1
jmp 0x140006435
xor bl, bl
test r15, r15
je 0x140006475
mov rdx, qword [rbp + 0x10]
sub rdx, r15
and rdx, 0xfffffffffffffff8
mov rax, r15
cmp rdx, 0x1000
jb 0x14000646d
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000646d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400730cc
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140073070
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140009050
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov r9d, 2
mov r8b, 0xe1
xor edx, edx
mov rcx, qword [0x1400e4100]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea rcx, [rsp + 0x90]
call fcn.140009190
lea rdx, str.EasyAntiCheat_EOS.exe
lea rcx, [rsp + 0x30]
call fcn.140002630
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400091a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.140009e80
nop
lea r9, [fcn.1400025d0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov r8d, 1
lea rcx, [rsp + 0x30]
call fcn.1400731e4
lea rdx, str.EasyAntiCheat_EOS
lea rcx, [rsp + 0xa8]
call fcn.140006cc0
nop
lea rcx, str.Pyra_Public
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea rcx, [0x14009a008]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x70]
call fcn.140006e30
nop
lea rdx, str.ORANGE
lea rcx, [rsp + 0x50]
call fcn.140002630
nop
lea rdx, str.Loading_Auth...__n
lea rcx, [rsp + 0x30]
call fcn.140002630
nop
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.140007670
nop
lea rcx, [rsp + 0x30]
call fcn.1400025d0
nop
lea rcx, [rsp + 0x50]
call fcn.1400025d0
lea rcx, [0x1400e4110]
call fcn.14001dd60
call fcn.140005450
call fcn.140006cb0
int3

Function at 0x140009540
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140009568
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000958e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140009590
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400095e9
test ecx, ecx
jle 0x1400095c9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400095e9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400095e9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140009610
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140009632
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140009648
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140009664
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009666
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400096a2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000973e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400096dd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000971e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000973e
cmp rbx, rax
ja 0x1400096f0
test rbx, rbx
je 0x14000973e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140009ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140009bcd
xor eax, eax
jmp 0x140009d39
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140009c07
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140009c07
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140009d39
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140009d2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009c4a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140009c75
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009d31
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140009ce4
sub eax, 1
je 0x140009ce4
cmp eax, 2
jne 0x140009d2c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140009d31
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140009d12
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140009d2c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140009d31
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140073070
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret