Function at 0x140054510
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140660880]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140662798]
xor r9d, r9d
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], r12
mov qword [r11 + 0x18], r13
mov eax, dword [rdi + 0x4ad8]
sub eax, 1
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov qword [rsp + 0x28], r9
mov byte [rsp + 0x24], r9b
js 0x140054595
movsxd rdx, eax
mov rax, qword [rdi + 0x4ae0]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x14005458b
test dword [rsi + 0x14], 0x8000000
jne 0x140054650
sub r8, 0x38
sub rdx, 1
jns 0x140054576
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4d18], r9
je 0x1400545e7
cmp qword [rdi + 0x4d10], r9
jne 0x1400545e7
comiss xmm7, dword [rdi + 0x4d48]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4d2c]
mulss xmm0, dword [0x14024d8b0]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4d2c], xmm1
jb 0x1400545e7
comiss xmm7, xmm1
jb 0x1400545e7
mov qword [rdi + 0x4d18], r9
mov r13d, 0xffffffff
lea rdx, [0x14024d629]
mov ebx, r13d
lea r9, [0x14024bae0]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x140054614
cmp byte [rdx], r8b
jne 0x140054614
cmp byte [rdx + 1], r8b
cmove ebx, r13d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x140054601
mov ebp, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x28]
movzx eax, bpl
test bpl, 2
je 0x14005465c
test byte [rdi + 0xc], 1
je 0x14005465c
mov r12b, 1
jmp 0x140054662
mov qword [rdi + 0x4d10], r9
jmp 0x140054598
xor r12b, r12b
movzx ebp, al
and bpl, 1
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
test rsi, rsi
jne 0x140054695
mov ecx, dword [rdi + 0x4d08]
test ecx, ecx
je 0x140054695
mov r8d, 0x10001
mov edx, ebx
call fcn.14005b4e0
test al, al
je 0x140054695
mov r14b, 1
jmp 0x14005469d
xor r14b, r14b
test rsi, rsi
jne 0x1400546bd
mov ecx, dword [rdi + 0x4d0c]
test ecx, ecx
je 0x1400546bd
mov r8d, 0x10001
mov edx, ebx
call fcn.14005b4e0
test al, al
je 0x1400546bd
mov r15b, 1
jmp 0x1400546c5
xor r15b, r15b
test rsi, rsi
jne 0x1400546eb
test r12b, r12b
je 0x1400546eb
cmp qword [rdi + 0x4d10], r13
jne 0x1400546eb
xor r8d, r8d
xor edx, edx
mov ecx, 0x279
call fcn.140050340
test al, al
je 0x1400546eb
mov r12b, 1
jmp 0x1400546f3
xor r12b, r12b
test rsi, rsi
jne 0x14005470b
cmp qword [rdi + 0x4d10], r13
jne 0x14005470b
test r14b, r14b
jne 0x140054706
test r15b, r15b
je 0x14005470b
mov sil, 1
jmp 0x14005470e
xor sil, sil
test r12b, r12b
jne 0x14005471c
test sil, sil
je 0x1400547ae
mov rax, qword [rdi + 0x4b18]
test rax, rax
jne 0x140054745
mov ecx, dword [rdi + 0x3fb0]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.14004d4a0
test rax, rax
je 0x1400547ae
mov rax, qword [rax + 0x388]
mov qword [rdi + 0x4d18], rax
mov qword [rdi + 0x4d10], rax
xor eax, eax
mov qword [rdi + 0x4d28], rax
mov qword [rdi + 0x4d40], rax
mov qword [rdi + 0x4d38], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4d30], r12b
add eax, 2
mov dword [rdi + 0x4b64], eax
test r14b, r14b
jne 0x140054792
test r15b, r15b
je 0x1400547ae
mov ecx, dword [rdi + 0x4d0c]
xor r8d, r8d
or ecx, dword [rdi + 0x4d08]
mov edx, ebx
and ecx, 0xf800
call fcn.14005a870
mov r12d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4d28]
movss xmm6, dword [0x14024d888]
movaps xmmword [rsp + 0x40], xmm8
movss dword [rdi + 0x4d28], xmm0
cmp qword [rdi + 0x4d10], r13
je 0x1400548ae
cmp dword [rdi + 0x4b64], 3
jne 0x1400548ae
subss xmm0, dword [0x14024d844]
divss xmm0, dword [0x14024d834]
comiss xmm7, xmm0
jbe 0x14005480b
movaps xmm1, xmm7
jmp 0x140054812
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4d2c]
mov r8d, r12d
maxss xmm8, xmm1
xor edx, edx
mov ecx, 0x282
movss dword [rdi + 0x4d2c], xmm8
call fcn.140050340
mov r8d, r12d
movzx ebx, al
xor edx, edx
mov ecx, 0x281
call fcn.140050340
movzx ecx, al
sub ecx, ebx
je 0x140054864
call fcn.140054e60
mov dword [rdi + 0x4d2c], 0x3f800000
movaps xmm8, xmm6
mov rax, qword [0x140662798]
cmp byte [rax + 0x35f4], r13b
je 0x14005487d
cmp byte [rax + 0x4690], r13b
je 0x1400548ae
comiss xmm6, xmm8
seta al
and byte [rdi + 0x4d30], al
je 0x14005489c
cmp qword [rdi + 0x4b18], r13
je 0x1400548a3
mov byte [rsp + 0x24], r12b
jmp 0x1400548a3
mov r13, qword [rdi + 0x4d10]
mov qword [rdi + 0x4d10], 0
cmp qword [rdi + 0x4d10], 0
je 0x140054964
cmp dword [rdi + 0x4b64], 2
jne 0x140054964
mov eax, dword [rdi + 0x4d08]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4d28]
test eax, eax
subss xmm0, dword [0x14024d844]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4d0c]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x14024d834]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x140054915
movaps xmm6, xmm7
jmp 0x140054919
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4d2c]
maxss xmm0, xmm6
movss dword [rdi + 0x4d2c], xmm0
test r14b, r14b
jne 0x140054951
test r15b, r15b
jne 0x140054951
mov eax, dword [rdi + 0xe60]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x140054964
mov r13, qword [rdi + 0x4d10]
jmp 0x140054964
movzx ecx, r14b
xor ecx, r12d
lea ecx, [rcx*2 - 1]
call fcn.140054e60
mov r15, qword [rsp + 0x70]
lea rbx, [rsp + 0x30]
mov r14, qword [rsp + 0x78]
mov esi, 0x211
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], 0x215
test bpl, bpl
je 0x14005499c
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, esi
call fcn.140050340
test al, al
jne 0x1400549ae
add rbx, 4
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x1400549c5
mov esi, dword [rbx]
jmp 0x140054984
mov byte [rdi + 0x4d30], r12b
mov dword [rdi + 0x4d34], esi
mov dword [rdi + 0x4b64], 2
cmp byte [rdi + 0x4d30], 0
mov rbp, qword [rsp + 0xa0]
je 0x140054b5e
cmp dword [rdi + 0x4b64], 2
jne 0x140054b5e
cmp dword [rdi + 0x38d8], 0
jg 0x140054a0b
cmp byte [rdi + 0xe5c], 0
jne 0x140054a0b
cmp byte [rdi + 0xe5d], 0
jne 0x140054a0b
cmp byte [rdi + 0xe5f], 0
je 0x140054a12
mov byte [rdi + 0x4d30], 0
mov edx, dword [rdi + 0x4d34]
lea eax, [rdx - 0x200]
cmp eax, 0x99
jbe 0x140054a4d
cmp edx, 0x1000
je 0x140054a4d
cmp edx, 0x2000
je 0x140054a4d
cmp edx, 0x4000
je 0x140054a4d
cmp edx, 0x8000
je 0x140054a4d
cmp edx, 0x800
jne 0x140054a7b
mov rcx, qword [0x140662798]
cmp byte [rcx + 0x4974], 0
je 0x140054a71
cmp dword [rcx + 0x4064], 0xffffffff
je 0x140054a71
lea eax, [rdx - 0x200]
cmp eax, 0x76
jbe 0x140054a8b
call fcn.14004e350
cmp dword [rax], 0xffffffff
jne 0x140054a8b
mov rax, qword [0x140662798]
cmp dword [rax + 0x47fc], 0xffffffff
je 0x140054a92
mov byte [rdi + 0x4d30], 0
mov ecx, dword [rdi + 0x4d34]
call fcn.1400504d0
test al, al
je 0x140054b49
cmp byte [rdi + 0x4d30], 0
je 0x140054b49
cmp dword [rdi + 0x4064], 0
je 0x140054ac8
cmp byte [rdi + 0x4071], 0
je 0x140054b49
lea rax, [rdi + 0xe40]
test rax, rax
jne 0x140054ae1
mov rax, qword [0x140662798]
add rax, 0xe40
movss xmm0, dword [rax]
movss xmm1, dword [0x14024d8e8]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140054b02
comiss xmm2, xmm1
jb 0x140054b02
movzx ecx, r12b
jmp 0x140054b04
xor cl, cl
lea rax, [rdi + 0x3808]
test rax, rax
jne 0x140054b1d
mov rax, qword [0x140662798]
add rax, 0xe40
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140054b36
comiss xmm2, xmm1
jb 0x140054b36
movzx eax, r12b
jmp 0x140054b38
xor al, al
mov edx, dword [rsp + 0x24]
cmp cl, al
movzx edx, dl
cmove edx, r12d
mov dword [rsp + 0x24], edx
mov ecx, dword [rdi + 0x4d34]
call fcn.1400502c0
test al, al
jne 0x140054b5e
mov byte [rdi + 0x4d30], al
mov rax, qword [rdi + 0x4d10]
test rax, rax
je 0x140054ccb
test byte [rax + 0x14], 4
jne 0x140054ccb
mov eax, dword [rdi + 0x4b64]
movaps xmm2, xmm7
movaps xmm3, xmm7
cmp eax, 2
jne 0x140054bbb
cmp byte [rdi + 0xe5d], 0
jne 0x140054be7
mov rax, qword [0x140662798]
movss xmm3, dword [rax + 0x2eb0]
movss xmm2, dword [rax + 0x2e90]
subss xmm3, dword [rax + 0x2ea0]
subss xmm2, dword [rax + 0x2e80]
jmp 0x140054be7
cmp eax, 3
jne 0x140054be7
mov rax, qword [0x140662798]
movss xmm3, dword [rax + 0x3710]
movss xmm2, dword [rax + 0x36f0]
subss xmm3, dword [rax + 0x3700]
subss xmm2, dword [rax + 0x36e0]
ucomiss xmm2, xmm7
jp 0x140054bf9
jne 0x140054bf9
ucomiss xmm3, xmm7
jp 0x140054bf9
je 0x140054ccb
movss xmm1, dword [rdi + 0x50]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x14024d8d8]
mov byte [rdi + 0x4b7b], r12b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4d38]
addss xmm3, dword [rdi + 0x4d3c]
cvttss2si eax, xmm2
movss dword [rdi + 0x4d38], xmm2
movss dword [rdi + 0x4d3c], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm7
cvtsi2ss xmm6, eax
jp 0x140054c6a
jne 0x140054c6a
ucomiss xmm6, xmm7
jp 0x140054c6a
je 0x140054ccb
mov rax, qword [rdi + 0x4d10]
lea rdx, [rsp + 0x28]
movaps xmm0, xmm8
movaps xmm1, xmm6
mov r8d, r12d
mov rcx, qword [rax + 0x388]
addss xmm0, dword [rcx + 0x28]
addss xmm1, dword [rcx + 0x2c]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
call fcn.14005b240
movss xmm0, dword [rdi + 0x4d38]
movss xmm1, dword [rdi + 0x4d3c]
subss xmm0, xmm8
subss xmm1, xmm6
movss dword [rdi + 0x4d38], xmm0
movss dword [rdi + 0x4d3c], xmm1
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
test r13, r13
je 0x140054d63
mov rax, qword [rdi + 0x4b18]
test rax, rax
je 0x140054cf9
cmp r13, qword [rax + 0x388]
je 0x140054d58
xor edx, edx
xor ecx, ecx
call fcn.14005a200
mov rax, qword [0x140662798]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4b79], r12w
mov byte [rax + 0x4b7b], r12b
call fcn.14004aae0
mov edx, r12d
mov rcx, r13
call fcn.14004d810
mov rbx, qword [rdi + 0x4b18]
cmp dword [rbx + 0x3b8], 0
jne 0x140054d47
xor edx, edx
mov rcx, rbx
call fcn.140051930
cmp word [rbx + 0x16e], 2
jne 0x140054d58
mov dword [rdi + 0x4b68], r12d
mov qword [rdi + 0x4d10], 0
cmp byte [rsp + 0x24], 0
mov r13, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xa8]
je 0x140054e45
cmp qword [rdi + 0x4b18], 0
je 0x140054e45
xor edx, edx
xor ecx, ecx
call fcn.14005a200
mov rbx, qword [rdi + 0x4b18]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
je 0x140054dd8
nop dword [rax]
test byte [rbx + 0x16c], 2
jne 0x140054dd8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140054dd8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x378]
cmp qword [rcx], 0
jne 0x140054db0
mov rsi, qword [rdi + 0x4b18]
cmp rbx, rsi
je 0x140054df5
xor edx, edx
mov rcx, rbx
call fcn.14004d810
mov qword [rbx + 0x3b0], rsi
mov rax, qword [rdi + 0x4b18]
test byte [rax + 0x16c], 2
je 0x140054e10
mov ecx, dword [rdi + 0x4b68]
xor ecx, 1
jmp 0x140054e12
xor ecx, ecx
cmp ecx, dword [rdi + 0x4b68]
je 0x140054e45
cmp ecx, 1
jne 0x140054e29
mov dword [rax + 0x3bc], 0
call fcn.140052500
mov rax, qword [0x140662798]
mov word [rax + 0x4b79], 1
mov byte [rax + 0x4b7b], 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140233310
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret