joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b7bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1800f2028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x1800b7c36
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1800b7c26
cmp byte [rax], cl
jne 0x1800b7c36
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1800b7c17
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1800b7d94
cmp byte [r8 + 1], dl
je 0x1800b7d94
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1800b7c72
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1800b7c9a
sub dl, 0x61
cmp dl, 0x19
ja 0x1800b7c8c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1800b7c9a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1800b7c55
jmp 0x1800b7c9d
inc r9
cmp r8, r9
jae 0x1800b7ccf
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1800b7cc4
bt rdx, rax
jb 0x1800b7cca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1800b7cb0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.18002b210
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1800b7d08
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1800b7d00
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1800b7d86
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1800b7d23
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1800b7d39
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1800b7d74
movsd xmm2, qword [0x1800e2e90]
cmp al, 0x39
ja 0x1800b7d74
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1800b7d50
cmp r9b, 0x2d
jne 0x1800b7d8f
xorps xmm1, xmmword [0x1800e3870]
movaps xmm0, xmm1
jmp 0x1800b7d97
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1800b7d97
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c0eb0
add rsp, 0x90
pop rbx
ret
Function at 0x1800b7db0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1800f2028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800b7dff
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800feaf0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800b7e3d
cmp rsi, r14
jb 0x1800b7e35
cmp rsi, r15
jae 0x1800b7e35
cmp qword [rsi + 8], 0
jne 0x1800b8007
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800b7e20
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800b7ed2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800b7ec9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800b7ec9
cmp dword [rsp + 0x40], 0x10000
je 0x1800b7f4b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800b7ec9
sub rbx, rbp
cmp rbx, r14
jae 0x1800b7e90
test rsi, rsi
jne 0x1800b7fb0
cmp rdi, r15
ja 0x1800b7fef
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800b7fef
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800b7fef
cmp dword [rsp + 0x40], 0x10000
je 0x1800b7f81
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800b7f02
jmp 0x1800b7fef
test rbx, rbx
je 0x1800b7ec9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800b7fb0
cmp rbx, r14
jae 0x1800b7e70
jmp 0x1800b7ed2
test rdi, rdi
je 0x1800b7fef
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800b7fb0
cmp rdi, r15
jbe 0x1800b7ee0
jmp 0x1800b7fef
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800b7fc0
mov rax, qword [0x1800feaf0]
mov qword [rsi], rax
mov qword [0x1800feaf0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c0eb0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x1800b8a00
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800f2028]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800b8b2b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800b8b22
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800b8b04
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800b8b04
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800b8b04
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800b8ac2
mov rcx, qword [0x1800f81c0]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800b8b22
jmp 0x1800b8af7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800b8af7
mov rcx, qword [0x1800f81c0]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800b8b22
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800b8a70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800b8b83
cmp dword [rbx + 0xc], esi
jbe 0x1800b8b83
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800b8b7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800b8850
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800b8b40
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c0eb0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800b8bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800f2028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800feae0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800b8c23
mov eax, 0xa
jmp 0x1800b8cb2
test esi, esi
je 0x1800b8c45
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800b8c68
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800b8c68
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800b8c61
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800b8c68
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800c0eb0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800b8ce0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800feaec]
mov ebx, edi
test ecx, ecx
je 0x1800b8e1b
mov rax, qword [0x1800feae0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800b8d38
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800b8d10
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800b8e1b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800b8a00
mov r8d, dword [0x1800feaec]
cmp ebx, r8d
jae 0x1800b8da8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800feae0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800b8da1
mov edx, esi
mov ecx, ebx
call fcn.1800b8bb0
mov edi, eax
test eax, eax
jne 0x1800b8da8
mov r8d, dword [0x1800feaec]
inc ebx
cmp ebx, r8d
jb 0x1800b8d70
cmp qword [rsp + 0x20], 0
je 0x1800b8e1b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800b8e07
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800b8df8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800b8dd0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800f81c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800b91b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1800f81b8], edi
je 0x1800b91f9
cmp rbx, 0x20
jae 0x1800b91e2
xor ecx, ecx
jmp 0x1800b91e4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800f81b8], edi
jne 0x1800b91d8
cmp qword [0x1800f81c0], r14
mov qword [rsp + 0x60], r13
je 0x1800b938b
mov ecx, dword [0x1800feaec]
mov ebx, r15d
test ecx, ecx
je 0x1800b9231
mov rdx, qword [0x1800feae0]
mov rax, rdx
cmp qword [rax], r14
je 0x1800b923c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800b9222
mov r14d, 4
jmp 0x1800b9391
cmp ebx, 0xffffffff
je 0x1800b9231
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x1800b92f0
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800b8a00
xor edx, edx
mov ecx, ebx
call fcn.1800b8bb0
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x1800b92e0
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800b92cc
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800b92b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x1800b9290
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800f81c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x1800b9391
mov rdx, qword [0x1800feae0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.1800b8030
mov edx, dword [0x1800feaec]
dec edx
cmp ebx, edx
jae 0x1800b933f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1800feae0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x1800feae8]
mov eax, ecx
mov dword [0x1800feaec], edx
shr eax, 1
cmp eax, 0x20
jb 0x1800b9391
cmp eax, edx
jb 0x1800b9391
mov r8, qword [0x1800feae0]
mov eax, ecx
mov rcx, qword [0x1800f81c0]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1800b9391
shr dword [0x1800feae8], 1
mov qword [0x1800feae0], rax
jmp 0x1800b9391
mov r14d, 2
xchg dword [0x1800f81b8], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1800b93b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800f81b8], ebp
je 0x1800b9407
cmp rbx, 0x20
jae 0x1800b93f0
xor ecx, ecx
jmp 0x1800b93f2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800f81b8], ebp
jne 0x1800b93e6
cmp qword [0x1800f81c0], r15
je 0x1800b9501
test rdi, rdi
jne 0x1800b9427
mov ecx, esi
call fcn.1800b8ce0
mov ebp, eax
jmp 0x1800b9506
mov ecx, dword [0x1800feaec]
mov ebx, r15d
test ecx, ecx
je 0x1800b944f
mov r8, qword [0x1800feae0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800b9459
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800b9440
mov ebp, 4
jmp 0x1800b9506
cmp ebx, 0xffffffff
je 0x1800b944f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800b94f8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800b8a00
mov edx, esi
mov ecx, ebx
call fcn.1800b8bb0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800b9506
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800b94e2
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800b94d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x1800b94b0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800f81c0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800b9506
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800b9506
mov ebp, 2
xchg dword [0x1800f81b8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800be5e0
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor ecx, ecx
mov qword [rbx + 0x60], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x1800e28ec]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONIN_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 8]
lea r8, [0x1800e28f8]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 0x10]
lea r8, [0x1800e28f8]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Debug_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rbx + 0x60]
mov edx, 5
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x1800bf2c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x1800f2028]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rbx, qword [0x1800f7a80]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rbx + 0x10], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x30]
sub eax, dword [rsp + 0x20]
mov r8d, 0x104
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
mov dword [rbx + 0x1c], eax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx + 0x10]
lea rax, [rsp + 0x30]
mov r8d, 0x104
mov qword [rbx + 0x28], rax
lea rdx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x140]
mov r9d, 0x104
mov qword [rbx + 0x30], rax
lea r8, [rsp + 0x250]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rsp + 0x250]
mov qword [rbx + 0x38], rax
lea rdx, str.GameData::Init___Process_Window_Info_Established_n
mov rcx, qword [0x1800f7a70]
mov r8d, dword [rcx + 0x48]
call fcn.1800be6a0
mov rdi, qword [0x1800f7a98]
mov rcx, rdi
call fcn.1800be750
test al, al
je 0x1800bf430
mov rax, qword [0x1800fd598]
lea rdx, [0x1800bef90]
mov r8, rdi
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.1800b8ed0
test eax, eax
jne 0x1800bf3e4
lea edx, [rax + 1]
mov rcx, rbx
call fcn.1800b93b0
mov rax, qword [0x1800fd598]
lea r8, [rdi + 8]
lea rdx, [fcn.180029b30]
mov rbx, qword [rax + 0x60]
mov rcx, rbx
call fcn.1800b8ed0
test eax, eax
jne 0x1800bf411
lea edx, [rax + 1]
mov rcx, rbx
call fcn.1800b93b0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1800f7a70]
lea rdx, str.D3D11Window::Hook_Initialized_n
mov r8d, dword [rcx + 0x48]
jmp 0x1800bf442
mov rcx, qword [0x1800f7a70]
lea rdx, str.___D3D11Window::Hook_Failed_to_Initialize_n
mov r8d, dword [rcx + 0x44]
call fcn.1800be6a0
lea rcx, str.PalWorld_Win64_Shipping.exe
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x1800f6a58]
lea r8, [0x1800f8180]
add rcx, rax
mov qword [0x1800f6a50], rax
lea rdx, [0x180026dc0]
mov qword [0x1800f8188], rcx
call fcn.1800b8ed0
xor eax, eax
xorps xmm0, xmm0
xor ecx, ecx
mov qword [0x1800f6cd8], rax
movups xmmword [0x1800f6cc8], xmm0
lea edx, [rax + 1]
call fcn.1800b93b0
mov rcx, qword [0x1800f7a70]
lea rdx, str.Hooking::Hook_Initialized_n
mov r8d, dword [rcx + 0x48]
call fcn.1800be6a0
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.1800c0eb0
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rdi
ret
Function at 0x180fa7fb8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180fa7fc2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x180fa7feb
pop rbp
sub rbp, 0x33
sub rbp, 0xfa7fb8
cmp edx, 1
je 0x180fa802e
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x180fa803e
mov rax, 0xfa7fb8
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0x3a2e71f6
xor byte [rax], dl
inc rax
dec rcx
jne 0x180fa805d
jmp 0x180fa8074
mov esi, 0x7f7d1f7f
retf 0xf6f6

Function at 0x140915058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409151df
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 0x140915089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14091506f
add dl, dl
jne 0x140915096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409150f6
xor eax, eax
add dl, dl
jne 0x1409150a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409151ad
add dl, dl
jne 0x1409150b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409150c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409150d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409150dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409150ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14091507e
mov eax, 1
add dl, dl
jne 0x140915106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140915113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409150fb
sub eax, ebx
mov ebx, 1
jne 0x14091514c
mov ecx, 1
add dl, dl
jne 0x14091512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14091513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140915123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140915168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140915175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14091515d
cmp eax, 0x7d00
jae 0x14091519b
cmp eax, 0x500
jb 0x140915196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091507e
cmp eax, 0x7f
ja 0x14091519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14091507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409151d2
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 0x14091507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20