Function at 0x14003c080
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rdi, qword [0x140115848]
xor r9d, r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
mov eax, dword [rdi + 0x4870]
sub eax, 1
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x98], r9
mov byte [rsp + 0x90], r9b
js 0x14003c0ff
movsxd rdx, eax
mov rax, qword [rdi + 0x4878]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax + rax]
mov rsi, qword [r8]
test rsi, rsi
je 0x14003c0f5
test dword [rsi + 0x14], 0x8000000
jne 0x14003c1c3
sub r8, 0x38
sub rdx, 1
jns 0x14003c0e0
mov rsi, r9
xorps xmm6, xmm6
cmp qword [rdi + 0x4a18], r9
je 0x14003c151
cmp qword [rdi + 0x4a10], r9
jne 0x14003c151
comiss xmm6, dword [rdi + 0x4a44]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a2c]
mulss xmm0, dword [0x1400e81b4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rdi + 0x4a2c], xmm1
jb 0x14003c151
comiss xmm6, xmm1
jb 0x14003c151
mov qword [rdi + 0x4a18], r9
mov r13d, 0xffffffff
lea rdx, [0x1400e9be9]
mov ebx, r13d
lea r9, [0x1400e8460]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x14003c183
cmp byte [rdx], r8b
jne 0x14003c183
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 0x14003c170
mov r14d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0x98]
movzx eax, r14b
test r14b, 2
je 0x14003c1cf
test byte [rdi + 0xc], 1
je 0x14003c1cf
mov r12b, 1
jmp 0x14003c1d6
mov qword [rdi + 0x4a10], r9
jmp 0x14003c102
xor r12b, r12b
movzx r14d, al
and r14b, 1
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], r15
test rsi, rsi
jne 0x14003c20c
mov ecx, dword [rdi + 0x4a08]
test ecx, ecx
je 0x14003c20c
mov r8d, 0x1001
mov edx, ebx
call fcn.140043340
test al, al
je 0x14003c20c
mov bpl, 1
jmp 0x14003c214
xor bpl, bpl
test rsi, rsi
jne 0x14003c234
mov ecx, dword [rdi + 0x4a0c]
test ecx, ecx
je 0x14003c234
mov r8d, 0x1001
mov edx, ebx
call fcn.140043340
test al, al
je 0x14003c234
mov r15b, 1
jmp 0x14003c23c
xor r15b, r15b
test rsi, rsi
jne 0x14003c262
test r12b, r12b
je 0x14003c262
cmp qword [rdi + 0x4a10], r13
jne 0x14003c262
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140038180
test al, al
je 0x14003c262
mov r12b, 1
jmp 0x14003c26a
xor r12b, r12b
test rsi, rsi
jne 0x14003c282
cmp qword [rdi + 0x4a10], r13
jne 0x14003c282
test bpl, bpl
jne 0x14003c27d
test r15b, r15b
je 0x14003c282
mov sil, 1
jmp 0x14003c285
xor sil, sil
test r12b, r12b
jne 0x14003c293
test sil, sil
je 0x14003c325
mov rax, qword [rdi + 0x48a8]
test rax, rax
jne 0x14003c2bc
mov ecx, dword [rdi + 0x3e78]
mov edx, 0x80000001
dec ecx
mov r8d, 0xffffffff
call fcn.140035130
test rax, rax
je 0x14003c325
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a18], rax
mov qword [rdi + 0x4a10], rax
xor eax, eax
mov qword [rdi + 0x4a28], rax
mov qword [rdi + 0x4a3c], rax
mov qword [rdi + 0x4a34], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a30], r12b
add eax, 2
mov dword [rdi + 0x48dc], eax
test bpl, bpl
jne 0x14003c309
test r15b, r15b
je 0x14003c325
mov ecx, dword [rdi + 0x4a0c]
xor r8d, r8d
or ecx, dword [rdi + 0x4a08]
mov edx, ebx
and ecx, 0xf800
call fcn.140042aa0
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4a28]
movss xmm7, dword [0x1400e8138]
movaps xmmword [rsp + 0x20], xmm8
mov r12, qword [rsp + 0x68]
movss dword [rdi + 0x4a28], xmm0
cmp qword [rdi + 0x4a10], r13
je 0x14003c42d
cmp dword [rdi + 0x48dc], 3
jne 0x14003c42d
subss xmm0, dword [0x1400e9e10]
divss xmm0, dword [0x1400e9dfc]
comiss xmm6, xmm0
jbe 0x14003c381
movaps xmm1, xmm6
jmp 0x14003c388
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm8, dword [rdi + 0x4a2c]
xor edx, edx
maxss xmm8, xmm1
mov ecx, 0x274
mov r8d, 1
movss dword [rdi + 0x4a2c], xmm8
call fcn.140038180
xor edx, edx
movzx ebx, al
mov ecx, 0x273
mov r8d, 1
call fcn.140038180
movzx ecx, al
sub ecx, ebx
je 0x14003c3e0
call fcn.14003c960
mov dword [rdi + 0x4a2c], 0x3f800000
movaps xmm8, xmm7
mov rax, qword [0x140115848]
cmp byte [rax + 0x34dc], r13b
je 0x14003c3f9
cmp byte [rax + 0x447c], r13b
je 0x14003c42d
comiss xmm7, xmm8
seta al
and byte [rdi + 0x4a30], al
je 0x14003c41b
cmp qword [rdi + 0x48a8], r13
je 0x14003c422
mov byte [rsp + 0x90], 1
jmp 0x14003c422
mov r13, qword [rdi + 0x4a10]
mov qword [rdi + 0x4a10], 0
cmp qword [rdi + 0x4a10], 0
je 0x14003c4e3
cmp dword [rdi + 0x48dc], 2
jne 0x14003c4e3
mov eax, dword [rdi + 0x4a08]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4a28]
test eax, eax
subss xmm0, dword [0x1400e9e10]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4a0c]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x1400e9dfc]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm6, xmm0
jbe 0x14003c494
movaps xmm7, xmm6
jmp 0x14003c498
minss xmm7, xmm0
movss xmm0, dword [rdi + 0x4a2c]
maxss xmm0, xmm7
movss dword [rdi + 0x4a2c], xmm0
test bpl, bpl
jne 0x14003c4d0
test r15b, r15b
jne 0x14003c4d0
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x14003c4e3
mov r13, qword [rdi + 0x4a10]
jmp 0x14003c4e3
movzx ecx, bpl
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.14003c960
mov r15, qword [rsp + 0x50]
test r14b, r14b
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0xa0]
je 0x14003c521
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140038180
test al, al
je 0x14003c521
mov byte [rdi + 0x4a30], 1
mov dword [rdi + 0x48dc], 2
cmp byte [rdi + 0x4a30], 0
je 0x14003c65d
cmp dword [rdi + 0x48dc], 2
jne 0x14003c65d
cmp dword [rdi + 0x37c0], 0
jg 0x14003c56f
cmp byte [rdi + 0xe24], 0
jne 0x14003c56f
cmp byte [rdi + 0xe25], 0
jne 0x14003c56f
cmp byte [rdi + 0xe27], 0
jne 0x14003c56f
mov rax, qword [0x140115848]
cmp dword [rax + 0x45e8], 0xffffffff
je 0x14003c576
mov byte [rdi + 0x4a30], 0
mov rax, qword [0x140115848]
comiss xmm6, dword [rax + 0x36d4]
ja 0x14003c63d
cmp byte [rax + 0x36cc], 0
jne 0x14003c63d
cmp byte [rax + 0x45f0], 0
jne 0x14003c656
cmp byte [rdi + 0x4a30], 0
je 0x14003c63d
cmp dword [rdi + 0x3f28], 0
je 0x14003c5c3
cmp byte [rdi + 0x3f35], 0
je 0x14003c63d
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x14003c5dc
mov rax, qword [0x140115848]
add rax, 0xe08
movss xmm0, dword [rax]
movss xmm1, dword [0x1400e9e68]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14003c5fb
comiss xmm2, xmm1
jb 0x14003c5fb
mov cl, 1
jmp 0x14003c5fd
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x14003c616
mov rax, qword [0x140115848]
add rax, 0xe08
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x14003c62d
comiss xmm2, xmm1
jb 0x14003c62d
mov al, 1
jmp 0x14003c62f
xor al, al
cmp al, cl
jne 0x14003c63d
mov byte [rsp + 0x90], 1
jmp 0x14003c656
mov rax, qword [0x140115848]
cmp byte [rax + 0x36cc], 0
je 0x14003c656
cmp byte [rax + 0x45f0], 0
je 0x14003c65d
mov byte [rdi + 0x4a30], 0
mov rax, qword [rdi + 0x4a10]
test rax, rax
je 0x14003c7d6
test byte [rax + 0x14], 4
jne 0x14003c7d6
mov eax, dword [rdi + 0x48dc]
movaps xmm2, xmm6
movaps xmm3, xmm6
cmp eax, 2
jne 0x14003c6ba
cmp byte [rdi + 0xe25], 0
jne 0x14003c6e6
mov rax, qword [0x140115848]
movss xmm3, dword [rax + 0x2e78]
movss xmm2, dword [rax + 0x2e58]
subss xmm3, dword [rax + 0x2e68]
subss xmm2, dword [rax + 0x2e48]
jmp 0x14003c6e6
cmp eax, 3
jne 0x14003c6e6
mov rax, qword [0x140115848]
movss xmm3, dword [rax + 0x35f8]
movss xmm2, dword [rax + 0x35d8]
subss xmm3, dword [rax + 0x35e8]
subss xmm2, dword [rax + 0x35c8]
ucomiss xmm2, xmm6
jp 0x14003c6f8
jne 0x14003c6f8
ucomiss xmm3, xmm6
jp 0x14003c6f8
je 0x14003c7d6
movss xmm1, dword [rdi + 0x70]
xorps xmm8, xmm8
movss xmm0, dword [rdi + 0x18]
xorps xmm7, xmm7
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x1400e9e5c]
mov byte [rdi + 0x48e7], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4a34]
addss xmm3, dword [rdi + 0x4a38]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a34], xmm2
movss dword [rdi + 0x4a38], xmm3
cvtsi2ss xmm8, eax
cvttss2si eax, xmm3
ucomiss xmm8, xmm6
cvtsi2ss xmm7, eax
jp 0x14003c769
jne 0x14003c769
ucomiss xmm7, xmm6
jp 0x14003c769
je 0x14003c7d6
mov rax, qword [rdi + 0x4a10]
lea rdx, [rsp + 0x98]
movaps xmm0, xmm8
movaps xmm1, xmm7
mov r8d, 1
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x98], xmm0
movss dword [rsp + 0x9c], xmm1
call fcn.1400430d0
movss xmm0, dword [rdi + 0x4a34]
movss xmm1, dword [rdi + 0x4a38]
subss xmm0, xmm8
subss xmm1, xmm7
movss dword [rdi + 0x4a34], xmm0
movss dword [rdi + 0x4a38], xmm1
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
test r13, r13
je 0x14003c880
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14003c804
cmp r13, qword [rax + 0x378]
je 0x14003c875
xor edx, edx
xor ecx, ecx
call fcn.140042310
mov rax, qword [0x140115848]
mov word [rax + 0x48e5], 1
mov byte [rax + 0x48e7], 1
mov rbx, qword [r13 + 0x398]
test rbx, rbx
je 0x14003c839
cmp byte [rbx + 0xb7], 0
jne 0x14003c83c
mov rbx, r13
xor edx, edx
mov rcx, rbx
call fcn.1400325b0
mov rcx, rbx
call fcn.140035300
cmp dword [rbx + 0x3a0], 0
jne 0x14003c861
xor edx, edx
mov rcx, rbx
call fcn.140039640
cmp word [rbx + 0x15e], 2
jne 0x14003c875
mov dword [rdi + 0x48e0], 1
mov qword [rdi + 0x4a10], 0
cmp byte [rsp + 0x90], 0
mov r13, qword [rsp + 0x60]
je 0x14003c953
cmp qword [rdi + 0x48a8], 0
je 0x14003c953
xor edx, edx
xor ecx, ecx
call fcn.140042310
mov rbx, qword [rdi + 0x48a8]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x14003c8e8
nop
test byte [rbx + 0x15c], 2
jne 0x14003c8e8
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14003c8e8
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x14003c8c0
mov rsi, qword [rdi + 0x48a8]
cmp rbx, rsi
je 0x14003c903
mov rcx, rbx
call fcn.140035300
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48a8]
test byte [rax + 0x15c], 2
je 0x14003c91e
mov ecx, dword [rdi + 0x48e0]
xor ecx, 1
jmp 0x14003c920
xor ecx, ecx
cmp ecx, dword [rdi + 0x48e0]
je 0x14003c953
cmp ecx, 1
jne 0x14003c937
mov dword [rax + 0x3a4], 0
call fcn.14003a120
mov rax, qword [0x140115848]
mov word [rax + 0x48e5], 1
mov byte [rax + 0x48e7], 1
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret