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

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180074df0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x180089b98]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x180010156
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.180022db0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180010160
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x180074df0]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18001c620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180089050]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180089b98]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x18001c681
cmp byte [rbx + 0x424e], 0
jne 0x18001c681
movsx r9d, word [rbx + 0x532e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18000c7d0
test dil, 1
je 0x18001c7a8
jmp 0x18001c70a
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x532e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18007f888]
mulss xmm1, dword [0x18007f878]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x18007f76c]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.18000c7d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18001c760
lea r11, [0x180074df0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18001c743
cmp byte [r8], r9b
jne 0x18001c743
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 0x18001c730
not ecx
call fcn.180015590
test rax, rax
je 0x18001c7a8
cmp byte [rax + 0x96], 0
je 0x18001c7a8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x532e]
mov edx, 0x10
movsx r9d, word [rbx + 0x532e]
call fcn.18000c7d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180017df0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800722b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180021a70
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180021b13
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x180021ac6
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180007f30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18000d450
mov eax, dword [rbx]
lea rcx, [0x180089b94]
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180021b1b
mov rcx, rbx
call fcn.18000d450
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180022080
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180089b98]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800220e3
mov qword [rsp], rbx
lea rbx, [0x180074df0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800220c3
cmp byte [r8], r9b
jne 0x1800220c3
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 0x1800220b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180022117
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18002211e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180022104
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x18003c440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
mov rax, qword [0x180089b98]
mov rbx, qword [rax + 0x4308]
mov edx, dword [rbx + 4]
bt edx, 0x18
jae 0x18003c46e
mov eax, dword [rbx + 0x74]
mov r8d, 1
cmp eax, r8d
movzx ecx, al
cmovg ecx, r8d
jmp 0x18003c470
xor cl, cl
mov r8, qword [rbx + 0x188]
xorps xmm1, xmm1
mov byte [rbx + 0x203], cl
movss xmm0, dword [r8 + 0x64]
ucomiss xmm0, xmm1
jp 0x18003c491
jne 0x18003c491
xor al, al
jmp 0x18003c494
movzx eax, cl
shr edx, 0x19
and dl, 1
mov byte [rbx + 0x204], al
mov byte [rbx + 0x201], dl
movss xmm0, dword [r8 + 0x68]
ucomiss xmm0, xmm1
jp 0x18003c4b5
jne 0x18003c4b5
xor dl, dl
mov byte [rbx + 0x202], dl
xor r11d, r11d
xor dl, 1
mov byte [rbx + 0x214], dl
test cl, cl
jle 0x18003c559
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov edi, r11d
nop dword [rax]
mov rsi, qword [rbx + 0x28]
movzx edx, cl
movsx r8, byte [rsi + rdi]
mov r10, r8
cmp r8d, r11d
je 0x18003c53e
movsx eax, cl
cmp r10d, eax
jl 0x18003c53e
movsx rax, byte [r10 + rsi]
mov r9, qword [rbx + 0x18]
imul r8, r8, 0x68
imul rdx, rax, 0x68
movzx eax, byte [r8 + r9 + 0x52]
movzx ecx, byte [rdx + r9 + 0x52]
mov byte [rdx + r9 + 0x52], al
mov byte [r8 + r9 + 0x52], cl
mov rdx, qword [rbx + 0x28]
movzx eax, byte [rdx + rdi]
movzx ecx, byte [r10 + rdx]
mov byte [r10 + rdx], al
mov byte [rdx + rdi], cl
movzx edx, byte [rbx + 0x203]
inc r11d
movsx eax, dl
inc rdi
movzx ecx, dl
cmp r11d, eax
jl 0x18003c4e0
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x18003cf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r8, qword [rcx + 0x188]
mov r9, rcx
mov dword [rcx + 0x7c], edx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x18003cf7c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r8 + 0xe0]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r8 + 0xf8], xmm0
subss xmm0, dword [r8 + 0x18]
movss dword [r8 + 0xe4], xmm1
subss xmm0, dword [r8 + 0x124]
movss dword [r8 + 0x128], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r8 + 0x118], eax
movsx eax, byte [rbx + 0x62]
mov dword [r8 + 0x138], eax
movss dword [r8 + 0x204], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r8 + 0x200], eax
mov eax, dword [rbx + 0x38]
mov dword [r8 + 0x208], eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + 0x1a4], eax
cmp byte [rbx + 0x5a], 0
jne 0x18003d017
maxss xmm1, dword [rcx + 0x88]
movss dword [r8 + 0xe4], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r8 + 0x9b], al
cmp byte [rbx + 0x60], 0
je 0x18003d03d
mov rax, qword [0x180089b98]
xor ecx, ecx
mov dword [rax + 0x3f70], ecx
mov dword [rax + 0x3f78], ecx
test dword [r9 + 4], 0x100000
je 0x18003d04e
mov eax, 2
jmp 0x18003d0cd
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r8 + 0x280]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r8 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r8 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx eax, byte [rbx + 0x57]
mov rdx, qword [r8 + 0x280]
mov r8d, eax
mov rcx, qword [r9 + 0x1a0]
call fcn.18002f630
mov rdi, qword [0x180089b98]
cmp byte [rdi + 0x53d4], 0
je 0x18003d115
cmp byte [rbx + 0x60], 0
jne 0x18003d115
xor r8d, r8d
lea rdx, [0x18007e3f8]
mov rcx, rsi
call fcn.180021b70
mov dword [rdi + 0x5408], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18003f670
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x180089b98]
mov rdx, qword [rax + 0x4308]
cmp ecx, 0xffffffff
jne 0x18003f68a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x18003f709
mov r10d, dword [rdx]
lea r8, [0x18007e3e9]
movzx eax, word [rdx + 0x80]
lea r11, [0x180074df0]
not r10d
mov byte [rdx + 0x200], cl
mov ecx, r10d
mov byte [rdx + 0x20e], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x18003f6e3
cmp byte [r8], r9b
jne 0x18003f6e3
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 0x18003f6d0
not ecx
xor edx, edx
jmp fcn.18001c880
ret
Function at 0x1800636d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov ecx, edx
and r10d, 7
je 0x180063736
mov r8d, dword [rbx + 0x14]
cmp edx, r10d
jge 0x180063724
mov r9, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r9
jb 0x180063700
xor cl, cl
jmp 0x180063709
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
mov ecx, edx
shl eax, cl
add edx, 8
or eax, r8d
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], eax
mov r8d, eax
cmp edx, 0x18
jle 0x1800636f4
mov ecx, r10d
shr r8d, cl
sub edx, r10d
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x10], edx
mov ecx, edx
xor r9d, r9d
test edx, edx
jle 0x18006376e
mov edx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rbx + 0x14]
inc r9d
shr edx, 8
sub ecx, 8
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], edx
test ecx, ecx
jg 0x180063750
mov dword [rbx + 0x10], ecx
movsxd rcx, r9d
cmp rcx, 4
jge 0x1800637a2
mov r8, qword [rbx + 8]
nop dword [rax + rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x18006378c
xor dl, dl
jmp 0x180063795
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180063780
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 qword [rsp + 0x38], rsi
mov eax, r8d
mov qword [rsp + 0x40], rdi
xor eax, 0xffff
mov qword [rsp + 0x48], r14
cmp ecx, eax
jne 0x180063866
mov rdx, qword [rbx]
mov edi, r8d
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 8]
ja 0x180063866
mov rsi, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x28]
lea rax, [r8 + rsi]
cmp rax, rcx
jbe 0x18006384d
cmp dword [rbx + 0x30], 0
je 0x180063866
sub esi, dword [rbx + 0x20]
sub ecx, dword [rbx + 0x20]
lea edx, [rsi + r8]
cmp edx, ecx
jle 0x180063820
lea eax, [rcx + rcx]
mov ecx, eax
cmp edx, eax
jg 0x180063817
movsxd r14, ecx
mov rcx, qword [rbx + 0x20]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x180063866
mov rdx, qword [rbx]
movsxd rsi, esi
add rsi, rax
mov qword [rbx + 0x20], rax
add rax, r14
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x28], rax
mov r8, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
jmp 0x180063868
xor eax, eax
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18006c8f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x180089050]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov edi, edx
mov rsi, r8
movsxd rbx, ecx
lea rdx, [rsp + 0x58]
mov ecx, 0x8069
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
lea rcx, [0x180089c30]
lea rbx, [rcx + rbx*4]
mov ecx, 1
mov rdx, rbx
call qword [sym.imp.OPENGL32.dll_glGenTextures]
mov edx, dword [rbx]
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov rcx, qword [0x180089a88]
mov r8, rsi
movzx edx, di
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, qword [0x180089a88]
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x180089a88]
mov rdx, rsi
movsxd rbp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rbx
lea rcx, [0x18007f2a0]
mov r8d, ebp
mov rdx, rsi
mov rdi, rax
call fcn.18006e790
lea rax, [rdi + rbp]
mov qword [rsp + 0x128], rdi
xor esi, esi
mov qword [rsp + 0x130], rax
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x120], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x54]
mov dword [rsp + 0x90], esi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x118], rdi
call fcn.18005cab0
movss xmm2, dword [0x18007f938]
mov edx, 0x2802
mov ecx, 0xde1
mov rbx, rax
call qword [sym.imp.OPENGL32.dll_glTexParameterf]
movss xmm2, dword [0x18007f938]
mov edx, 0x2803
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glTexParameterf]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2600
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2600
call qword [sym.imp.OPENGL32.dll_glTexParameteri]
mov eax, dword [rsp + 0x50]
xor edx, edx
mov r9d, dword [rsp + 0x54]
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], esi
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 edx, dword [rsp + 0x58]
mov ecx, 0xde1
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800722b0
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006e790
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x2058
call fcn.1800735b0
sub rsp, rax
mov rax, qword [0x180089050]
xor rax, rsp
mov qword [rsp + 0x2040], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x2000
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x2078]
call fcn.180001150
mov r9d, 0xfff
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov r8d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.1800722b0
add rsp, 0x2058
pop rdi
pop rbx
ret

Function at 0x18006ea30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18006ec50
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18006eb37
mov rax, qword [0x180089028]
cmp qword [rsp + 0x20], rax
jb 0x18006ea94
mov rax, qword [0x180089030]
cmp qword [rsp + 0x20], rax
ja 0x18006ea94
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006ea56
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006eac3
jmp 0x18006eb37
cmp dword [rsp + 0x50], 0x10000
jne 0x18006eb1a
cmp qword [rsp + 0x48], 0x10000
jb 0x18006eb1a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006eb08
mov rax, qword [rsp + 0x28]
jmp 0x18006eb39
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006eb32
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18006ec50
mov qword [rsp + 0x20], rax
jmp 0x18006ea56
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006eb40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18006ec90
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18006ec43
mov rax, qword [0x180089028]
cmp qword [rsp + 0x20], rax
jb 0x18006eb9b
mov rax, qword [0x180089030]
cmp qword [rsp + 0x20], rax
ja 0x18006eb9b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006eb5d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006ebca
jmp 0x18006ec43
cmp dword [rsp + 0x50], 0x10000
jne 0x18006ec21
cmp qword [rsp + 0x48], 0x10000
jb 0x18006ec21
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006ec0f
mov rax, qword [rsp + 0x28]
jmp 0x18006ec45
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006ec3e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18006ec90
mov qword [rsp + 0x20], rax
jmp 0x18006eb5d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006ece0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006f270
mov qword [rsp + 0x28], 0
cmp qword [0x180089288], 0
jne 0x18006ed28
cmp qword [0x180089280], 0
je 0x18006ed28
mov rax, qword [0x180089280]
mov qword [0x180089288], rax
cmp qword [0x180089288], 0
je 0x18006edce
mov rax, qword [0x180089288]
cmp qword [rax + 0x10], 0
je 0x18006edce
mov rax, qword [0x180089288]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006edce
mov rax, qword [0x180089288]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006edce
mov rax, qword [0x180089288]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18006ed94
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006ed9b
xor eax, eax
jmp 0x18006ef49
mov rax, qword [0x180089288]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18006ef49
mov rax, qword [0x180089280]
mov qword [0x180089288], rax
jmp 0x18006edf0
mov rax, qword [0x180089288]
mov rax, qword [rax + 8]
mov qword [0x180089288], rax
cmp qword [0x180089288], 0
je 0x18006ee3d
cmp qword [0x180089288], 0
je 0x18006ee3b
mov rax, qword [0x180089288]
cmp qword [rax + 0x10], 0
je 0x18006ee3b
mov rax, qword [0x180089288]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006ee3b
mov rax, qword [0x180089288]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006ee3b
jmp 0x18006ed6c
jmp 0x18006edde
mov rcx, qword [rsp + 0x60]
call fcn.180070ea0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006ef50
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18006ef47
mov rax, qword [rsp + 0x48]
mov qword [0x180089288], rax
mov rax, qword [0x180089288]
mov dword [rax], 0x52727464
mov rax, qword [0x180089288]
mov qword [rax + 0x10], 0
mov rax, qword [0x180089288]
mov rcx, qword [0x180089280]
mov qword [rax + 8], rcx
mov rax, qword [0x180089288]
mov qword [0x180089280], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180089288]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18006eef8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18006ef32
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18006eeee
mov rax, qword [0x180089288]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18006ed6c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1400017fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001846
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001846
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001846
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001846
cmp dword [rcx + 0x84], 0xe
jbe 0x140001846
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001848
xor al, al
add rsp, 0x28
ret

Function at 0x1400081f0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007fec