Function at 0x140058fb0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rsi, qword [0x1401c25b8]
xor eax, eax
mov qword [rsp + 0xb8], rax
mov rdi, rsi
mov byte [rsp + 0xa8], al
mov qword [rsp + 0x78], rbp
mov eax, dword [rsi + 0x48a0]
sub eax, 1
vmovaps xmmword [rsp + 0x40], xmm6
vmovaps xmmword [rsp + 0x20], xmm10
js 0x140059026
movsxd rdx, eax
mov rax, qword [rsi + 0x48a8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rbp, qword [r8]
test rbp, rbp
je 0x14005901c
test dword [rbp + 0x14], 0x8000000
jne 0x1400590eb
sub r8, 0x38
sub rdx, 1
jns 0x140059007
xor ebp, ebp
cmp qword [rsi + 0x4a68], 0
vxorps xmm10, xmm10, xmm10
je 0x140059080
cmp qword [rsi + 0x4a60], 0
jne 0x140059080
vcomiss xmm10, dword [rsi + 0x4a94]
vmovss xmm0, dword [rsi + 0x18]
vmovss xmm1, dword [0x14013bf9c]
vfnmadd213ss xmm1, xmm0, dword [rsi + 0x4a7c]
vmaxss xmm0, xmm1, xmm10
vmovss dword [rsi + 0x4a7c], xmm0
jb 0x140059080
vcomiss xmm0, xmm10
ja 0x140059080
mov qword [rsi + 0x4a68], 0
mov esi, 0xffffffff
lea rdx, [0x140139ed9]
mov ebx, esi
lea r9, [0x140131e90]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x1400590aa
cmp byte [rdx], r8b
jne 0x1400590aa
cmp byte [rdx + 1], r8b
cmove ebx, esi
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 0x140059098
mov ecx, dword [rdi + 8]
not ebx
mov rsi, qword [0x1401c25b8]
movzx eax, cl
mov qword [rsp + 0x70], r12
test cl, 2
je 0x1400590fb
test byte [rdi + 0xc], 1
je 0x1400590fb
mov r12b, 1
jmp 0x140059101
mov qword [rsi + 0x4a60], 0
jmp 0x140059028
xor r12b, r12b
movzx ecx, al
and cl, 1
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
mov dword [rsp + 0xb0], ecx
test rbp, rbp
jne 0x140059141
mov ecx, dword [rdi + 0x4a58]
test ecx, ecx
je 0x140059141
mov r8d, 0x1001
mov edx, ebx
call fcn.140052f20
mov rsi, qword [0x1401c25b8]
test al, al
je 0x140059141
mov r14b, 1
jmp 0x140059149
xor r14b, r14b
test rbp, rbp
jne 0x140059170
mov ecx, dword [rdi + 0x4a5c]
test ecx, ecx
je 0x140059170
mov r8d, 0x1001
mov edx, ebx
call fcn.140052f20
mov rsi, qword [0x1401c25b8]
test al, al
je 0x140059170
mov r15b, 1
jmp 0x140059178
xor r15b, r15b
test rbp, rbp
jne 0x14005919f
test r12b, r12b
je 0x14005919f
cmp qword [rdi + 0x4a60], 0
jne 0x14005919f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140051000
test al, al
je 0x14005919f
mov r8b, 1
jmp 0x1400591a7
xor r8b, r8b
test rbp, rbp
jne 0x1400591c0
cmp qword [rdi + 0x4a60], 0
jne 0x1400591c0
test r14b, r14b
jne 0x1400591bb
test r15b, r15b
je 0x1400591c0
mov r12b, 1
jmp 0x1400591c3
xor r12b, r12b
test r8b, r8b
jne 0x1400591d1
test r12b, r12b
je 0x140059357
mov rax, qword [rdi + 0x48d8]
mov qword [rsp + 0x68], r13
test rax, rax
jne 0x14005925a
mov r9d, dword [rdi + 0x3ea8]
sub r9d, 1
js 0x140059352
movsxd r13, dword [rsi + 0x3ea8]
movsxd rdx, r9d
nop dword [rax]
cmp rdx, r13
jge 0x140059352
cmp rdx, 0xffffffff80000001
je 0x140059352
mov rax, qword [rsi + 0x3eb0]
mov rcx, qword [rax + rdx*8]
cmp byte [rcx + 0xb7], 0
je 0x14005923c
cmp rcx, qword [rcx + 0x378]
jne 0x14005923c
test dword [rcx + 0x14], 0x80000
je 0x14005924a
dec r9d
sub rdx, 1
jns 0x140059200
jmp 0x140059352
movsxd rcx, r9d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140059352
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a68], rax
mov qword [rdi + 0x4a60], rax
movzx eax, r12b
xor eax, 1
mov qword [rdi + 0x4a78], 0
add eax, 2
mov qword [rdi + 0x4a8c], 0
mov qword [rdi + 0x4a84], 0
mov byte [rdi + 0x4a80], r8b
mov dword [rdi + 0x490c], eax
test r14b, r14b
jne 0x1400592b5
test r15b, r15b
je 0x140059352
mov eax, dword [rdi + 0x4a5c]
or eax, dword [rdi + 0x4a58]
bt eax, 0xc
jae 0x1400592dc
mov dword [rsi + 0x4604], ebx
mov dword [rsi + 0x4600], ebx
mov word [rsi + 0x4608], 0
bt eax, 0xd
jae 0x1400592f7
mov dword [rsi + 0x4610], ebx
mov dword [rsi + 0x460c], ebx
mov word [rsi + 0x4614], 0
bt eax, 0xe
jae 0x140059312
mov dword [rsi + 0x461c], ebx
mov dword [rsi + 0x4618], ebx
mov word [rsi + 0x4620], 0
bt eax, 0xf
jae 0x14005932d
mov dword [rsi + 0x4628], ebx
mov dword [rsi + 0x4624], ebx
mov word [rsi + 0x462c], 0
bt eax, 0xb
jae 0x140059352
cmp byte [rsi + 0x79], 0
mov eax, 0x4600
mov ecx, 0x4624
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], 0
mov r13, qword [rsp + 0x68]
cmp qword [rdi + 0x4a60], 0
mov ebp, 1
vmovss xmm0, dword [rdi + 0x18]
vaddss xmm1, xmm0, dword [rdi + 0x4a78]
vmovss xmm6, dword [0x14013be78]
vmovaps xmmword [rsp + 0x30], xmm7
mov r12, qword [rsp + 0x70]
vmovss dword [rdi + 0x4a78], xmm1
je 0x140059525
cmp dword [rdi + 0x490c], 3
jne 0x14005946c
vsubss xmm0, xmm1, dword [0x14013bdf0]
vmulss xmm1, xmm0, dword [0x14013bfbc]
vcomiss xmm1, xmm10
jae 0x1400593bd
vmovaps xmm2, xmm10
jmp 0x1400593c1
vminss xmm2, xmm1, xmm6
vmovss xmm0, dword [rdi + 0x4a7c]
vmaxss xmm7, xmm0, xmm2
mov r8d, ebp
xor edx, edx
mov ecx, 0x273
vmovss dword [rdi + 0x4a7c], xmm7
call fcn.140051000
mov r8d, ebp
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.140051000
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x140059414
mov ecx, eax
call fcn.140058e60
mov dword [rdi + 0x4a7c], 0x3f800000
vmovaps xmm7, xmm6
mov edx, 0x26b
mov rcx, rsi
call fcn.140050860
cmp byte [rax], 0
je 0x14005942f
cmp byte [rsi + 0x44ac], 0
je 0x14005946c
vcomiss xmm7, xmm6
setb al
and byte [rdi + 0x4a80], al
je 0x140059452
cmp qword [rdi + 0x48d8], 0
je 0x140059461
mov byte [rsp + 0xa8], bpl
jmp 0x140059461
mov rax, qword [rdi + 0x4a60]
mov qword [rsp + 0xb8], rax
mov qword [rdi + 0x4a60], 0
cmp qword [rdi + 0x4a60], 0
je 0x140059525
cmp dword [rdi + 0x490c], 2
jne 0x140059525
mov eax, dword [rdi + 0x4a58]
mov ecx, 0xf800
vmovss xmm0, dword [rdi + 0x4a78]
vsubss xmm1, xmm0, dword [0x14013bdf0]
vmulss xmm2, xmm1, dword [0x14013bfbc]
test eax, eax
mov edx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4a5c]
test eax, eax
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
vcomiss xmm2, xmm10
jae 0x1400594d7
vmovaps xmm1, xmm10
jmp 0x1400594db
vminss xmm1, xmm2, xmm6
vmovss xmm0, dword [rdi + 0x4a7c]
vmaxss xmm1, xmm0, xmm1
vmovss dword [rdi + 0x4a7c], xmm1
test r14b, r14b
jne 0x140059513
test r15b, r15b
jne 0x140059513
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x140059525
mov rbx, qword [rdi + 0x4a60]
jmp 0x14005952d
movzx ecx, r14b
xor ecx, ebp
lea ecx, [rcx*2 - 1]
call fcn.140058e60
mov rbx, qword [rsp + 0xb8]
cmp byte [rsp + 0xb0], 0
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
je 0x140059568
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140051000
test al, al
je 0x140059568
mov byte [rdi + 0x4a80], bpl
mov dword [rdi + 0x490c], 2
cmp byte [rdi + 0x4a80], 0
je 0x1400596a3
cmp dword [rdi + 0x490c], 2
jne 0x1400596a3
cmp dword [rdi + 0x37c0], 0
jg 0x1400595af
cmp byte [rdi + 0xe24], 0
jne 0x1400595af
cmp byte [rdi + 0xe25], 0
jne 0x1400595af
cmp byte [rdi + 0xe27], 0
jne 0x1400595af
cmp dword [rsi + 0x4618], 0xffffffff
je 0x1400595b6
mov byte [rdi + 0x4a80], 0
mov edx, 0x4000
mov rcx, rsi
call fcn.140050860
vcomiss xmm10, dword [rax + 8]
ja 0x140059681
cmp byte [rax], 0
jne 0x140059681
cmp byte [rsi + 0x4620], 0
jne 0x140059681
cmp byte [rdi + 0x4a80], 0
je 0x140059681
cmp dword [rdi + 0x3f58], 0
je 0x140059603
cmp byte [rdi + 0x3f65], 0
je 0x140059681
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x140059616
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x14013c0ec]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x140059639
vcomiss xmm2, xmm1
jb 0x140059639
movzx ecx, bpl
jmp 0x14005963b
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x14005964e
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x140059669
vcomiss xmm2, xmm1
jb 0x140059669
movzx eax, bpl
jmp 0x14005966b
xor al, al
mov edx, dword [rsp + 0xa8]
cmp al, cl
movzx edx, dl
cmove edx, ebp
mov dword [rsp + 0xa8], edx
mov edx, 0x4000
mov rcx, rsi
call fcn.140050860
cmp byte [rax], 0
je 0x14005969c
cmp byte [rsi + 0x4620], 0
je 0x1400596a3
mov byte [rdi + 0x4a80], 0
mov rax, qword [rdi + 0x4a60]
test rax, rax
je 0x140059844
test byte [rax + 0x14], 4
jne 0x140059844
mov eax, dword [rdi + 0x490c]
cmp eax, 2
jne 0x140059709
cmp byte [rdi + 0xe25], 0
jne 0x140059844
mov edx, 0x203
mov rcx, rsi
call fcn.140050860
mov edx, 0x201
mov rcx, rsi
mov r10, rax
call fcn.140050860
mov edx, 0x202
mov rcx, rsi
mov r9, rax
call fcn.140050860
mov edx, 0x204
jmp 0x140059744
cmp eax, 3
jne 0x140059844
mov edx, 0x27b
mov rcx, rsi
call fcn.140050860
mov edx, 0x279
mov rcx, rsi
mov r10, rax
call fcn.140050860
mov edx, 0x27a
mov rcx, rsi
mov r9, rax
call fcn.140050860
mov edx, 0x27c
vmovss xmm0, dword [rax + 0xc]
vsubss xmm6, xmm0, dword [r9 + 0xc]
mov rcx, rsi
call fcn.140050860
vucomiss xmm6, xmm10
vmovss xmm0, dword [rax + 0xc]
vsubss xmm4, xmm0, dword [r10 + 0xc]
jne 0x140059774
vucomiss xmm4, xmm10
je 0x140059844
vmovss xmm0, dword [rdi + 0x74]
vminss xmm1, xmm0, dword [rdi + 0x70]
vmulss xmm2, xmm1, dword [rdi + 0x18]
vmulss xmm3, xmm2, dword [0x14013c050]
vmovaps xmm1, xmm6
vfmadd213ss xmm1, xmm3, dword [rdi + 0x4a84]
vcvttss2si eax, xmm1
vmovaps xmm0, xmm4
vfmadd213ss xmm0, xmm3, dword [rdi + 0x4a88]
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vucomiss xmm7, xmm10
vcvttss2si eax, xmm0
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
vmovss dword [rdi + 0x4a84], xmm1
vmovss dword [rdi + 0x4a88], xmm0
mov byte [rdi + 0x4917], bpl
jne 0x1400597e2
vucomiss xmm6, xmm10
je 0x140059844
mov rax, qword [rdi + 0x4a60]
lea rdx, [rsp + 0xa0]
mov r8d, ebp
mov rcx, qword [rax + 0x378]
vaddss xmm0, xmm7, dword [rcx + 0x20]
vaddss xmm1, xmm6, dword [rcx + 0x24]
vmovss dword [rsp + 0xa0], xmm0
vmovss dword [rsp + 0xa4], xmm1
call fcn.140050370
vmovss xmm0, dword [rdi + 0x4a84]
vmovss xmm2, dword [rdi + 0x4a88]
vsubss xmm1, xmm0, xmm7
vsubss xmm0, xmm2, xmm6
vmovss dword [rdi + 0x4a88], xmm0
vmovss dword [rdi + 0x4a84], xmm1
vmovaps xmm10, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
test rbx, rbx
je 0x1400598d7
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140059870
cmp rbx, qword [rax + 0x378]
je 0x1400598cc
xor edx, edx
xor ecx, ecx
call fcn.1400472d0
mov rax, qword [0x1401c25b8]
xor edx, edx
mov rcx, rbx
mov word [rax + 0x4915], bp
mov byte [rax + 0x4917], bpl
call fcn.1400546b0
mov edx, ebp
mov rcx, rbx
call fcn.14004fc40
mov rbx, qword [rdi + 0x48d8]
cmp dword [rbx + 0x3a0], 0
jne 0x1400598bc
xor edx, edx
mov rcx, rbx
call fcn.140056530
cmp word [rbx + 0x15e], 2
jne 0x1400598cc
mov dword [rdi + 0x4910], ebp
mov qword [rdi + 0x4a60], 0
cmp byte [rsp + 0xa8], 0
mov rbp, qword [rsp + 0x78]
je 0x1400599aa
cmp qword [rdi + 0x48d8], 0
je 0x1400599aa
xor edx, edx
xor ecx, ecx
call fcn.1400472d0
mov rbx, qword [rdi + 0x48d8]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x14005993d
test byte [rbx + 0x15c], 2
jne 0x14005993d
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14005993d
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x140059915
mov rsi, qword [rdi + 0x48d8]
cmp rbx, rsi
je 0x14005995a
xor edx, edx
mov rcx, rbx
call fcn.14004fc40
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48d8]
test byte [rax + 0x15c], 2
je 0x140059975
mov ecx, dword [rdi + 0x4910]
xor ecx, 1
jmp 0x140059977
xor ecx, ecx
cmp ecx, dword [rdi + 0x4910]
je 0x1400599aa
cmp ecx, 1
jne 0x14005998e
mov dword [rax + 0x3a4], 0
call fcn.140056400
mov rax, qword [0x1401c25b8]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret