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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8, qword [0x1400619d0]
lea r10, [0x140053e60]
movsxd r9, ecx
mov rdi, qword [r8 + 0x1d28]
movsxd rdx, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov ebx, dword [rax + rdx*4 - 4]
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 [r10 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r10 + rdx*4]
not ebx
cmp dword [r8 + 0x1d64], ebx
jne 0x140012341
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140024690
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
lea rcx, [rdi + 0x100]
call fcn.140025150
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400133b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400619d0]
mov edi, edx
cmp byte [rbx + 0x212d], 0
jne 0x140013411
cmp byte [rbx + 0x212e], 0
jne 0x140013411
movsx r9d, word [rbx + 0x321e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003740
test dil, 1
je 0x140013539
jmp 0x1400134a1
movss xmm1, dword [rbx + 0x1708]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x321e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14005848c]
mulss xmm1, dword [0x140058480]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1e44], rax
mov dword [rbx + 0x1e2c], 1
movss dword [rbx + 0x1e3c], xmm0
mov byte [rbx + 0x1e64], 1
movss dword [rbx + 0x1e40], xmm1
movss xmm0, dword [rbx + 0x1764]
mulss xmm0, dword [0x140058360]
or dword [rbx + 0x1e28], 0x41
movss dword [rbx + 0x1e88], xmm0
call fcn.140003740
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400134f1
lea r11, [0x140053e60]
cmp r9b, 0x23
jne 0x1400134d4
cmp byte [r8], r9b
jne 0x1400134d4
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 0x1400134c1
not ecx
call fcn.14000be80
test rax, rax
je 0x140013539
cmp byte [rax + 0xc7], 0
je 0x140013539
mov byte [rax + 0xce], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xe8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x321e]
mov edx, 0x10
movsx r9d, word [rbx + 0x321e]
call fcn.140003740
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000ea70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140050b30
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400187e0
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 + 0x3308], 0
lea rbx, [rcx + 0x3310]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018887
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001883a
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.140025a60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004120
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3308]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3318]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400619c8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001888f
mov rcx, rbx
call fcn.140004120
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140018cd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140018d22
lea r11, [0x140053e60]
cmp r9b, 0x23
jne 0x140018d05
cmp byte [r8], r9b
jne 0x140018d05
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 0x140018cf2
mov r11, qword [0x1400619d0]
xor r9d, r9d
mov r10, qword [r11 + 0x32d0]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x140018d6e
not eax
cmp dword [r9], eax
je 0x140018d77
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x32c8]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140018d45
mov rcx, rbx
pop rbx
jmp fcn.140018be0
mov rax, r9
pop rbx
ret
Function at 0x14001c4d0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001c71e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140053e60]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001c6e6
mov rcx, rbp
call fcn.14001bba0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001c5a1
movsxd rdx, dword [rbp + 0x3268]
mov r8, qword [rbp + 0x3270]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001c591
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001c589
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001c58c
mov rdx, rcx
test rdx, rdx
jne 0x14001c560
cmp r8, r10
je 0x14001c5a1
cmp dword [r8], r9d
jne 0x14001c5a1
mov rcx, qword [r8 + 8]
jmp 0x14001c5a3
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xbc]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xbc], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14001c637
cmp qword [rcx + 0x20], 0
jne 0x14001c62c
mov qword [rcx + 0x20], rbx
jmp 0x14001c637
cmp qword [rcx + 0x28], 0
jne 0x14001c637
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb4], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001c67c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001c670
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.140003740
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001c6d8
cmp r9b, 0x23
jne 0x14001c6bb
cmp byte [r8], r9b
jne 0x14001c6bb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001c6a8
not ecx
call fcn.14000be80
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001c520
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140050b30
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14004d3e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14004d420
cmp al, 0x25
jne 0x14004d414
cmp byte [r8 + 1], al
jne 0x14004d420
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14004d407
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004d58a
cmp byte [r8 + 1], dl
je 0x14004d58a
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004d45d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14004d485
sub dl, 0x61
cmp dl, 0x19
ja 0x14004d477
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14004d485
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14004d440
jmp 0x14004d488
inc r9
cmp r8, r9
jae 0x14004d4bf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14004d4b4
bt rdx, rax
jb 0x14004d4ba
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14004d4a0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140003740
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14004d4f8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x14004d4f0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14004d578
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14004d51a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14004d528
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14004d566
movss xmm2, dword [0x140058484]
nop
cmp al, 0x39
ja 0x14004d566
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x14004d540
cmp r9b, 0x2d
jne 0x14004d585
xorps xmm1, xmmword [0x140058730]
movaps xmm0, xmm1
jmp 0x14004d58d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004d58d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140050b30
add rsp, 0x90
pop rbx
ret
Function at 0x14004d5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14004d5f0
cmp al, 0x25
jne 0x14004d5e4
cmp byte [r8 + 1], al
jne 0x14004d5f0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14004d5d7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004d754
cmp byte [r8 + 1], dl
je 0x14004d754
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004d62d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14004d655
sub dl, 0x61
cmp dl, 0x19
ja 0x14004d647
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14004d655
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14004d610
jmp 0x14004d658
inc r9
cmp r8, r9
jae 0x14004d68f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14004d684
bt rdx, rax
jb 0x14004d68a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14004d670
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140003740
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14004d6c8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x14004d6c0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14004d746
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14004d6ea
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14004d6f8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14004d734
movsd xmm2, qword [0x140058420]
nop
cmp al, 0x39
ja 0x14004d734
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14004d710
cmp r9b, 0x2d
jne 0x14004d74f
xorps xmm1, xmmword [0x140058720]
movaps xmm0, xmm1
jmp 0x14004d757
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004d757
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140050b30
add rsp, 0x90
pop rbx
ret

Function at 0x14004e580
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsxd rdi, ecx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
movabs rax, 0x20c49ba5e353f7cf
lea rcx, [rsp + 0x20]
imul qword [rsp + 0x28]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x28], rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
cqo
mov qword [rsp + 0x20], 0
idiv qword [rsp + 0x28]
add rdi, rax
test rdi, rdi
jle 0x14004e612
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
cqo
idiv qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp rax, rdi
jl 0x14004e5f1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140050b30
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140051738
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140051782
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140051782
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140051782
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140051782
cmp dword [rcx + 0x84], 0xe
jbe 0x140051782
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140051784
xor al, al
add rsp, 0x28
ret
Function at 0x180001e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
lea r15, [0x18006b4e0]
mov ebx, ebp
mov esi, ebp
mov r14, rcx
nop dword [rax + rax]
mov rax, qword [0x180fef8f8]
mov edx, ebx
add rdx, 0x20
xor rdx, 3
movsx edi, byte [rdx + rax]
test dil, dil
js 0x180001ef1
mov ecx, edi
call fcn.180044060
test eax, eax
jne 0x180001ef4
cmp dil, 0x5f
je 0x180001ef4
cmp dil, 0x2d
je 0x180001ef4
mov dil, 0x20
mov byte [rsi + r15], dil
inc ebx
inc rsi
cmp rsi, 0x14
jl 0x180001ec0
movsxd rax, ebx
mov byte [rax + r15], 0x20
test ebx, ebx
jle 0x180001f27
nop
cmp byte [rax + r15], 0x20
jne 0x180001f23
dec ebx
dec rax
test rax, rax
jg 0x180001f10
jmp 0x180001f25
inc ebx
test ebx, ebx
jne 0x180001f74
mov rsi, rbp
nop dword [rax]
mov rax, qword [0x180fef8f8]
movsxd rcx, ebx
add rcx, 0x3b
xor rcx, 3
movsx edi, byte [rcx + rax]
test dil, dil
js 0x180001f62
mov ecx, edi
call fcn.180044060
test eax, eax
jne 0x180001f65
cmp dil, 0x5f
je 0x180001f65
cmp dil, 0x2d
je 0x180001f65
mov dil, 0x20
mov byte [rsi + r15], dil
inc ebx
inc rsi
cmp rsi, 4
jl 0x180001f30
movsxd rax, ebx
mov byte [rax + r15], bpl
nop dword [rax + rax]
mov r9, r15
mov dword [rsp + 0x20], ebp
mov r8, r14
lea rdx, str._s_s__04d.bmp
lea rcx, [0x18006b3d0]
call fcn.180001cc0
lea rcx, [0x18006b3d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180001fbd
test al, 0x10
jne 0x180001fbd
inc ebp
cmp ebp, 0x2710
jl 0x180001f80
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1800028a0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rdi
sub rsp, 0x138
mov rbx, rcx
lea rdi, [rax + 0x10]
call fcn.180001030
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], 0
mov r8d, 0x100
mov rcx, qword [rax]
call fcn.180043738
lea r8, [0x18005fb60]
mov edx, 0x100
lea rcx, [rsp + 0x30]
call fcn.180044808
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x138
pop rdi
pop rbx
ret
Function at 0x180029d80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
lea r10, [0x1800735e0]
movaps xmmword [rsp + 0x30], xmm7
xor r9d, r9d
movaps xmmword [rsp + 0x20], xmm8
nop
mov r8d, r9d
xor edx, edx
shl r8d, 6
mov ecx, 0x40000000
cmp r8d, ecx
jae 0x180029dc0
shr ecx, 2
cmp ecx, r8d
ja 0x180029db3
test ecx, ecx
je 0x180029dda
nop
lea eax, [rcx + rdx]
cmp r8d, eax
jb 0x180029dd1
lea eax, [rcx + rdx]
sub r8d, eax
lea edx, [rdx + rcx*2]
shr edx, 1
shr ecx, 2
test ecx, ecx
jne 0x180029dc0
add dl, dl
inc r9d
mov byte [r10], dl
inc r10
cmp r9d, 0x100
jl 0x180029da0
xor r9d, r9d
lea r10, [0x180141c60]
nop dword [rax + rax]
xor edx, edx
mov eax, 0x40000000
mov r8d, r9d
cmp r9d, eax
jae 0x180029e20
nop
shr eax, 2
cmp eax, r9d
ja 0x180029e10
test eax, eax
je 0x180029e3a
nop dword [rax]
lea ecx, [rax + rdx]
cmp r8d, ecx
jb 0x180029e31
lea ecx, [rax + rdx]
sub r8d, ecx
lea edx, [rdx + rax*2]
shr edx, 1
shr eax, 2
test eax, eax
jne 0x180029e20
add dl, dl
inc r9d
mov byte [r10], dl
inc r10
cmp r9d, 0x4000
jl 0x180029e00
movdqa xmm6, xmmword [0x180062870]
lea rcx, [0x180140c50]
movdqa xmm5, xmmword [0x1800628a0]
xor eax, eax
movdqa xmm7, xmmword [0x180062910]
movdqa xmm8, xmmword [0x180062860]
nop dword [rax + rax]
movd xmm1, eax
lea rcx, [rcx + 0x10]
pshufd xmm1, xmm1, 0
movdqa xmm0, xmm5
paddd xmm1, xmm6
add eax, 4
andps xmm0, xmm1
movdqa xmm4, xmm1
psrad xmm4, 5
movdqa xmm3, xmm0
andps xmm4, xmm5
pcmpgtd xmm3, xmm4
pcmpgtd xmm4, xmm0
movdqa xmm2, xmm4
movdqa xmm1, xmm3
xorps xmm1, xmm7
andps xmm2, xmm1
andnps xmm4, xmm1
movdqa xmm1, xmm3
andps xmm1, xmm8
movdqu xmm0, xmmword [rcx - 0x10]
andnps xmm3, xmm0
movdqa xmm0, xmm2
orps xmm1, xmm3
andnps xmm0, xmm1
orps xmm0, xmm2
andnps xmm4, xmm0
movdqu xmmword [rcx - 0x10], xmm4
cmp eax, 0x400
jl 0x180029e80
xor edx, edx
lea rcx, [0x180166660]
mov r8d, 0x186a00
call fcn.180054d80
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
mov dword [0x18006b5c8], 0
mov dword [0x180166644], 0xffffffff
mov byte [0x18006b21d], 0
mov dword [0x180074b84], 0x539
mov byte [0x18006b21e], 0
mov dword [0x180140bd4], 0
add rsp, 0x58
ret
Function at 0x18002e0b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1030
call fcn.180054ab0
sub rsp, rax
mov rbp, r8
mov r15d, ecx
call qword [0x18006a7c0]
lea rdx, [0x1800608b8]
mov rcx, rbp
mov ebx, eax
call fcn.18003fa2c
mov rdi, rax
test rax, rax
je 0x18002e167
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.180043fb8
mov rcx, rdi
call fcn.18004557c
xor r8d, r8d
mov r14d, eax
xor edx, edx
mov rcx, rdi
call fcn.180043fb8
lea ecx, [r14 + 1]
call fcn.180044534
mov rsi, rax
test rax, rax
je 0x18002e1f0
mov r9, rdi
mov r8d, 1
mov edx, r14d
mov rcx, rax
call fcn.180045874
cmp rax, 1
je 0x18002e1a7
mov rdx, rbp
lea rcx, str.Cant_read_shader_file__s
call fcn.180002830
mov rcx, rdi
call fcn.18003fbc4
mov rcx, rsi
call fcn.180044520
xor r9d, r9d
lea r8, [rsp + 0x1068]
mov ecx, ebx
lea edx, [r9 + 1]
call qword [0x18006a840]
mov ecx, ebx
call qword [0x18006a738]
lea r8, [rsp + 0x1078]
mov edx, 0x8b81
mov ecx, ebx
call qword [0x18006a7a8]
cmp dword [rsp + 0x1078], 0
je 0x18002e200
jmp 0x18002e1d7
xor r9d, r9d
mov byte [r14 + rsi], 0
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], rsi
mov ecx, ebx
lea edx, [r9 + 1]
call qword [0x18006a840]
mov rcx, rdi
call fcn.18003fbc4
mov rcx, rsi
call fcn.180044520
jmp 0x18002e17e
mov eax, ebx
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1030
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbp
lea rcx, str.Cant_allocate_memory_for_shader_file__s
call fcn.1800027e0
int3
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1000
mov ecx, ebx
call qword [0x18006a808]
cmp r15d, 0x8b30
lea rax, str.Frag
lea rdx, str.Vert
cmove rdx, rax
lea r8, [rsp + 0x30]
lea rcx, str._s_shader_error:__s_n
call fcn.1800027e0
int3
Function at 0x1800447fc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800446af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800446af
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800446af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800446af
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800446af
cmp dword [rcx + 0x84], 0xe
jbe 0x1800446af
cmp dword [rcx + 0xf8], 0
je 0x1800446af
mov ecx, ebx
call fcn.180044760
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18004453c
nop
cmp dword [rbp + 0x20], 0
je 0x1800446fd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180044708
int3
xor r8d, r8d
xor edx, edx
jmp 0x180044640

Function at 0x180044b2c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x180044b63
call fcn.180046e10
mov dword [rax], 0x16
call fcn.180044fc4
xor eax, eax
jmp 0x180044bf1
mov rdx, r9
mov rcx, r8
call fcn.180044ac8
mov rbx, rax
test rax, rax
je 0x180044bee
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1800449f4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x180044bdb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180046d84
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180044bc2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180044bd1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1800472f0
jmp 0x180044bee
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180044beb
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180045398
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180054ab0
sub rsp, rax
mov rax, qword [0x180068040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18004732c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800453e7
mov rax, rbp
jmp 0x1800454ef
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x69b30]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180049e9c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x69b30]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800454eb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800454eb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180049e9c
test rax, rax
js 0x1800454eb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800454eb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800454dd
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800454dd
cmp byte [rcx], 0xd
jne 0x1800454c3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800454d2
cmp byte [rcx + 1], 0xa
jne 0x1800454d2
inc rcx
jmp 0x1800454d2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x683b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800454a5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800454ef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180054610
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret