joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000c580
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
lea r15, [0x1800a65c0]
movsxd rcx, dword [rcx + 0x100]
mov r14, rdx
mov rdi, rdx
mov rbx, rdx
mov r11, rdx
shr rbx, 0x30
mov rax, qword [rsi + 0x108]
mov r10, rdx
mov r9, rdx
shr r10, 0x20
mov r8, rdx
shr r9, 0x18
shr rdx, 8
mov ebp, dword [rax + rcx*4 - 4]
not ebp
movzx eax, r14b
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, dl
shr r8, 0x10
shr r11, 0x28
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r8b
shr rdi, 0x38
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r9b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r10b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, r11b
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
movzx eax, bl
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rax
shr ebp, 8
xor ebp, dword [r15 + rcx*4]
movzx ecx, bpl
xor rcx, rdi
shr ebp, 8
xor ebp, dword [r15 + rcx*4]
mov rcx, qword [rsi]
not ebp
cmp dword [rcx + 0x4054], ebp
jne 0x18000c685
mov r8, r14
mov edx, recv
mov ecx, ebp
call fcn.1800222e0
mov rbx, qword [rsp + 0x60]
mov eax, ebp
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000c6a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1800a65c0]
movsxd rcx, dword [rcx + 0x100]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x108]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x18000c734
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800222e0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000c750
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x120]
lea r10, [0x1800a65c0]
mov rax, qword [rcx + 0x108]
movss xmm1, dword [rcx + 0x124]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0x100]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x180010110
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1800bf040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x1800c38a8]
mov r11d, 1
mov r15d, dword [rsp + 0x90]
mov r14d, edx
mov r9d, r15d
mov r10, rcx
mov rbx, qword [rsi + 0x4008]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
mov r9d, dword [rsi + 0x49b8]
cmovae eax, r11d
bts r9d, 8
mov dword [rsi + 0x49b8], r9d
mov dword [rsi + 0x49f0], eax
cmp qword [rbx + 0x1b8], 0
jne 0x1800101af
cmp qword [rsi + 0x4da8], 0
mov eax, 0x260
je 0x1800101b4
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.1800191c0
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rsi + 0x49d8], xmm0
xor edx, edx
mov dword [rsi + 0x49b8], r9d
mov dword [rsi + 0x49c0], r11d
mov r9, qword [rbx + 8]
test r10, r10
je 0x180010224
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.180007b80
jmp 0x180010235
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.180007b80
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3920]
xor edx, edx
call fcn.180013270
mov rdi, qword [rsi + 0x4008]
movzx ebp, al
movss dword [rsi + 0x3920], xmm6
cmp word [rdi + 0xcc], 1
mov dword [rdi + 0x88], r14d
jne 0x18001027c
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, r14d
lea rdx, [0x1800abac1]
not r9d
lea r10, [0x1800a65c0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1800102a9
cmp byte [rdx], r8b
jne 0x1800102a9
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x180010296
not ebx
cmp dword [rsi + 0x406c], ebx
jne 0x1800102d9
xor edx, edx
xor ecx, ecx
call fcn.18000c940
cmp dword [rsi + 0x4ae8], r14d
jne 0x180010326
bt r15d, 0x17
jb 0x180010326
cmp word [rdi + 0x16c], 0
jne 0x1800102fc
cmp byte [rdi + 0x172], 0
je 0x180010326
xor edx, edx
mov rcx, rdi
call fcn.1800157b0
xor edx, edx
mov rcx, rdi
call fcn.18001bf30
mov rdx, rdi
mov ecx, ebx
call fcn.18000c940
mov eax, dword [rsi + 0x4b0c]
mov dword [rsi + 0x4090], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18007a0a0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x180019f10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800bf040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800c38a8]
mov edi, ecx
cmp byte [rbx + 0x4cf1], 0
jne 0x180019f71
cmp byte [rbx + 0x4cf2], 0
jne 0x180019f71
movsx r9d, word [rbx + 0x5e38]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180007b00
test dil, 2
je 0x18001a09f
jmp 0x180019ffc
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e38]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800b1824]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1800b1818]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x49d0], rax
mov dword [rbx + 0x49bc], 1
movss dword [rbx + 0x49c8], xmm0
movss dword [rbx + 0x49cc], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1800b1778]
or dword [rbx + 0x49b8], 0x41
movss dword [rbx + 0x4a18], xmm0
call fcn.180007b00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18001a050
lea r11, [0x1800a65c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001a033
cmp byte [r8], r9b
jne 0x18001a033
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18001a020
not ecx
call fcn.180010640
test rax, rax
je 0x18001a09f
cmp byte [rax + 0xbe], 0
je 0x18001a09f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e38]
movsx r9d, word [rbx + 0x5e38]
call fcn.180007b00
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.180013270
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18007a0a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001fe60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5f90], 0
lea rbx, [rcx + 0x5f98]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001ff07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001feba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800234c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180008a50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5f90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fa0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800c38a0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001ff0f
mov rcx, rbx
call fcn.180008a50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180020230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1800c38a8]
xor ebp, ebp
cmp byte [rbx + 0x5ee8], bpl
jne 0x18002030f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180020308
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.180007e90
mov rsi, rax
test rax, rax
je 0x180020308
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180020294
mov rcx, rax
call fcn.180020460
mov r8, qword [0x1800c38a8]
test r8, r8
je 0x1800202ff
movsx rdx, word [r8 + 0x6048]
lea rcx, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1800202f4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5ee8], 1
movss xmm0, dword [rbx + 0x5eec]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18002039e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5eec], xmm0
jb 0x18002039e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x180020391
mov rax, qword [0x1800c38a8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5eec], ebp
call fcn.1800206c0
lea rdx, [0x1800ac66c]
mov rcx, rdi
mov rsi, rax
call fcn.180007da0
mov rdi, rax
test rax, rax
je 0x180020398
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180020398
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5eec], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800203c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800c38a8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180020423
mov qword [rsp], rbx
lea rbx, [0x1800a65c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180020403
cmp byte [r8], r9b
jne 0x180020403
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800203f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f00]
not eax
mov r8, qword [r10 + 0x5f08]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18002044f
cmp dword [r8 + 8], eax
je 0x180020456
add r8, 0x48
cmp r8, rcx
jne 0x180020440
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x180052440
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1800524cc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800524a0
lea r11, [0x1800a65c0]
nop
cmp r9b, 0x23
jne 0x180052483
cmp byte [r8], r9b
jne 0x180052483
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180052470
mov rcx, qword [0x1800c38a8]
not eax
cmp dword [rcx + 0x406c], eax
jne 0x1800524b7
mov dword [rcx + 0x4070], eax
cmp dword [rcx + 0x4098], eax
jne 0x180052529
mov byte [rcx + 0x409c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1800c38a8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4008]
movsxd rax, dword [rbx + 0x100]
mov r8, qword [rbx + 0x108]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180007cf0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x4054], eax
jne 0x180052522
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.1800222e0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13c0
call fcn.180088ca0
sub rsp, rax
mov rax, qword [0x1800bf040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
xor edi, edi
mov ebx, ecx
test ecx, ecx
jns 0x18005aee6
mov ebx, edi
jmp 0x18005aef0
mov eax, 0x64
cmp ebx, eax
cmovg ebx, eax
mov esi, 3
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov ecx, 1
mov dword [rsp + 0x24], eax
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rsp + rcx*4 + 0x24], eax
inc rcx
cmp rcx, 0x270
jb 0x18005af10
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.180060710
mov ecx, eax
imul rcx, rcx, 0x65
cmp ecx, 0x43
ja 0x18005af65
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.180060710
mov ecx, eax
imul rcx, rcx, 0x65
cmp ecx, 0x44
jb 0x18005af50
shr rcx, 0x20
lea eax, [rdi + 1]
add ecx, 0x80000000
xor ecx, 0x80000000
cmp ecx, ebx
cmovg eax, edi
mov edi, eax
sub rsi, 1
jne 0x18005aef5
cmp eax, 3
sete al
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.18007a0a0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18005afc0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov eax, 0x13c0
call fcn.180088ca0
sub rsp, rax
mov rax, qword [0x1800bf040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, edx
mov esi, ecx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r9d, 1
mov dword [rsp + 0x24], eax
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, 0x270
jb 0x18005b004
btc esi, 0x1f
mov dword [rsp + 0x20], 0x270
btc ebx, 0x1f
lea rcx, [rsp + 0x20]
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x18005b04e
call fcn.180060710
mov ecx, eax
jmp 0x18005b0a0
mov qword [rsp + 0x13d0], rdi
inc ebx
call fcn.180060710
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x18005b094
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x18005b094
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.180060710
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x18005b080
mov rdi, qword [rsp + 0x13d0]
shr rcx, 0x20
lea eax, [rcx + rsi]
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.18007a0a0
mov rbx, qword [rsp + 0x13d8]
add rsp, 0x13c0
pop rsi
ret
Function at 0x180060710
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180060771
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180060730
mov ecx, dword [r9]
jmp 0x18006085b
cmp ecx, 0x4e0
jb 0x18006085b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180060790
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800607e0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x18006aee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x18006af6f
cmp edx, r11d
jge 0x18006af5e
mov r8d, dword [rcx + 0x18]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x18006af54
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x18006af1f
xor cl, cl
jmp 0x18006af28
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x18], r8d
cmp edx, 0x18
jg 0x18006af5e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x18006af13
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x18]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x18006afb2
mov eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x18], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x18006af90
mov dword [rbx + 0x10], edx
jns 0x18006afdf
mov edx, dword [0x1800c0ca0]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x18006b00f
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop
cmp rax, r8
jb 0x18006aff9
xor dl, dl
jmp 0x18006b002
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x18006aff0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x18006afb4
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x18006b084
mov edx, dword [0x1800c0ca0]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x20]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x30]
jbe 0x18006b09e
mov rcx, rbx
call fcn.18006a2c0
test eax, eax
je 0x18006b077
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x20], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800745f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1800bf040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov edx, 0x65
mov r8d, 0xa
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rsi, rax
test rax, rax
je 0x180074802
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180074802
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test rbx, rbx
je 0x180074802
test eax, eax
je 0x180074802
xor edi, edi
movsxd rcx, eax
add rcx, rbx
mov dword [rsp + 0x50], edi
mov qword [rbp + 0x48], rcx
lea rax, [rsp + 0x60]
mov qword [rbp + 0x38], rcx
lea r8, [rsp + 0x54]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x54], edi
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x80], rdi
mov dword [rbp - 0x60], edi
mov dword [rbp + 0x28], edi
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x30], rbx
mov qword [rsp + 0x28], rax
call fcn.180062d90
mov rbx, rax
test rax, rax
je 0x180074802
cmp dword [rsp + 0x60], 8
je 0x1800746f5
mov r8d, dword [rsp + 0x54]
mov r9d, 4
mov edx, dword [rsp + 0x50]
mov rcx, rax
call fcn.180063360
mov rbx, rax
mov dword [rsp + 0x60], 8
mov ecx, dword [0x1800c0ca0]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
mov ecx, reloc.WS2_32.dll_recv
cmp dword [rcx + rax], edi
je 0x18007471c
mov ecx, socket
mov eax, dword [rcx + rax]
jmp 0x180074722
mov eax, dword [0x1800c3ab8]
test eax, eax
je 0x18007473d
mov r8d, dword [rsp + 0x54]
mov r9d, 4
mov edx, dword [rsp + 0x50]
mov rcx, rbx
call fcn.180063520
test rbx, rbx
je 0x180074802
lea rdx, [rsp + 0x58]
mov ecx, 1
call qword [sym.imp.OPENGL32.dll_glGenTextures]
mov edx, dword [rsp + 0x58]
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
xor edx, edx
mov ecx, 0xcf2
call qword [sym.imp.OPENGL32.dll_glPixelStorei]
mov eax, dword [rsp + 0x54]
xor edx, edx
mov r9d, dword [rsp + 0x50]
mov ecx, 0xde1
mov qword [rsp + 0x40], rbx
mov r8d, 0x1908
mov dword [rsp + 0x38], 0x1401
mov dword [rsp + 0x30], 0x1908
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.OPENGL32.dll_glTexImage2D]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x58]
mov dword [0x1800c3ac0], eax
mov eax, dword [rsp + 0x50]
mov dword [0x1800c3ab4], eax
mov eax, dword [rsp + 0x54]
mov dword [0x1800c3ab0], eax
mov al, 1
jmp 0x180074804
xor al, al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18007a0a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret