joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800057dc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1803040b0]
mov esi, 1
add rcx, rsi
xorps xmm1, xmm1
js 0x180005806
cvtsi2ss xmm1, rcx
jmp 0x18000581b
mov rax, rcx
and rcx, rsi
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x1803040a0]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x18000584e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x18000584e
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, esi
xor eax, esi
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x18018408c]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x180005873
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x180005873
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1803040d8]
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1800058a8
cmp rdx, 0x200
jae 0x1800058a5
shl rdx, 3
cmp rdx, rcx
jae 0x1800058a8
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rsi
shl rax, cl
cmp rdx, rax
jbe 0x1800058cf
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x1803040a8]
lea rax, [rdx - 1]
or rax, rsi
mov rdi, rsi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1803040b8]
lea rdx, [rdi + rdi]
call fcn.180004f98
mov rax, qword [0x1803040a8]
lea r9, [rdi - 1]
mov qword [0x1803040d0], r9
mov qword [0x1803040d8], rdi
mov rax, qword [rax]
mov rdx, rax
cmp rax, rbx
je 0x180005a1b
mov rdx, qword [rdx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx ecx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rcx
add r8, rsi
imul r11, r10
cmp r8, 8
jb 0x180005934
mov rdi, qword [0x1803040b8]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180005972
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1800059e1
mov rcx, qword [rdi + r11*8 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rcx + 0x10]
jne 0x1800059b6
mov r8, qword [rcx]
cmp r8, rax
je 0x18000596b
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rcx, qword [r8 + 8]
mov qword [rcx], rax
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], rcx
jmp 0x18000596b
mov rcx, qword [rcx + 8]
cmp r8, qword [rcx + 0x10]
je 0x1800059f5
cmp qword [rdi + r11*8], rcx
jne 0x1800059ac
mov r10, qword [rax + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], rax
mov qword [rcx + 8], r9
mov qword [rdx + 8], r10
mov qword [rax + 8], r8
mov qword [rdi + r11*8], rax
mov rax, rdx
cmp rdx, rbx
je 0x180005a1b
mov r9, qword [0x1803040d0]
jmp 0x180005924
mov r10, qword [rcx]
mov r9, qword [rax + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rcx, qword [r10 + 8]
mov qword [rcx], rax
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rax + 8], rcx
jmp 0x1800059e1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180005a2c
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x70
mov eax, dword [0x18017cbe8]
mov rbx, rcx
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x18017cbec]
movups xmm1, xmmword [0x18017cbd0]
mov word [rsp + 0x6c], ax
mov eax, 0x30
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x18017cbe0]
movsd qword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm1
jmp 0x180005a91
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180005a98
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x180005af1
inc ax
mov word [rsp + 0x6a], ax
jmp 0x180005ab3
cmp eax, 0xe7
jne 0x180005af1
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x180005af1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x180005a78
mov byte [rbx], 1
mov al, 1
add rsp, 0x70
pop rbx
ret
xor al, al
jmp 0x180005aeb

Function at 0x180005af8
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r8
test r8, r8
jne 0x180005b0c
lea eax, [r8 + 1]
jmp 0x180005b4d
test rcx, rcx
je 0x180005b4b
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x180005b4b
test rdx, rdx
je 0x180005b4b
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 1
cmp eax, ecx
jne 0x180005b45
cmp dword [rsp + 0x50], ebx
je 0x180005b47
xor cl, cl
mov al, cl
jmp 0x180005b4d
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x180005b54
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x180005be7
test rcx, rcx
je 0x180005be7
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x180005be7
and qword [rax - 0x10], 0
xor r9d, r9d
and dword [rax + 0x10], 0
lea rax, [rax + 0x10]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x180005bd5
mov eax, dword [rsp + 0x48]
cmp rax, rdi
jb 0x180005be7
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x58]
and dword [rsp + 0x58], 0
mov r8d, edi
and qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x180005bd5
jmp 0x180005be9
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], 0
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180005ce8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
mov rdi, r8
mov qword [r11 + 8], rsi
mov rbx, rcx
test rdx, rdx
je 0x180005d3f
cmp word [rdx], si
je 0x180005d3f
mov qword [r11 - 0x18], rsi
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180005d82
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x88]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x80]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
mov edi, eax
test rcx, rcx
je 0x180005d80
cmp rcx, rbx
je 0x180005d80
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x180006170
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
inc dword [0x1801b5ec8]
mov r9d, 0x138
mov edx, dword [0x1801b5ed0]
cmp edx, r9d
jne 0x1800061d9
lea r8, [0x1801b5ee0]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
mov al, dl
and al, 1
neg al
movabs rax, 0xb5026f5aa96619e9
sbb rcx, rcx
shr rdx, 1
and rcx, rax
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180006194
jmp 0x1800061ed
cmp edx, 0x270
jb 0x1800061f3
lea rcx, [0x1801b5ed0]
call fcn.180007398
mov edx, dword [0x1801b5ed0]
mov eax, edx
lea rcx, [0x1801b5ed8]
inc edx
xorps xmm2, xmm2
mov rcx, qword [rcx + rax*8]
mov rax, rcx
mov dword [0x1801b5ed0], edx
shr rax, 0x1d
movabs rdx, 0x38eb3ffff6d3
and rax, qword [0x1801b7258]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x180006256
cvtsi2sd xmm2, rdx
jmp 0x18000626b
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm2, rax
addsd xmm2, xmm2
mov rbx, qword [0x1801b5ec0]
movsd xmm0, qword [0x1801b7268]
subsd xmm0, qword [0x1801b7260]
mulsd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
mulsd xmm2, qword [0x180183d68]
addsd xmm2, qword [0x1801b7260]
mulsd xmm2, xmm0
mulsd xmm2, qword [0x1801840e0]
cvttsd2si rax, xmm2
sub rbx, rax
cmp qword [0x1801b5eb8], rbx
cmovl rbx, qword [0x1801b5eb8]
mov qword [0x1801b5ec0], rbx
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rbx, 0x2710
add rcx, rax
mov qword [0x1802cf3f0], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x180007398
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea r10, [rcx + 0x9c8]
mov r9, rcx
mov rax, qword [r10]
mov r11d, 0x9c
mov ebx, 0x7fffffff
movabs rdi, 0xb5026f5aa96619e9
lea r8, [r10 + 8]
mov rdx, qword [r8]
xor rdx, rax
and rdx, rbx
xor rdx, rax
mov al, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x1800073c4
lea r10, [r9 + 0xea8]
mov r11d, 0x9b
mov rax, qword [r10]
lea r8, [r10 + 8]
mov rdx, qword [r8]
xor rdx, rax
and rdx, rbx
xor rdx, rax
mov al, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rdi
xor rcx, qword [r10 - 0xea0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x180007410
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 8]
and rdx, rbx
mov rbx, qword [rsp + 8]
xor rdx, qword [r9 + 0x1380]
mov al, dl
and al, 1
neg al
sbb rcx, rcx
and dword [r9], 0
and rcx, rdi
shr rdx, 1
xor rcx, qword [r9 + 0x4e0]
mov rdi, qword [rsp + 0x10]
xor rcx, rdx
mov qword [r9 + 0x9c0], rcx
ret
Function at 0x180011be0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x1802ce138]
test rbx, rbx
je 0x180011ca9
mov rcx, rbx
call fcn.180011394
cmp qword [rax], 0
je 0x180011ca9
mov rcx, rbx
call fcn.180011394
mov rdi, qword [rax]
test rdi, rdi
je 0x180011ca9
mov rax, qword gs:[0x58]
or rbx, 0xffffffffffffffff
mov ecx, dword [0x1802cd9dc]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov eax, dword [r8 + rdx]
cmp dword [0x1803042e0], eax
jg 0x180011cb6
mov rax, qword [0x1803042a0]
mov rcx, rdi
call rax
test rax, rax
je 0x180011ca9
mov rax, qword [rax]
test rax, rax
je 0x180011ca9
mov r8, qword [rax + 0x10]
or edx, 0xffffffff
inc rbx
cmp byte [r8 + rbx], 0
jne 0x180011c69
test ebx, ebx
je 0x180011ca9
mov r9d, ebx
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
lea rcx, [0x180177e30]
xor edx, dword [rcx + rax*4]
sub r9, 1
jne 0x180011c7a
not edx
cmp edx, 0xafa91f9a
sete al
jmp 0x180011cab
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1803042e0]
call fcn.18008ec68
cmp dword [0x1803042e0], ebx
jne 0x180011c49
mov ecx, 0x99c155f5
call fcn.18000bee4
lea rcx, [0x1803042e0]
mov rdx, qword [rax]
mov qword [0x1803042a0], rdx
call fcn.18008ec08
jmp 0x180011c49

Function at 0x180012b70
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
call fcn.180011dfc
mov rcx, rax
call fcn.180011b2c
mov rcx, rax
call fcn.180011028
mov rcx, qword [rax]
call fcn.180010118
lea rcx, [0x1801b7320]
mov r8d, 0x48
mov edx, dword [rax]
movups xmm0, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rcx + 0x30]
cmp dword [rcx], edx
je 0x180012bd1
add rcx, r8
lea rax, [0x1801b7758]
cmp rcx, rax
jne 0x180012ba5
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
jmp 0x180012bde
movups xmm1, xmmword [rcx + 0x10]
movsd xmm0, qword [rcx + 0x40]
movaps xmmword [rbp - 0x40], xmm1
mov ecx, dword [0x1802ce274]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180012c0c
cmp byte [0x1802ce174], 0
je 0x180012c07
movss xmm0, dword [0x1801b72bc]
mulss xmm0, dword [rbp - 0x38]
jmp 0x180012c0c
movss xmm0, dword [rbp - 0x38]
add rsp, 0x70
pop rbp
ret
Function at 0x180013630
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1802ce040]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1802ce040]
mov r8d, dword [0x1802ce044]
test ax, ax
je 0x1800136e0
movss xmm3, dword [0x1801b72f8]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800136e0
movss xmm4, dword [0x1801b72fc]
movd xmm2, r8d
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800136e0
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1800136e0
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm2, xmm0
jae 0x1800136e0
cmp byte [0x1802ce02e], 0
mov dl, 1
mov byte [0x1802ce02d], dl
jne 0x1800136ea
subss xmm1, xmm3
mov byte [0x1802ce02e], dl
subss xmm2, xmm4
cvttss2si eax, xmm1
mov dword [0x1802ce038], eax
cvttss2si eax, xmm2
mov dword [0x1802ce03c], eax
jmp 0x1800136e6
mov dl, byte [0x1802ce02d]
test dl, dl
je 0x180013716
sub ecx, dword [0x1802ce038]
sub r8d, dword [0x1802ce03c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1801b72f8], xmm0
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [0x1801b72fc], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180013732
mov byte [0x1802ce02d], al
mov byte [0x1802ce02e], al
add rsp, 0x38
ret
Function at 0x180016270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800162e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800162e7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800162d4
cmp rbx, rcx
jae 0x1800162e7
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1800162bf
cmp rbx, rcx
jae 0x1800162e7
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1800162e9
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180031768
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movdqa xmm0, xmmword [0x180184160]
xor ebx, ebx
mov r8, qword [0x1801b7790]
or rcx, 0xffffffffffffffff
movaps xmmword [rax - 0x18], xmm6
mov qword [rbp + 0x17], rbx
movdqu xmmword [rbp + 0x27], xmm0
movaps xmmword [rax - 0x28], xmm7
inc rcx
cmp byte [rdx + rcx], bl
jne 0x1800317a1
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180031937
cmp qword [0x1801b7798], 0x10
lea r9, [0x1801b7780]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 9]
cmovae r9, qword [0x1801b7780]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.180004630
mov rcx, qword [rbp + 7]
mov edx, 4
mov rax, qword [rbp + 0xf]
sub rax, rcx
cmp rax, rdx
jb 0x18003182a
cmp qword [rbp + 0xf], 0x10
lea rax, [rcx + 4]
mov qword [rbp + 7], rax
lea rax, [rbp - 9]
cmovae rax, qword [rbp - 9]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], bl
lea rax, [rbp - 9]
jmp 0x18003183f
lea r9, str..cfg
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 9]
call fcn.1800027e0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov byte [rax], bl
mov ebx, 0x1000
mov qword [rax + 0x18], 0xf
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x18003188c
mov rcx, qword [rbp + 0x17]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x180031887
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800318c2
call fcn.18008ead4
mov rdx, qword [rbp + 0xf]
movups xmmword [rbp + 0x17], xmm6
movups xmmword [rbp + 0x27], xmm7
cmp rdx, 0x10
jb 0x1800318ce
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x1800318c9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800318c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ead4
cmp qword [rbp + 0x2f], 0x10
lea rcx, [rbp + 0x17]
cmovae rcx, qword [rbp + 0x17]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x18003191c
mov rcx, qword [rbp + 0x17]
inc rdx
mov rax, rcx
cmp rdx, rbx
jb 0x180031917
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180031917
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008ead4
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180002234
int3
Function at 0x18003ece0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
mov eax, 0x2d40
call fcn.1800f97f0
sub rsp, rax
cmp qword [0x1802ce130], 0
jne 0x18003ed26
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.1800554bc
lea rdx, [0x1802ce130]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x18003ecef
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1802cdfe8], rax
lea rcx, str.UnityPlayer.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1802cdff0], rax
lea r8, str.xxxxx____xxxxxxxxxxx
lea rdx, [0x180181d80]
mov rcx, qword [0x1802cdff0]
call fcn.18003ec64
mov qword [rsp + 0x2d20], rax
cmp qword [rsp + 0x2d20], 0
jne 0x18003ed82
xor al, al
jmp 0x180055461
call qword [rsp + 0x2d20]
mov qword [rsp + 0x2d28], rax
cmp qword [rsp + 0x2d28], 0
je 0x18003ee2a
mov rax, qword [rsp + 0x2d28]
mov rax, qword [rax]
mov qword [rsp + 0x2d30], rax
lea r8, [0x18003e1e8]
mov edx, 0xfffffffc
mov rcx, qword [0x1802ce130]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1802ce2b0], rax
mov eax, 8
imul rax, rax, 8
lea r8, [0x18003e37c]
lea rdx, [0x1802ce050]
mov rcx, qword [rsp + 0x2d30]
mov rcx, qword [rcx + rax]
call fcn.18002cfd0
mov eax, 8
imul rax, rax, 0xd
lea r8, [0x18003e2f4]
lea rdx, [0x1802ce088]
mov rcx, qword [rsp + 0x2d30]
mov rcx, qword [rcx + rax]
call fcn.18002cfd0
mov al, 1
jmp 0x180055461
xor al, al
jmp 0x180055461
add rsp, 0x2d40
pop rdi
ret

Function at 0x180055578
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x180055585
xor al, al
jmp 0x1800555b4
and qword [rsp + 0x28], 0
lea r8, [0x1800554c4]
and dword [rsp + 0x20], 0
mov r9, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800555b2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x180056dec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor edi, edi
movaps xmmword [rax - 0x48], xmm6
movaps xmm6, xmm3
mov rbx, rcx
test rcx, rcx
je 0x180056fa7
mov esi, dword [0x1802cd9dc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rsi*8]
mov eax, dword [rcx + rax]
cmp dword [0x180304858], eax
jg 0x180056fc7
jmp 0x180056e4c
mov ecx, 4
mov rax, qword [0x1803042a8]
mov rbp, qword [rax + rbx]
test rbp, rbp
je 0x180056fa7
mov rax, qword [rbp + 0x28]
mov r14d, 1
cmp dword [rax + 0x10], r14d
jle 0x180056fa7
mov r13, qword gs:[0x58]
lea r15d, [r14 + 0x27]
mov r12, rsi
mov rax, qword [rax + 0x18]
mov rsi, qword [r15 + rax]
test rsi, rsi
je 0x180056f89
mov rax, qword [r13 + r12*8]
mov eax, dword [rcx + rax]
cmp dword [0x1803047b8], eax
jg 0x180057002
mov rax, qword [0x180304540]
cmp byte [rax + rsi], dil
jne 0x180056f89
mov r8, qword [rsi]
test r8, r8
jne 0x180056ec6
mov edx, edi
jmp 0x180056f05
mov r8, qword [r8 + 0x10]
or edx, 0xffffffff
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], dil
jne 0x180056ed1
test eax, eax
je 0x180056f03
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
lea rcx, [0x180177e30]
xor edx, dword [rcx + rax*4]
sub r9, 1
jne 0x180056ee1
not edx
cmp edx, dword [rsp + 0xa8]
jne 0x180056f89
mov rcx, rsi
call fcn.18000fbd4
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.18000f9ec
mov rcx, qword [rsp + 0xb0]
mov rbx, rax
call fcn.18000fbd4
lea rdx, [rsp + 0x3c]
mov rcx, rax
call fcn.18000f9ec
movss xmm2, dword [rbx]
movss xmm3, dword [rbx + 4]
movss xmm1, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm1, dword [rax + 8]
movsd qword [rsp + 0x20], xmm0
xorps xmm0, xmm0
subss xmm3, dword [rsp + 0x24]
subss xmm2, dword [rsp + 0x20]
mulss xmm1, xmm1
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm3, xmm2
addss xmm3, xmm1
sqrtss xmm0, xmm3
comiss xmm0, xmm6
jbe 0x180056fa4
mov rax, qword [rbp + 0x28]
inc r14d
add r15, 8
cmp r14d, dword [rax + 0x10]
jge 0x180056fa7
mov ecx, 4
jmp 0x180056e84
mov rdi, rsi
mov rbx, qword [rsp + 0xa0]
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x180304858]
call fcn.18008ec68
cmp dword [0x180304858], 0xffffffff
jne 0x180056e47
mov ecx, 0xae00109b
call fcn.18000d29c
lea rcx, [0x180304858]
mov qword [0x1803042a8], rax
call fcn.18008ec08
jmp 0x180056e47
lea rcx, [0x1803047b8]
call fcn.18008ec68
cmp dword [0x1803047b8], 0xffffffff
jne 0x180056ea9
mov ecx, 0x33f7a6a3
call fcn.18000d29c
lea rcx, [0x1803047b8]
mov qword [0x180304540], rax
call fcn.18008ec08
jmp 0x180056ea9