Function at 0x140041dd0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rdi, qword [0x140315230]
xor r9d, r9d
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x58], r12
movaps xmmword [rsp + 0x20], xmm7
mov eax, dword [rdi + 0x48c0]
sub eax, 1
mov qword [rsp + 0x88], r9
mov byte [rsp + 0x80], r9b
js 0x140041e43
mov r8, qword [rdi + 0x48c8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rsi, qword [r8]
test rsi, rsi
je 0x140041e39
test dword [rsi + 0x14], 0x8000000
jne 0x140041f07
sub r8, 0x38
sub rdx, 1
jns 0x140041e24
mov rsi, r9
xorps xmm7, xmm7
cmp qword [rdi + 0x4af0], r9
je 0x140041e95
cmp qword [rdi + 0x4ae8], r9
jne 0x140041e95
comiss xmm7, dword [rdi + 0x4b1c]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4b04]
mulss xmm0, dword [0x1402d89c4]
subss xmm1, xmm0
maxss xmm1, xmm7
movss dword [rdi + 0x4b04], xmm1
jb 0x140041e95
comiss xmm7, xmm1
jb 0x140041e95
mov qword [rdi + 0x4af0], r9
mov ebp, 0xffffffff
lea rdx, [0x1400e5d19]
mov ebx, ebp
lea r9, [0x1400e6210]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x140041ec2
cmp byte [rdx], r8b
jne 0x140041ec2
cmp byte [rdx + 1], r8b
cmove ebx, ebp
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 0x140041eb0
mov r12d, dword [rdi + 8]
not ebx
mov rbp, qword [rsp + 0x88]
movzx eax, r12b
mov qword [rsp + 0x48], r14
test r12b, 2
je 0x140041f13
test byte [rdi + 0xc], 1
je 0x140041f13
mov r14b, 1
jmp 0x140041f1a
mov qword [rdi + 0x4ae8], r9
jmp 0x140041e46
xor r14b, r14b
movzx r12d, al
and r12b, 1
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x40], r15
test rsi, rsi
jne 0x140041f47
mov ecx, dword [rdi + 0x4ae0]
test ecx, ecx
je 0x140041f47
mov edx, ebx
call fcn.14003c9e0
test al, al
je 0x140041f47
mov r15b, 1
jmp 0x140041f4f
xor r15b, r15b
test rsi, rsi
jne 0x140041f69
mov ecx, dword [rdi + 0x4ae4]
test ecx, ecx
je 0x140041f69
mov edx, ebx
call fcn.14003c9e0
test al, al
je 0x140041f69
mov r13b, 1
jmp 0x140041f71
xor r13b, r13b
test rsi, rsi
jne 0x140041f97
test r14b, r14b
je 0x140041f97
cmp qword [rdi + 0x4ae8], rbp
jne 0x140041f97
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.14003ab20
test al, al
je 0x140041f97
mov r11b, 1
jmp 0x140041f9f
xor r11b, r11b
test rsi, rsi
jne 0x140041fb7
cmp qword [rdi + 0x4ae8], rbp
jne 0x140041fb7
test r15b, r15b
jne 0x140041fb2
test r13b, r13b
je 0x140041fb7
mov r10b, 1
jmp 0x140041fba
xor r10b, r10b
test r11b, r11b
jne 0x140041fc8
test r10b, r10b
je 0x140042125
mov rax, qword [rdi + 0x4908]
test rax, rax
jne 0x140042032
movsxd rcx, dword [rdi + 0x3eb8]
lea edx, [rcx - 1]
test edx, edx
js 0x140042027
movsxd rax, edx
mov r9, rcx
cmp rax, r9
jge 0x140042027
cmp rax, 0xffffffff80000001
je 0x140042027
mov r8, qword [rdi + 0x3ec0]
mov rcx, qword [r8 + rax*8]
cmp byte [rcx + 0xb7], bpl
je 0x14004201f
cmp rcx, qword [rcx + 0x380]
jne 0x14004201f
test dword [rcx + 0x14], 0x80000
je 0x140042119
dec edx
sub rax, 1
jns 0x140041fe8
xor eax, eax
test rax, rax
je 0x140042125
mov rax, qword [rax + 0x380]
xor r14d, r14d
mov qword [rdi + 0x4af0], rax
mov qword [rdi + 0x4ae8], rax
movzx eax, r10b
xor eax, 1
mov qword [rdi + 0x4b00], r14
add eax, 2
mov qword [rdi + 0x4b14], r14
mov qword [rdi + 0x4b0c], r14
mov byte [rdi + 0x4b08], r11b
mov dword [rdi + 0x4940], eax
test r15b, r15b
jne 0x140042084
test r13b, r13b
je 0x140042128
mov eax, dword [rdi + 0x4ae4]
or eax, dword [rdi + 0x4ae0]
bt eax, 0xc
jae 0x1400420a9
mov dword [rdi + 0x4614], ebx
mov dword [rdi + 0x4610], ebx
mov word [rdi + 0x4618], bp
bt eax, 0xd
jae 0x1400420c2
mov dword [rdi + 0x4620], ebx
mov dword [rdi + 0x461c], ebx
mov word [rdi + 0x4624], bp
bt eax, 0xe
jae 0x1400420db
mov dword [rdi + 0x462c], ebx
mov dword [rdi + 0x4628], ebx
mov word [rdi + 0x4630], bp
bt eax, 0xf
jae 0x1400420f4
mov dword [rdi + 0x4638], ebx
mov dword [rdi + 0x4634], ebx
mov word [rdi + 0x463c], bp
bt eax, 0xb
jae 0x140042128
cmp byte [rdi + 0x59], bpl
mov eax, 0x4610
mov ecx, 0x4634
cmovne eax, ecx
mov dword [rax + rdi + 4], ebx
mov dword [rax + rdi], ebx
mov word [rax + rdi + 8], bp
jmp 0x140042128
movsxd rax, edx
mov rax, qword [r8 + rax*8]
jmp 0x140042029
xor r14d, r14d
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4b00]
movss xmm5, dword [0x1402d8934]
movaps xmmword [rsp + 0x30], xmm6
movss dword [rdi + 0x4b00], xmm0
cmp qword [rdi + 0x4ae8], rbp
je 0x14004221a
cmp dword [rdi + 0x4940], 3
jne 0x14004221a
subss xmm0, dword [0x1402d88dc]
divss xmm0, dword [0x1402d88c4]
comiss xmm7, xmm0
jbe 0x14004217e
movaps xmm1, xmm7
jmp 0x140042185
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm6, dword [rdi + 0x4b04]
xor edx, edx
maxss xmm6, xmm1
mov ecx, 0x274
mov r8d, 1
movss dword [rdi + 0x4b04], xmm6
call fcn.14003ab20
xor edx, edx
movzx ebx, al
mov ecx, 0x273
mov r8d, 1
call fcn.14003ab20
movzx ecx, al
sub ecx, ebx
je 0x1400421d9
call fcn.140041c70
mov dword [rdi + 0x4b04], 0x3f800000
movaps xmm6, xmm5
cmp byte [rdi + 0x34d4], bpl
je 0x1400421eb
cmp byte [rdi + 0x44bc], bpl
je 0x14004221a
comiss xmm5, xmm6
seta al
and byte [rdi + 0x4b08], al
je 0x14004220c
cmp qword [rdi + 0x4908], rbp
je 0x140042213
mov byte [rsp + 0x80], 1
jmp 0x140042213
mov rbp, qword [rdi + 0x4ae8]
mov qword [rdi + 0x4ae8], r14
cmp qword [rdi + 0x4ae8], 0
je 0x1400422d0
cmp dword [rdi + 0x4940], 2
jne 0x1400422d0
mov eax, dword [rdi + 0x4ae0]
mov ecx, 0xf800
movss xmm0, dword [rdi + 0x4b00]
test eax, eax
subss xmm0, dword [0x1402d88dc]
cmovne ecx, eax
mov edx, 0xf800
mov eax, dword [rdi + 0x4ae4]
test eax, eax
cmovne edx, eax
divss xmm0, dword [0x1402d88c4]
and edx, ecx
mov ecx, edx
and ecx, 0xf800
comiss xmm7, xmm0
jbe 0x140042281
movaps xmm5, xmm7
jmp 0x140042285
minss xmm5, xmm0
movss xmm0, dword [rdi + 0x4b04]
maxss xmm0, xmm5
movss dword [rdi + 0x4b04], xmm0
test r15b, r15b
jne 0x1400422bd
test r13b, r13b
jne 0x1400422bd
mov eax, dword [rdi + 0xe20]
and eax, edx
and eax, 0xf800
cmp eax, ecx
je 0x1400422d0
mov rbp, qword [rdi + 0x4ae8]
jmp 0x1400422d0
movzx ecx, r15b
xor ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.140041c70
mov r15, qword [rsp + 0x40]
test r12b, r12b
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x50]
je 0x14004230b
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.14003ab20
test al, al
je 0x14004230b
mov byte [rdi + 0x4b08], 1
mov dword [rdi + 0x4940], 2
cmp byte [rdi + 0x4b08], 0
je 0x140042426
cmp dword [rdi + 0x4940], 2
jne 0x140042426
cmp dword [rdi + 0x37b8], 0
jg 0x140042352
cmp byte [rdi + 0xe1c], 0
jne 0x140042352
cmp byte [rdi + 0xe1d], 0
jne 0x140042352
cmp byte [rdi + 0xe1f], 0
jne 0x140042352
cmp dword [rdi + 0x4628], 0xffffffff
je 0x140042359
mov byte [rdi + 0x4b08], 0
comiss xmm7, dword [rdi + 0x36cc]
ja 0x14004240d
cmp byte [rdi + 0x36c4], 0
jne 0x140042416
cmp byte [rdi + 0x4630], 0
jne 0x14004240d
cmp byte [rdi + 0x4b08], 0
je 0x14004240d
cmp dword [rdi + 0x3f68], 0
je 0x14004239f
cmp byte [rdi + 0x3f75], 0
je 0x14004240d
lea rax, [rdi + 0x36e8]
test rax, rax
jne 0x1400423b2
lea rax, [rdi + 0xe00]
movss xmm0, dword [rax]
movss xmm1, dword [0x1402d8b58]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400423d1
comiss xmm2, xmm1
jb 0x1400423d1
mov cl, 1
jmp 0x1400423d3
xor cl, cl
lea rax, [rdi + 0xe00]
test rax, rax
jne 0x1400423e6
lea rax, [rdi + 0xe00]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400423fd
comiss xmm2, xmm1
jb 0x1400423fd
mov al, 1
jmp 0x1400423ff
xor al, al
cmp al, cl
jne 0x14004240d
mov byte [rsp + 0x80], 1
jmp 0x14004241f
cmp byte [rdi + 0x36c4], 0
je 0x14004241f
cmp byte [rdi + 0x4630], 0
je 0x140042426
mov byte [rdi + 0x4b08], 0
mov rax, qword [rdi + 0x4ae8]
test rax, rax
je 0x14004258c
test byte [rax + 0x14], 4
jne 0x14004258c
mov eax, dword [rdi + 0x4940]
movaps xmm2, xmm7
movaps xmm3, xmm7
cmp eax, 2
jne 0x14004247c
cmp byte [rdi + 0xe1d], 0
jne 0x1400424a1
movss xmm3, dword [rdi + 0x2e70]
movss xmm2, dword [rdi + 0x2e50]
subss xmm3, dword [rdi + 0x2e60]
subss xmm2, dword [rdi + 0x2e40]
jmp 0x1400424a1
cmp eax, 3
jne 0x1400424a1
movss xmm3, dword [rdi + 0x35f0]
movss xmm2, dword [rdi + 0x35d0]
subss xmm3, dword [rdi + 0x35e0]
subss xmm2, dword [rdi + 0x35c0]
ucomiss xmm2, xmm7
jp 0x1400424b3
jne 0x1400424b3
ucomiss xmm3, xmm7
jp 0x1400424b3
je 0x14004258c
movss xmm1, dword [rdi + 0x50]
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x18]
xorps xmm5, xmm5
minss xmm1, dword [rdi + 0x54]
mulss xmm0, dword [0x1402d8ae4]
mov byte [rdi + 0x4953], 1
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [rdi + 0x4b0c]
addss xmm3, dword [rdi + 0x4b10]
cvttss2si eax, xmm2
movss dword [rdi + 0x4b0c], xmm2
movss dword [rdi + 0x4b10], xmm3
cvtsi2ss xmm6, eax
cvttss2si eax, xmm3
ucomiss xmm6, xmm7
cvtsi2ss xmm5, eax
jp 0x140042521
jne 0x140042521
ucomiss xmm5, xmm7
jp 0x140042521
je 0x14004258c
mov rax, qword [rdi + 0x4ae8]
lea rdx, [rsp + 0x88]
movaps xmm0, xmm6
movaps xmm1, xmm5
mov r8d, 1
mov rcx, qword [rax + 0x380]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0x88], xmm0
movss dword [rsp + 0x8c], xmm1
call fcn.14003a2c0
movss xmm0, dword [rdi + 0x4b10]
movss xmm4, dword [rdi + 0x4b0c]
subss xmm0, xmm5
subss xmm4, xmm6
movss dword [rdi + 0x4b10], xmm0
movss dword [rdi + 0x4b0c], xmm4
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x30]
test rbp, rbp
je 0x1400426da
mov rax, qword [rdi + 0x4908]
test rax, rax
je 0x1400425b8
cmp rbp, qword [rax + 0x380]
je 0x1400426d3
xor edx, edx
xor ecx, ecx
call fcn.1400305f0
mov rsi, qword [0x140315230]
mov r9d, dword [rsi + 0x48c0]
mov word [rsi + 0x4951], 1
mov byte [rsi + 0x4953], 1
test r9d, r9d
je 0x140042698
mov ebx, r14d
jle 0x140042671
mov r10, qword [rsi + 0x48c8]
mov ecx, r9d
add r10, 8
mov r11, r14
mov rax, qword [r10]
test rax, rax
je 0x14004265f
test dword [rax + 0x14], 0x1000000
jne 0x14004265f
mov r8d, ebx
cmp ebx, ecx
jge 0x140042671
mov rdx, qword [rsi + 0x48c8]
add rdx, 8
add rdx, r11
mov rcx, qword [rdx]
test rcx, rcx
je 0x140042651
mov rax, rbp
cmp qword [rbp + 0x380], rcx
je 0x14004265f
nop dword [rax]
cmp rax, rcx
je 0x14004265f
mov rax, qword [rax + 0x378]
test rax, rax
jne 0x140042640
inc r8d
add rdx, 0x38
cmp r8d, r9d
jl 0x140042628
jmp 0x140042671
inc ebx
add r11, 0x38
add r10, 0x38
mov ecx, r9d
cmp ebx, r9d
jl 0x140042602
cmp ebx, r9d
jge 0x140042698
test byte [rsi + 0x5df4], 4
je 0x14004268f
mov rdx, qword [rbp + 8]
lea rcx, str._popup__ClosePopupsOverWindow___s___n
call fcn.140043e70
xor edx, edx
mov ecx, ebx
call fcn.14003dd50
mov edx, 1
mov rcx, rbp
call fcn.140039ae0
mov rbx, qword [rdi + 0x4908]
cmp dword [rbx + 0x3a8], 0
jne 0x1400426bf
xor edx, edx
mov rcx, rbx
call fcn.14003f470
cmp word [rbx + 0x15e], 2
jne 0x1400426d3
mov dword [rdi + 0x4944], 1
mov qword [rdi + 0x4ae8], r14
cmp byte [rsp + 0x80], 0
mov rbp, qword [rsp + 0x90]
je 0x1400427b3
cmp qword [rdi + 0x4908], 0
je 0x1400427b3
xor edx, edx
xor ecx, ecx
call fcn.1400305f0
mov rbx, qword [rdi + 0x4908]
lea rcx, [rbx + 0x370]
cmp qword [rcx], 0
je 0x140042748
nop dword [rax + rax]
test byte [rbx + 0x15c], 2
jne 0x140042748
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140042748
mov rbx, qword [rcx]
lea rcx, [rbx + 0x370]
cmp qword [rcx], 0
jne 0x140042720
mov rsi, qword [rdi + 0x4908]
cmp rbx, rsi
je 0x140042765
xor edx, edx
mov rcx, rbx
call fcn.140039ae0
mov qword [rbx + 0x3a0], rsi
mov rax, qword [rdi + 0x4908]
test byte [rax + 0x15c], 2
je 0x140042780
mov ecx, dword [rdi + 0x4944]
xor ecx, 1
jmp 0x140042783
mov ecx, r14d
cmp ecx, dword [rdi + 0x4944]
je 0x1400427b3
cmp ecx, 1
jne 0x140042797
mov dword [rax + 0x3ac], r14d
call fcn.14003f330
mov rax, qword [0x140315230]
mov word [rax + 0x4951], 1
mov byte [rax + 0x4953], 1
mov r14, qword [rsp + 0x48]
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret