Function at 0x330913db0
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov r13d, dword [rsp + 0x118]
mov r12d, dword [rsp + 0x120]
mov rdi, rcx
mov ecx, 0x4df78
mov ebp, edx
mov esi, r8d
mov dword [rsp + 0x108], r9d
call sub.msvcrt.dll_malloc
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov rdx, rax
mov eax, dword [rsp + 0x108]
mov qword [rcx], 0
imul eax, ebp
mov dword [rsp + 0x38], eax
test rdx, rdx
je 0x33091472e
lea edx, [rax + 1]
mov eax, 0x40
pxor xmm0, xmm0
imul edx, esi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], 1
cmp edx, eax
cmovl edx, eax
add edx, 0x39
movsxd r14, edx
mov rcx, r14
mov qword [rsp + 0x58], r14
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x330914774
mov r15d, 0x29
xor ecx, ecx
mov rbx, qword [rsp + 0x30]
mov dword [rsp + 0x4c], 0x29
mov eax, r15d
lea r15, [rcx + 1]
cmp r14, r15
jae 0x330913ef2
nop dword [rax + rax]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x330913ed6
add r14, r14
mov eax, pe_nt_image_headers64
cmp r14, rax
cmovb r14, rax
cmp r14, r15
jb 0x330913e90
mov rcx, qword [rsp + 0x60]
mov rdx, r14
call sub.msvcrt.dll_realloc
test rax, rax
je 0x330913ed2
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], r14
movzx edx, byte [rsp + 0x4c]
mov byte [rax + rcx], dl
mov qword [rsp + 0x50], r15
mov eax, dword [rsp + 0x4c]
sub eax, 1
mov dword [rsp + 0x4c], eax
je 0x330913f00
mov rcx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
lea r15, [rcx + 1]
cmp r14, r15
jb 0x330913e88
mov rax, qword [rsp + 0x60]
jmp 0x330913ec5
mov r15d, eax
mov eax, 0xa
mov rcx, rbx
mov qword [rsp + 0x30], rbx
cmp r13d, eax
lea r8, [rsp + 0x50]
lea rdx, [0x33090bab0]
cmova r13, rax
lea rax, [0x330958420]
mov r9d, dword [rax + r13*4]
or r9d, 0x1000
call fcn.330912ef0
test esi, esi
jle 0x330914738
movsxd r13, dword [rsp + 0x38]
test r12d, r12d
jne 0x330914478
mov rbx, qword [rsp + 0x30]
lea r14, [rsp + 0x70]
lea r15, [rsp + 0x4c]
mov dword [rsp + 0xf8], ebp
nop word cs:[rax + rax]
xor r9d, r9d
mov r8, r14
mov rdx, r15
mov rcx, rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x70], 1
call fcn.330912850
cmp qword [rbx], 0
mov qword [rsp + 0x70], r13
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x98], r14
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], r13
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
je 0x330914698
mov ebp, dword [rbx + 0x84]
test ebp, ebp
jne 0x330914698
mov eax, dword [rbx + 0x80]
test eax, eax
jne 0x330914698
test r13, r13
je 0x33091401b
test rdi, rdi
je 0x330914698
mov eax, dword [rbx + 0x74]
test eax, eax
jne 0x33091412b
mov eax, dword [rbx + 0x78]
test eax, eax
jne 0x3309146e0
mov eax, dword [rbx + 0x10]
mov rcx, rbx
and eax, 0xb4fff
cmp eax, 0x4001
je 0x3309146f0
call fcn.33090ead0
test eax, eax
je 0x330914131
test dword [rbx + 0x10], 0x3000
je 0x33091407a
test rdi, rdi
je 0x33091407a
mov r8, qword [rbx + 0xb0]
mov ecx, dword [rbx + 0x20]
mov rdx, rdi
sub r8, rdi
call fcn.330910d70
mov dword [rbx + 0x20], eax
mov rdx, qword [rbx + 0x98]
test rdx, rdx
je 0x330914097
mov rax, qword [rbx + 0xb0]
sub rax, qword [rbx + 0x88]
mov qword [rdx], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x330914117
mov rcx, qword [rbx + 0xc0]
mov r8, qword [rax]
mov eax, dword [rbx + 0x74]
sub r8, rcx
cmp r8, rax
cmova r8, rax
mov eax, dword [rbx + 0x70]
add rcx, qword [rbx + 0x90]
lea rdx, [rbx + rax + 0x392aa]
mov qword [rsp + 0x30], r8
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x30]
movq xmm0, qword [rbx + 0x70]
mov rax, qword [rbx + 0xa0]
movd xmm5, r8d
movdqa xmm2, xmm0
add r8, qword [rbx + 0xc0]
pshufd xmm1, xmm5, 0xe0
mov qword [rbx + 0xc0], r8
paddd xmm2, xmm1
psubd xmm0, xmm1
movss xmm0, xmm2
movq qword [rbx + 0x70], xmm0
mov qword [rax], r8
mov eax, dword [rbx + 0x78]
test eax, eax
je 0x33091412b
mov r11d, dword [rbx + 0x74]
xor ebp, ebp
test r11d, r11d
sete bpl
mov dword [rbx + 0x84], ebp
add r12d, 1
add rdi, r13
cmp esi, r12d
jne 0x330913f70
mov qword [rsp + 0x30], rbx
mov ebp, dword [rsp + 0xf8]
mov rcx, rbx
mov dword [rsp + 0x28], 4
xor r9d, r9d
xor edx, edx
mov r8, r14
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x70], 0
call fcn.330912850
cmp eax, 1
jne 0x33091471a
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x110]
xor ecx, ecx
mov ebx, 8
mov qword [rsp + 0x80], rcx
xor ecx, ecx
movabs r14, 0xa1a0a0d474e5089
movabs r15, 0x524448490d000000
lea rdx, [rdi - 0x29]
mov qword [rsp + 0x70], r14
lea r12, [rdi + 0x10]
mov qword [rax], rdx
mov eax, ebp
mov r11, rdx
rol ax, 8
mov qword [rsp + 0x88], rbx
movabs rbx, 0x5441444900000000
mov word [rsp + 0x82], ax
mov eax, esi
rol ax, 8
mov qword [rsp + 0x89], rcx
lea rcx, [0x330957b6c]
mov word [rsp + 0x86], ax
movsxd rax, dword [rsp + 0x108]
mov qword [rsp + 0x91], rbx
movzx r8d, byte [rcx + rax]
mov eax, ebp
mov qword [rsp + 0x78], r15
lea rcx, [0x330957ca0]
movzx eax, ah
xor al, 0xc4
mov byte [rsp + 0x89], r8b
mov eax, dword [rcx + rax*4]
xor eax, 0x75a723
xor ebp, eax
shr eax, 8
movzx ebp, bpl
xor eax, dword [rcx + rbp*4]
mov rbp, qword [rsp + 0x60]
movzx r9d, al
shr eax, 8
xor eax, dword [rcx + r9*4]
movzx r9d, al
shr eax, 8
xor eax, dword [rcx + r9*4]
mov ebx, eax
mov eax, esi
movzx eax, ah
mov r9d, eax
mov eax, ebx
xor r9d, ebx
shr eax, 8
movzx r9d, r9b
xor eax, dword [rcx + r9*4]
xor esi, eax
shr eax, 8
movzx esi, sil
xor eax, dword [rcx + rsi*4]
mov rsi, rdx
mov r9d, eax
shr eax, 8
xor r9d, 8
movzx r9d, r9b
xor eax, dword [rcx + r9*4]
movzx r9d, dl
movzx edx, dh
xor r8d, eax
shr eax, 8
mov r10, rdx
mov rdx, r9
movzx r8d, r8b
xor eax, dword [rcx + r8*4]
movzx r8d, al
shr eax, 8
xor eax, dword [rcx + r8*4]
movzx r8d, al
shr eax, 8
xor eax, dword [rcx + r8*4]
movzx r8d, al
shr eax, 8
xor eax, dword [rcx + r8*4]
not eax
mov ecx, eax
mov r8d, eax
shr ecx, 0x18
shl r8d, 8
shl rdx, 8
shr rsi, 0x10
movzx ecx, cl
shr r11, 0x18
or rdx, r10
movzx r9d, sil
shr r8d, 0x18
shl rdx, 8
movzx r8d, r8b
or rdx, r9
movzx r9d, r11b
shl rdx, 8
or rdx, r9
movzx r9d, al
movzx eax, ah
shl rdx, 8
or rdx, r9
mov r9, rax
mov rax, rdx
shl rax, 8
or rax, r9
shl rax, 8
or rax, r8
shl rax, 8
or rax, rcx
mov qword [rsp + 0x8d], rax
mov qword [rbp], r14
mov qword [rbp + 8], r15
movdqu xmm3, xmmword [rsp + 0x80]
movups xmmword [rbp + 0x10], xmm3
movdqu xmm4, xmmword [rsp + 0x89]
movups xmmword [rbp + 0x19], xmm4
mov rsi, qword [rsp + 0x58]
cmp rsi, r12
jae 0x3309146c0
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x33091474c
mov rbx, qword [rsp + 0x30]
nop dword [rax + rax]
add rsi, rsi
mov eax, pe_nt_image_headers64
cmp rsi, rax
cmovb rsi, rax
cmp rsi, r12
jb 0x330914390
mov rcx, rbp
mov rdx, rsi
mov qword [rsp + 0x30], rbx
call sub.msvcrt.dll_realloc
mov rbp, rax
test rax, rax
je 0x330914747
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
movabs rbx, 0x826042ae444e4549
xor ecx, ecx
mov qword [rbp + rax], rcx
xor ecx, ecx
mov qword [rbp + rax + 8], rbx
mov rax, qword [rsp + 0x110]
mov r11, qword [rsp + 0x60]
mov qword [rsp + 0x50], r12
mov rax, qword [rax]
lea rdx, [r11 + 0x25]
lea r8, [rax + 4]
call fcn.330910ed0
mov edx, eax
shr edx, 0x18
mov byte [r11 + rdi], dl
mov edx, eax
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
shl edx, 8
shr edx, 0x18
mov byte [r8 + rcx - 0xf], dl
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov byte [rcx + rdx - 0xe], ah
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x50]
mov byte [rcx + rdx - 0xd], al
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x30]
add qword [rax], 0x39
call sub.msvcrt.dll_free
mov rax, qword [rsp + 0x60]
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
lea r14, [rsp + 0x70]
mov dword [rsp + 0xf8], ebp
mov ebp, r15d
mov eax, ecx
neg eax
movsxd r12, eax
lea eax, [rsi - 1]
imul eax, ecx
cdqe
add rdi, rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
nop dword [rax]
mov rdx, qword [rsp + 0x38]
xor r9d, r9d
mov r8, r14
mov rcx, rbx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x70], 1
call fcn.330912850
cmp qword [rbx], 0
mov qword [rsp + 0x70], r13
mov qword [rbx + 0x88], rdi
mov qword [rbx + 0x98], r14
mov qword [rbx + 0x90], 0
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], r13
mov qword [rbx + 0xc0], 0
mov dword [rbx + 0xa8], 0
je 0x3309146b0
mov r15d, dword [rbx + 0x84]
test r15d, r15d
jne 0x3309146b0
mov r10d, dword [rbx + 0x80]
test r10d, r10d
jne 0x3309146b0
test rdi, rdi
jne 0x330914561
test r13, r13
jne 0x3309146b0
mov r9d, dword [rbx + 0x74]
test r9d, r9d
jne 0x330914677
mov r8d, dword [rbx + 0x78]
test r8d, r8d
jne 0x3309146d0
mov eax, dword [rbx + 0x10]
mov rcx, rbx
and eax, 0xb4fff
cmp eax, 0x4001
je 0x330914708
call fcn.33090ead0
test eax, eax
je 0x33091467e
test dword [rbx + 0x10], 0x3000
je 0x3309145c4
test rdi, rdi
je 0x3309145c4
mov r8, qword [rbx + 0xb0]
mov ecx, dword [rbx + 0x20]
mov rdx, rdi
sub r8, rdi
call fcn.330910d70
mov dword [rbx + 0x20], eax
mov rdx, qword [rbx + 0x98]
test rdx, rdx
je 0x3309145e1
mov rax, qword [rbx + 0xb0]
sub rax, qword [rbx + 0x88]
mov qword [rdx], rax
mov rdx, qword [rbx + 0xa0]
test rdx, rdx
je 0x330914664
mov rax, qword [rbx + 0xc0]
mov r8, qword [rdx]
mov edx, dword [rbx + 0x74]
sub r8, rax
cmp r8, rdx
cmova r8, rdx
add rax, qword [rbx + 0x90]
mov rcx, rax
mov eax, dword [rbx + 0x70]
mov qword [rsp + 0x30], r8
lea rdx, [rbx + rax + 0x392aa]
call sub.msvcrt.dll_memcpy
mov r8, qword [rsp + 0x30]
movq xmm0, qword [rbx + 0x70]
mov rax, qword [rbx + 0xa0]
movd xmm5, r8d
movdqa xmm2, xmm0
add r8, qword [rbx + 0xc0]
pshufd xmm1, xmm5, 0xe0
mov qword [rbx + 0xc0], r8
paddd xmm2, xmm1
psubd xmm0, xmm1
movss xmm0, xmm2
movq qword [rbx + 0x70], xmm0
mov qword [rax], r8
mov ecx, dword [rbx + 0x78]
test ecx, ecx
je 0x330914677
mov edx, dword [rbx + 0x74]
xor r15d, r15d
test edx, edx
sete r15b
mov dword [rbx + 0x84], r15d
add ebp, 1
add rdi, r12
cmp esi, ebp
jne 0x3309144b0
jmp 0x330914141
mov dword [rbx + 0x84], 0xfffffffe
jmp 0x330914131
mov dword [rbx + 0x84], 0xfffffffe
jmp 0x33091467e
mov rax, rdi
jmp 0x3309143cf
mov r15d, 1
jmp 0x330914677
mov ebp, 1
jmp 0x33091412b
call fcn.33090e210
test eax, eax
jne 0x330914054
jmp 0x330914131
call fcn.33090e210
test eax, eax
jne 0x33091459e
jmp 0x33091467e
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x330914460
mov rcx, qword [rsp + 0x30]
lea r14, [rsp + 0x70]
jmp 0x330914150
mov rbp, qword [rsp + 0x60]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x30]
mov qword [rax], 0
call sub.msvcrt.dll_free
mov rcx, rbp
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x330914460
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x330914460