Function at 0x14004a070
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rsi, qword [0x1401420d8]
xor r9d, r9d
mov qword [rsp + 0x60], r13
mov rdi, rsi
mov qword [rsp + 0x58], r14
vmovaps xmmword [rsp + 0x40], xmm6
mov eax, dword [rsi + 0x4870]
sub eax, 1
mov qword [rsp + 0xa0], r9
vmovaps xmmword [rsp + 0x20], xmm8
mov byte [rsp + 0x90], r9b
js 0x14004a0ef
mov r8, qword [rsi + 0x4878]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rbp, qword [r8]
test rbp, rbp
je 0x14004a0e5
test dword [rbp + 0x14], 0x8000000
jne 0x14004a1b1
sub r8, 0x38
sub rdx, 1
jns 0x14004a0d0
mov rbp, r9
vxorps xmm8, xmm8, xmm8
cmp qword [rsi + 0x4a18], r9
je 0x14004a144
cmp qword [rsi + 0x4a10], r9
jne 0x14004a144
vcomiss xmm8, dword [rsi + 0x4a44]
vmovss xmm0, dword [rsi + 0x18]
vmovss xmm1, dword [0x14010e788]
vfnmadd213ss xmm1, xmm0, dword [rsi + 0x4a2c]
vmaxss xmm0, xmm1, xmm8
vmovss dword [rsi + 0x4a2c], xmm0
jb 0x14004a144
vcomiss xmm0, xmm8
ja 0x14004a144
mov qword [rsi + 0x4a18], r9
mov esi, 0xffffffff
lea rdx, [0x14010ca09]
mov ebx, esi
lea r9, [0x140106470]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x14004a172
cmp byte [rdx], r8b
jne 0x14004a172
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 0x14004a160
mov r13d, dword [rdi + 8]
not ebx
mov rsi, qword [0x1401420d8]
movzx eax, r13b
test r13b, 2
je 0x14004a1bd
test byte [rdi + 0xc], 1
je 0x14004a1bd
mov r14b, 1
jmp 0x14004a1c4
mov qword [rsi + 0x4a10], r9
jmp 0x14004a0f2
xor r14b, r14b
movzx r13d, al
and r13b, 1
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x50], r15
test rbp, rbp
jne 0x14004a201
mov ecx, dword [rdi + 0x4a08]
test ecx, ecx
je 0x14004a201
mov r8d, 0x1001
mov edx, ebx
call fcn.140044650
mov rsi, qword [0x1401420d8]
test al, al
je 0x14004a201
mov r15b, 1
jmp 0x14004a209
xor r15b, r15b
test rbp, rbp
jne 0x14004a230
mov ecx, dword [rdi + 0x4a0c]
test ecx, ecx
je 0x14004a230
mov r8d, 0x1001
mov edx, ebx
call fcn.140044650
mov rsi, qword [0x1401420d8]
test al, al
je 0x14004a230
mov r12b, 1
jmp 0x14004a238
xor r12b, r12b
test rbp, rbp
jne 0x14004a25f
test r14b, r14b
je 0x14004a25f
cmp qword [rdi + 0x4a10], 0
jne 0x14004a25f
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140042730
test al, al
je 0x14004a25f
mov r11b, 1
jmp 0x14004a267
xor r11b, r11b
test rbp, rbp
jne 0x14004a280
cmp qword [rdi + 0x4a10], 0
jne 0x14004a280
test r15b, r15b
jne 0x14004a27b
test r12b, r12b
je 0x14004a280
mov r10b, 1
jmp 0x14004a283
xor r10b, r10b
test r11b, r11b
jne 0x14004a291
test r10b, r10b
je 0x14004a3f6
mov rax, qword [rdi + 0x48a8]
test rax, rax
jne 0x14004a300
mov r8d, dword [rdi + 0x3e78]
sub r8d, 1
js 0x14004a2f5
movsxd r9, dword [rsi + 0x3e78]
movsxd rcx, r8d
cmp rcx, r9
jge 0x14004a2f5
cmp rcx, 0xffffffff80000001
je 0x14004a2f5
mov rax, qword [rsi + 0x3e80]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0xb7], 0
je 0x14004a2ec
cmp rdx, qword [rdx + 0x380]
jne 0x14004a2ec
test dword [rdx + 0x14], 0x80000
je 0x14004a3ea
dec r8d
sub rcx, 1
jns 0x14004a2b4
xor eax, eax
test rax, rax
je 0x14004a3f6
mov rax, qword [rax + 0x380]
xor ebp, ebp
mov qword [rdi + 0x4a18], rax
mov qword [rdi + 0x4a10], rax
movzx eax, r10b
xor eax, 1
mov qword [rdi + 0x4a28], rbp
mov qword [rdi + 0x4a3c], rbp
mov qword [rdi + 0x4a34], rbp
mov byte [rdi + 0x4a30], r11b
lea eax, [rax*2 + 2]
mov dword [rdi + 0x48dc], eax
test r15b, r15b
jne 0x14004a355
test r12b, r12b
je 0x14004a3f8
mov eax, dword [rdi + 0x4a0c]
or eax, dword [rdi + 0x4a08]
bt eax, 0xc
jae 0x14004a37a
mov dword [rsi + 0x45d4], ebx
mov dword [rsi + 0x45d0], ebx
mov word [rsi + 0x45d8], bp
bt eax, 0xd
jae 0x14004a393
mov dword [rsi + 0x45e0], ebx
mov dword [rsi + 0x45dc], ebx
mov word [rsi + 0x45e4], bp
bt eax, 0xe
jae 0x14004a3ac
mov dword [rsi + 0x45ec], ebx
mov dword [rsi + 0x45e8], ebx
mov word [rsi + 0x45f0], bp
bt eax, 0xf
jae 0x14004a3c5
mov dword [rsi + 0x45f8], ebx
mov dword [rsi + 0x45f4], ebx
mov word [rsi + 0x45fc], bp
bt eax, 0xb
jae 0x14004a3f8
cmp byte [rsi + 0x79], bpl
mov eax, 0x45d0
mov ecx, 0x45f4
cmovne eax, ecx
mov dword [rax + rsi + 4], ebx
mov dword [rax + rsi], ebx
mov word [rax + rsi + 8], bp
jmp 0x14004a3f8
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
jmp 0x14004a2f7
xor ebp, ebp
cmp qword [rdi + 0x4a10], 0
vmovss xmm0, dword [rdi + 0x18]
vaddss xmm1, xmm0, dword [rdi + 0x4a28]
vmovss xmm6, dword [0x14010e67c]
vmovss dword [rdi + 0x4a28], xmm1
vmovaps xmmword [rsp + 0x30], xmm7
je 0x14004a5b2
cmp dword [rdi + 0x48dc], 4
jne 0x14004a4f8
vsubss xmm0, xmm1, dword [0x14010e614]
vmulss xmm1, xmm0, dword [0x14010e7a8]
vcomiss xmm1, xmm8
jae 0x14004a454
vmovaps xmm2, xmm8
jmp 0x14004a458
vminss xmm2, xmm1, xmm6
vmovss xmm0, dword [rdi + 0x4a2c]
vmaxss xmm7, xmm0, xmm2
xor edx, edx
mov ecx, 0x274
mov r8d, 1
vmovss dword [rdi + 0x4a2c], xmm7
call fcn.140042730
xor edx, edx
movzx ebx, al
mov ecx, 0x273
mov r8d, 1
call fcn.140042730
movzx ecx, al
sub ecx, ebx
je 0x14004a4ad
call fcn.140049f10
mov dword [rdi + 0x4a2c], 0x3f800000
vmovaps xmm7, xmm6
cmp byte [rsi + 0x34dc], 0
je 0x14004a4bf
cmp byte [rsi + 0x447c], 0
je 0x14004a4f8
vcomiss xmm7, xmm6
setb al
and byte [rdi + 0x4a30], al
je 0x14004a4e2
cmp qword [rdi + 0x48a8], 0
je 0x14004a4f1
mov byte [rsp + 0x90], 1
jmp 0x14004a4f1
mov rax, qword [rdi + 0x4a10]
mov qword [rsp + 0xa0], rax
mov qword [rdi + 0x4a10], rbp
cmp qword [rdi + 0x4a10], 0
je 0x14004a5b2
cmp dword [rdi + 0x48dc], 2
jne 0x14004a5b2
mov eax, dword [rdi + 0x4a08]
mov ecx, 0xf800
vmovss xmm0, dword [rdi + 0x4a28]
vsubss xmm1, xmm0, dword [0x14010e614]
vmulss xmm2, xmm1, dword [0x14010e7a8]
test eax, eax
mov edx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4a0c]
test eax, eax
cmovne edx, eax
and edx, ecx
mov ecx, edx
and ecx, 0xf800
vcomiss xmm2, xmm8
jae 0x14004a563
vmovaps xmm1, xmm8
jmp 0x14004a567
vminss xmm1, xmm2, xmm6
vmovss xmm0, dword [rdi + 0x4a2c]
vmaxss xmm1, xmm0, xmm1
vmovss dword [rdi + 0x4a2c], xmm1
test r15b, r15b
jne 0x14004a59f
test r12b, r12b
jne 0x14004a59f
mov eax, dword [rdi + 0xe28]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x14004a5b2
mov r14, qword [rdi + 0x4a10]
jmp 0x14004a5ba
movzx ecx, r15b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140049f10
mov r14, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x50]
test r13b, r13b
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0xa8]
je 0x14004a5f8
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140042730
test al, al
je 0x14004a5f8
mov byte [rdi + 0x4a30], 1
mov dword [rdi + 0x48dc], 2
cmp byte [rdi + 0x4a30], 0
je 0x14004a718
cmp dword [rdi + 0x48dc], 2
jne 0x14004a718
cmp dword [rdi + 0x37c0], 0
jg 0x14004a63f
cmp byte [rdi + 0xe24], 0
jne 0x14004a63f
cmp byte [rdi + 0xe25], 0
jne 0x14004a63f
cmp byte [rdi + 0xe27], 0
jne 0x14004a63f
cmp dword [rsi + 0x45e8], 0xffffffff
je 0x14004a646
mov byte [rdi + 0x4a30], 0
vcomiss xmm8, dword [rsi + 0x36d4]
ja 0x14004a6ff
cmp byte [rsi + 0x36cc], 0
jne 0x14004a708
cmp byte [rsi + 0x45f0], 0
jne 0x14004a6ff
cmp byte [rdi + 0x4a30], 0
je 0x14004a6ff
cmp dword [rdi + 0x3f28], 0
je 0x14004a68d
cmp byte [rdi + 0x3f35], 0
je 0x14004a6ff
lea rax, [rdi + 0x36f0]
test rax, rax
jne 0x14004a6a0
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vmovss xmm1, dword [0x14010e8a4]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x14004a6c1
vcomiss xmm2, xmm1
jb 0x14004a6c1
mov cl, 1
jmp 0x14004a6c3
xor cl, cl
lea rax, [rdi + 0xe08]
test rax, rax
jne 0x14004a6d6
lea rax, [rsi + 0xe08]
vmovss xmm0, dword [rax]
vcomiss xmm0, xmm1
vmovss xmm2, dword [rax + 4]
jb 0x14004a6ef
vcomiss xmm2, xmm1
jb 0x14004a6ef
mov al, 1
jmp 0x14004a6f1
xor al, al
cmp al, cl
jne 0x14004a6ff
mov byte [rsp + 0x90], 1
jmp 0x14004a711
cmp byte [rsi + 0x36cc], 0
je 0x14004a711
cmp byte [rsi + 0x45f0], 0
je 0x14004a718
mov byte [rdi + 0x4a30], 0
mov rax, qword [rdi + 0x4a10]
test rax, rax
je 0x14004a880
test byte [rax + 0x14], 4
jne 0x14004a880
mov eax, dword [rdi + 0x48dc]
cmp eax, 2
jne 0x14004a76c
cmp byte [rdi + 0xe25], 0
jne 0x14004a880
vmovss xmm0, dword [rsi + 0x2e78]
vmovss xmm1, dword [rsi + 0x2e58]
vsubss xmm4, xmm0, dword [rsi + 0x2e68]
vsubss xmm5, xmm1, dword [rsi + 0x2e48]
jmp 0x14004a79b
vmovaps xmm4, xmm8
vmovaps xmm5, xmm8
cmp eax, 4
jne 0x14004a79b
vmovss xmm0, dword [rsi + 0x35f8]
vmovss xmm1, dword [rsi + 0x35d8]
vsubss xmm4, xmm0, dword [rsi + 0x35e8]
vsubss xmm5, xmm1, dword [rsi + 0x35c8]
vucomiss xmm5, xmm8
jne 0x14004a7ad
vucomiss xmm4, xmm8
je 0x14004a880
vmovss xmm0, dword [rdi + 0x74]
vminss xmm1, xmm0, dword [rdi + 0x70]
vmulss xmm2, xmm1, dword [rdi + 0x18]
vmulss xmm3, xmm2, dword [0x14010e81c]
vmovaps xmm1, xmm5
vfmadd213ss xmm1, xmm3, dword [rdi + 0x4a34]
vcvttss2si eax, xmm1
vmovaps xmm0, xmm4
vfmadd213ss xmm0, xmm3, dword [rdi + 0x4a38]
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vucomiss xmm7, xmm8
vcvttss2si eax, xmm0
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
vmovss dword [rdi + 0x4a34], xmm1
vmovss dword [rdi + 0x4a38], xmm0
mov byte [rdi + 0x48e7], 1
jne 0x14004a81b
vucomiss xmm6, xmm8
je 0x14004a880
mov rax, qword [rdi + 0x4a10]
lea rdx, [rsp + 0x98]
mov r8d, 1
mov rcx, qword [rax + 0x380]
vaddss xmm0, xmm7, dword [rcx + 0x20]
vaddss xmm1, xmm6, dword [rcx + 0x24]
vmovss dword [rsp + 0x98], xmm0
vmovss dword [rsp + 0x9c], xmm1
call fcn.140041b80
vmovss xmm0, dword [rdi + 0x4a34]
vmovss xmm2, dword [rdi + 0x4a38]
vsubss xmm1, xmm0, xmm7
vsubss xmm0, xmm2, xmm6
vmovss dword [rdi + 0x4a38], xmm0
vmovss dword [rdi + 0x4a34], xmm1
vmovaps xmm8, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
vmovaps xmm6, xmmword [rsp + 0x40]
test r14, r14
je 0x14004a9fe
mov rax, qword [rdi + 0x48a8]
test rax, rax
je 0x14004a8b4
cmp r14, qword [rax + 0x380]
je 0x14004a9f7
xor edx, edx
xor ecx, ecx
call fcn.140038c60
mov rbp, qword [0x1401420d8]
mov word [rbp + 0x48e5], 1
mov byte [rbp + 0x48e7], 1
mov rbx, qword [r14 + 0x3a0]
test rbx, rbx
je 0x14004a8e9
cmp byte [rbx + 0xb7], 0
jne 0x14004a8ec
mov rbx, r14
mov r9d, dword [rbp + 0x4870]
test r9d, r9d
je 0x14004a9c6
xor esi, esi
test rbx, rbx
je 0x14004a991
test r9d, r9d
jle 0x14004a991
mov r10, qword [rbp + 0x4878]
xor r11d, r11d
add r10, 8
mov ecx, r9d
mov rax, qword [r10]
test rax, rax
je 0x14004a97f
test dword [rax + 0x14], 0x1000000
jne 0x14004a97f
mov r8d, esi
cmp esi, ecx
jge 0x14004a991
mov rdx, qword [rbp + 0x4878]
add rdx, 8
add rdx, r11
mov rcx, qword [rdx]
test rcx, rcx
je 0x14004a971
mov rax, rbx
cmp qword [rbx + 0x380], rcx
je 0x14004a97f
nop dword [rax + rax]
cmp rax, rcx
je 0x14004a97f
mov rax, qword [rax + 0x378]
test rax, rax
jne 0x14004a960
inc r8d
add rdx, 0x38
cmp r8d, r9d
jl 0x14004a947
jmp 0x14004a991
inc esi
add r11, 0x38
add r10, 0x38
mov ecx, r9d
cmp esi, r9d
jl 0x14004a921
cmp esi, r9d
jge 0x14004a9c6
test byte [rbp + 0x5c94], 4
je 0x14004a9bd
test rbx, rbx
je 0x14004a9aa
mov rdx, qword [rbx + 8]
jmp 0x14004a9b1
lea rdx, str._NULL_
lea rcx, str._popup__ClosePopupsOverWindow___s___n
call fcn.14004c6c0
xor edx, edx
mov ecx, esi
call fcn.140045dd0
mov rcx, rbx
call fcn.140041560
cmp dword [rbx + 0x3a8], 0
jne 0x14004a9e1
xor edx, edx
mov rcx, rbx
call fcn.140047ad0
xor ebp, ebp
cmp word [rbx + 0x162], 2
jne 0x14004a9f7
mov dword [rdi + 0x48e0], 1
mov qword [rdi + 0x4a10], rbp
cmp byte [rsp + 0x90], 0
mov r14, qword [rsp + 0x58]
je 0x14004aacf
cmp qword [rdi + 0x48a8], 0
je 0x14004aacf
xor edx, edx
xor ecx, ecx
call fcn.140038c60
mov rbx, qword [rdi + 0x48a8]
lea rcx, [rbx + 0x370]
cmp qword [rcx], 0
je 0x14004aa68
nop dword [rax]
test byte [rbx + 0x160], 2
jne 0x14004aa68
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14004aa68
mov rbx, qword [rcx]
lea rcx, [rbx + 0x370]
cmp qword [rcx], 0
jne 0x14004aa40
mov rsi, qword [rdi + 0x48a8]
cmp rbx, rsi
je 0x14004aa83
mov rcx, rbx
call fcn.140041560
mov qword [rbx + 0x3a0], rsi
mov rax, qword [rdi + 0x48a8]
test byte [rax + 0x160], 2
je 0x14004aa9e
mov ecx, dword [rdi + 0x48e0]
xor ecx, 1
jmp 0x14004aaa0
mov ecx, ebp
cmp ecx, dword [rdi + 0x48e0]
je 0x14004aacf
cmp ecx, 1
jne 0x14004aab3
mov dword [rax + 0x3ac], ebp
call fcn.1400479e0
mov rax, qword [0x1401420d8]
mov word [rax + 0x48e5], 1
mov byte [rax + 0x48e7], 1
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret