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

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
mov r14, r8
mov rbx, rdx
movzx ecx, byte [r8]
mov ebp, ecx
movabs rax, 0xcbf29ce484222325
xor rbp, rax
movabs rax, 0x100000001b3
imul rbp, rax
mov rdx, qword [0x180673770]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180673758]
mov rax, qword [r8 + rdx*8 + 8]
mov rsi, qword [0x180673748]
cmp rax, rsi
je 0x1801876a4
mov rdx, qword [r8 + rdx*8]
cmp cl, byte [rax + 0x10]
je 0x18018767e
nop dword [rax]
cmp rax, rdx
je 0x1801876a1
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x180187670
mov qword [rbx], rax
mov byte [rbx + 8], 0
mov rax, rbx
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
mov rsi, rax
movabs rax, 0x666666666666666
cmp qword [0x180673750], rax
je 0x1801877cc
lea rax, [0x180673748]
mov qword [rsp + 0x20], rax
xor r15d, r15d
mov qword [rsp + 0x28], r15
lea ecx, [r15 + 0x28]
call fcn.1801fbc90
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx ecx, byte [r14]
mov byte [rax + 0x10], cl
mov qword [rax + 0x14], r15
mov qword [rax + 0x1c], r15
mov rcx, qword [0x180673750]
add rcx, 1
xorps xmm0, xmm0
js 0x180187706
cvtsi2ss xmm0, rcx
jmp 0x18018771b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x180673778]
xorps xmm1, xmm1
test rcx, rcx
js 0x180187731
cvtsi2ss xmm1, rcx
jmp 0x180187746
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180673740]
seta al
test al, al
je 0x1801877ab
call fcn.1800415e0
mov rdx, qword [0x180673770]
and rdx, rbp
add rdx, rdx
mov r8, qword [0x180673758]
mov rcx, qword [r8 + rdx*8 + 8]
mov rax, qword [0x180673748]
cmp rcx, rax
je 0x1801877a1
mov rdx, qword [r8 + rdx*8]
movzx eax, byte [rdi + 0x10]
cmp al, byte [rcx + 0x10]
je 0x18018779e
nop
cmp rcx, rdx
je 0x1801877c5
mov rcx, qword [rcx + 8]
cmp al, byte [rcx + 0x10]
jne 0x180187790
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x20]
mov r9, rdi
mov r8, rsi
mov rdx, rbp
call fcn.1800416b0
mov qword [rbx], rax
mov byte [rbx + 8], 1
jmp 0x180187685
mov qword [rsp + 0x20], rcx
jmp 0x1801877a6
lea rcx, str.unordered_map_set_too_long
call fcn.1801f81a0
int3
Function at 0x18018afd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18018b004
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18018aff0
ret
Function at 0x18018f5f0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18018f6bc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18018f6bc
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18018f6d5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18018f6ac
cmp byte [rax], 0x5c
jne 0x18018f6a6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18018f6a6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18018f692
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18018f6a3
test r8b, 0x10
jne 0x18018f6a6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18018f6a6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.18018b740
test edi, edi
jne 0x18018f610
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.18018b730
int3
Function at 0x180194ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
movsxd rsi, r8d
lea r9, [rsp + 0x20]
mov rbx, rdx
mov r8d, 0x40
mov rdx, rsi
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x180194ef2
mov rdx, qword [rbx]
mov r8, rsi
mov rcx, rdi
call fcn.18023b0c0
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, rbx
call fcn.18003f680
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x180194f30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor eax, eax
movsxd rsi, r8d
mov qword [rcx], rax
mov rbp, rdx
mov qword [rcx + 8], rax
mov rdi, rcx
mov qword [rcx + 0x10], rax
test r8d, r8d
je 0x180194f8e
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x180194fe4
mov rdx, rsi
call fcn.180070920
mov rbx, qword [rdi]
mov r8, rsi
mov rcx, rbx
xor edx, edx
call fcn.18023b760
lea rax, [rbx + rsi]
mov qword [rdi + 8], rax
mov rbx, qword [rdi]
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18023b0c0
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.180041360
int3

Function at 0x1801982d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18019832d
lea rbx, [0x180286c80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180198314
cmp r10, 2
jb 0x180198314
cmp byte [r9], r8b
jne 0x180198314
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1801982f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18019836f
lea rbx, [0x180286c80]
cmp r8b, 0x23
jne 0x180198353
cmp byte [r9], r8b
jne 0x180198353
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180198340
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180198720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
mov rsi, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x180198937
mov qword [r11 + 0x18], rbp
lea rbp, [0x180000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x18019877e
cmp r8, rsi
jae 0x180198914
movzx edx, byte [r8]
test dl, dl
je 0x180198914
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + rbp + 0x287098]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x1801987b2
movsxd rcx, ebx
add rcx, r8
xor r14d, r14d
lea rax, [r8 + 1]
cmp r8, rcx
cmovb r14d, edx
cmp rax, rcx
jae 0x1801987cb
movzx r13d, byte [rax]
jmp 0x1801987ce
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x1801987dd
movzx r12d, byte [rax]
jmp 0x1801987e0
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1801987ef
movzx r15d, byte [rax]
jmp 0x1801987f2
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov ebp, dword [r10 + rbp + 0x287080]
and ebp, eax
movzx r9d, r13b
shl ebp, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or ebp, eax
movzx r11d, r15b
shl ebp, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ebp, eax
mov eax, r11d
shr r11d, 2
and eax, 0x3f
or r11d, edx
shl ebp, 6
or ebp, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x180000000]
mov ecx, dword [r10 + rax + 0x2870d0]
shr r11d, 2
shr ebp, cl
mov ecx, 0x100
cmp ebp, dword [r10 + rax + 0x2870b8]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, ebp
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp ebp, 0xffff
cmova eax, ecx
lea rcx, [0x180000000]
mov ecx, dword [r10 + rcx + 0x286a90]
or r11d, eax
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x1801988f6
test r15b, r15b
mov eax, r9d
mov ecx, r9d
mov ebp, 0xfffd
setne cl
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
mov eax, r9d
test r14b, r14b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], bp
add rdi, 2
movsxd rax, ebx
lea rbp, [0x180000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x180198770
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], r9w
test rax, rax
je 0x18019894d
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180198960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x10
mov qword [rsp + 0x30], rbx
lea r13, [0x180000000]
mov qword [rsp + 0x38], rbp
mov rdi, rdx
mov qword [rsp + 0x40], rsi
mov rax, rcx
mov qword [rsp + 8], r14
xor r12d, r12d
mov qword [rsp], r15
test rdi, rdi
je 0x1801989a0
cmp rax, rdi
jae 0x180198b18
movzx r8d, byte [rax]
test r8b, r8b
je 0x180198b18
xor ebx, ebx
mov ecx, r8d
shr rcx, 3
mov rdx, rdi
movsx r9, byte [rcx + r13 + 0x287098]
test r9d, r9d
sete bl
add ebx, r9d
test rdi, rdi
jne 0x1801989d6
movsxd rdx, ebx
add rdx, rax
xor esi, esi
lea rcx, [rax + 1]
cmp rax, rdx
cmovb esi, r8d
cmp rcx, rdx
jae 0x1801989ee
movzx r15d, byte [rcx]
jmp 0x1801989f1
xor r15b, r15b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x180198a00
movzx r14d, byte [rcx]
jmp 0x180198a03
xor r14b, r14b
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x180198a11
movzx ebp, byte [rcx]
jmp 0x180198a14
xor bpl, bpl
lea r10, [r9*4]
movzx ecx, sil
mov r9d, dword [r10 + r13 + 0x287080]
and r9d, ecx
movzx r8d, r15b
shl r9d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, r14b
or r9d, ecx
movzx r11d, bpl
shl r9d, 6
and r8d, 0xc0
mov ecx, edx
and edx, 0xc0
and ecx, 0x3f
or r9d, ecx
mov ecx, r11d
shr r11d, 2
and ecx, 0x3f
or r11d, edx
shl r9d, 6
shr r11d, 2
or r9d, ecx
mov ecx, dword [r10 + r13 + 0x2870d0]
or r11d, r8d
shr r9d, cl
shr r11d, 2
mov edx, r9d
cmp r9d, dword [r10 + r13 + 0x2870b8]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r11d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r11d, r8d
mov ecx, 0x100
cmp r9d, 0xffff
cmova edx, ecx
mov ecx, dword [r10 + r13 + 0x286a90]
or r11d, edx
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x180198b0a
xor edx, edx
test bpl, bpl
setne dl
xor ecx, ecx
test r14b, r14b
setne cl
add edx, ecx
xor ecx, ecx
test r15b, r15b
setne cl
add edx, ecx
xor ecx, ecx
test sil, sil
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
movsxd rcx, ebx
add rax, rcx
inc r12d
jmp 0x180198992
mov r15, qword [rsp]
mov eax, r12d
mov r14, qword [rsp + 8]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x10
pop r13
pop r12
pop rdi
ret
Function at 0x18019bdc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x18019be07
mov r9d, 0x12
lea r8, str.Assertion_failed
lea rdx, str.Size___0
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
add eax, 0xfffffffd
cmp eax, 1
ja 0x18019be07
int3
movsxd rcx, dword [rsi + 0xf0]
lea rdx, [0x180286c80]
mov rax, qword [rsi + 0xf8]
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x18019be81
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.1801b40b0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18019bea0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xf0], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18019bede
mov r9d, 0x12
lea r8, str.Assertion_failed
lea rdx, str.Size___0
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
add eax, 0xfffffffd
cmp eax, 1
ja 0x18019bede
int3
movss xmm2, dword [rbx + 0x110]
lea r9, [0x180286c80]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0xf0]
subss xmm0, xmm2
mov rax, qword [rbx + 0xf8]
movss xmm3, dword [rbx + 0x114]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
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 + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x1801a0390
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x18067b998]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f08]
cmp qword [rbx + 0x1a8], 0
movss xmm1, dword [rbx + 0x250]
movss xmm4, dword [rbx + 0x254]
jne 0x1801a03e1
cmp qword [rdi + 0x4b68], 0
je 0x1801a03e9
movss xmm1, dword [rbx + 0x220]
movsd xmm2, qword [r8]
xor r15d, r15d
subss xmm1, dword [rbx + 0x100]
subss xmm4, dword [rbx + 0x104]
movss xmm3, dword [0x18028f1d0]
xorps xmm5, xmm5
ucomiss xmm2, xmm5
mov eax, r15d
mov r8d, 1
mov edx, 2
movsd qword [rsp + 0x60], xmm2
movss xmm0, dword [rsp + 0x64]
cmove eax, r8d
ucomiss xmm0, xmm5
cmove r15d, edx
or r15d, eax
comiss xmm2, xmm5
ja 0x1801a044d
addss xmm1, xmm2
comiss xmm1, xmm3
jb 0x1801a044a
movaps xmm2, xmm1
jmp 0x1801a044d
movaps xmm2, xmm3
comiss xmm0, xmm5
ja 0x1801a0461
addss xmm4, xmm0
comiss xmm4, xmm3
movaps xmm0, xmm4
jae 0x1801a0461
movaps xmm0, xmm3
or dword [rdi + 0x47e8], edx
xor edx, edx
movss dword [rdi + 0x4808], xmm2
movss dword [rdi + 0x480c], xmm0
mov dword [rdi + 0x47f0], r8d
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x1801a04a5
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1801981b0
jmp 0x1801a04ba
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x60]
call fcn.1801981b0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.1801a3490
mov rsi, qword [rdi + 0x3f08]
movzx r14d, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], ebp
mov byte [rsi + 0xd2], r15b
jne 0x1801a050b
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, ebp
lea rdx, [0x1802839f1]
not r9d
lea r10, [0x180286c80]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1801a0538
cmp byte [rdx], r8b
jne 0x1801a0538
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 0x1801a0525
not ebx
cmp dword [rdi + 0x3f68], ebx
jne 0x1801a0568
xor edx, edx
xor ecx, ecx
call fcn.18019c180
cmp dword [rdi + 0x4900], ebp
jne 0x1801a05ad
cmp word [rsi + 0x15c], 0
jne 0x1801a0583
cmp byte [rsi + 0x162], 0
je 0x1801a05ad
xor edx, edx
mov rcx, rsi
call fcn.1801a6280
xor edx, edx
mov rcx, rsi
call fcn.1801ae850
mov rdx, rsi
mov ecx, ebx
call fcn.18019c180
mov eax, dword [rdi + 0x4924]
mov dword [rdi + 0x3f90], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1801ac2e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180672700]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18067b998]
mov edi, ecx
cmp byte [rbx + 0x4ab1], 0
jne 0x1801ac341
cmp byte [rbx + 0x4ab2], 0
jne 0x1801ac341
movsx r9d, word [rbx + 0x5be2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180198130
test dil, 2
je 0x1801ac46f
jmp 0x1801ac3ca
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x18028f234]
xor eax, eax
mulss xmm1, dword [0x18028f218]
addss xmm0, dword [rbx + 0xe00]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4800], rax
mov dword [rbx + 0x47ec], 1
movss dword [rbx + 0x47f8], xmm0
movss dword [rbx + 0x47fc], xmm1
movss xmm0, dword [rbx + 0x38fc]
mulss xmm0, dword [0x18028f098]
or dword [rbx + 0x47e8], 0x41
movss dword [rbx + 0x4848], xmm0
movsx r9d, word [rbx + 0x5be2]
call fcn.180198130
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1801ac420
lea r11, [0x180286c80]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1801ac403
cmp byte [r8], r9b
jne 0x1801ac403
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 0x1801ac3f0
not ecx
call fcn.1801a0920
test rax, rax
je 0x1801ac46f
cmp byte [rax + 0xb6], 0
je 0x1801ac46f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5be2]
movsx r9d, word [rbx + 0x5be2]
call fcn.180198130
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1801a3490
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801fbc70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1801b2840
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x18067b998]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x1801b28a4
lea r10, [0x180286c80]
cmp r8b, 0x23
jne 0x1801b2887
cmp byte [rdx], r8b
jne 0x1801b2887
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 0x1801b2874
mov eax, dword [r14 + 0x5c40]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x1801b2910
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x1801b28ca
cmp edi, eax
jl 0x1801b28ef
mov r9d, 0x12
lea r8, str.Assertion_failed
lea rdx, str.i___0__i___Size
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
add eax, 0xfffffffd
cmp eax, 1
ja 0x1801b28ef
int3
mov rax, qword [r14 + 0x5c48]
cmp dword [rax + rbp + 8], ebx
je 0x1801b292d
mov eax, dword [r14 + 0x5c40]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x1801b28c1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x1801b293a
cmp edi, dword [r14 + 0x5c40]
jl 0x1801b295f
mov r9d, 0x12
lea r8, str.Assertion_failed
lea rdx, str.i___0__i___Size
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
add eax, 0xfffffffd
cmp eax, 1
ja 0x1801b295f
int3
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5c48]
lea rax, [rax + rcx*8]
jmp 0x1801b2912

Function at 0x1801b2980
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1801b29af
lea r9d, [rcx + 0x12]
lea r8, str.Assertion_failed
lea rdx, str.filename__mode
call qword [sym.imp.USER32.dll_MessageBoxA]
add eax, 0xfffffffd
cmp eax, 1
ja 0x1801b29af
int3
lea rdx, [0x1802818d4]
mov rcx, rbx
call fcn.180198380
mov rbx, rax
test rax, rax
je 0x1801b2ac4
mov qword [rsp + 0x30], rsi
mov rcx, rax
mov qword [rsp + 0x38], rdi
call fcn.1802163dc
mov esi, eax
cmp eax, 0xffffffff
je 0x1801b2ab2
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18021316c
test eax, eax
jne 0x1801b2ab2
mov rcx, rbx
call fcn.1802163dc
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1801b2ab2
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18021316c
test eax, eax
jne 0x1801b2ab2
cmp rdi, 0xffffffffffffffff
je 0x1801b2ab2
mov rax, qword [0x18067b998]
test rax, rax
je 0x1801b2a42
inc dword [rax + 0xec]
mov rcx, rdi
call fcn.1802153c0
mov rsi, rax
test rax, rax
je 0x1801b2ab2
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1802138c8
mov rcx, rbx
cmp rax, rdi
je 0x1801b2a74
call fcn.1802141c0
jmp 0x1801b2a89
call fcn.1802141c0
test rdi, rdi
je 0x1801b2a89
mov rdx, rdi
mov rcx, rsi
call fcn.1801b2ad0
mov rax, qword [0x18067b998]
test rax, rax
je 0x1801b2a9b
dec dword [rax + 0xec]
mov rcx, rsi
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.1802152c8
mov rcx, rbx
call fcn.1802141c0
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1801cb4b0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x1801cb5ec
mov qword [rsp + 0x20], rdi
xor edx, edx
cmp ebx, 7
jbe 0x1801cb552
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp r8d, ebx
jb 0x1801cb4f3
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x1801cb5b4
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x1801cb5a1
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r8d, ecx
add r10, 2
add ecx, eax
add r11d, ecx
sub rdi, 1
jne 0x1801cb580
cmp edx, ebx
jae 0x1801cb5ad
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r11 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x1801cb4e8
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret