Function at 0x521f8b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
cmp byte [edx + 0x24], 0
mov edi, edx
mov esi, ecx
jne 0x521fa7
lea edx, [edi + 8]
lea ecx, [esp + 4]
push 4
push str.Vec2C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fegui_0.22.0_srcgrid.rs
call fcn.00690910
add esp, 8
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x522314
lea ebx, [edi + 8]
lea ecx, [esp + 4]
mov edx, ebx
call fcn.0068dc50
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x52265b
cmp byte [edi + 0x24], 0
mov byte [esp + 3], 1
je 0x52234f
mov byte [edi + 0x24], 0
cmp dword [edi], 0
je 0x521fe9
mov eax, dword [edi + 4]
test eax, eax
je 0x52237e
dec eax
mov dword [edi + 4], eax
mov dword [esp + 0x4c], ebx
mov ebx, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x64], edi
mov word [esp + 0x30], 0x129
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea edx, [ebx + 8]
lea ecx, [esp + 4]
call fcn.0068dc50
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x5223a2
cmp dword [ebx + 0xc], 0
je 0x5223e4
mov eax, dword [ebx + 8]
test eax, eax
je 0x5223e4
movzx ebx, byte [eax]
mov bh, byte [esp + 0x31]
lea ecx, [esp + 4]
mov dword [esp + 4], 3
call fcn.00575e70
movzx eax, byte [esp + 0x30]
test bh, bh
je 0x522411
cmp bl, al
setne cl
je 0x52245e
mov ebx, dword [esp + 0x2c]
cmp al, 0x29
mov byte [esp + 0x2b], cl
mov eax, dword [ebx]
jne 0x522160
test eax, eax
je 0x522095
mov eax, dword [ebx + 4]
test eax, eax
je 0x522499
dec eax
mov dword [ebx + 4], eax
lea ecx, [esp + 4]
mov edx, ebx
call fcn.00496850
mov eax, dword [esp + 4]
movzx edx, byte [esp + 8]
cmp eax, 0x2c
je 0x522109
movzx ecx, byte [esp + 0xb]
movzx esi, word [esp + 9]
movss xmm0, dword [esp + 0xc]
shl ecx, 0x10
movss dword [esp + 0x8c], xmm0
or esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x1c]
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], ecx
cmp dword [ebx], 0
je 0x522126
mov ecx, dword [ebx + 4]
mov byte [esp + 2], dl
mov edx, 0xffffffff
inc ecx
cmove ecx, edx
movzx edx, byte [esp + 2]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x98]
movq xmm0, qword [esp + 0x90]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
movss xmm2, dword [esp + 0x8c]
mov ebx, dword [esp + 0x80]
jmp 0x522227
test eax, eax
je 0x522173
mov eax, dword [ebx + 4]
test eax, eax
je 0x522499
dec eax
mov dword [ebx + 4], eax
lea ecx, [esp + 4]
mov edx, ebx
call fcn.00496850
mov eax, dword [esp + 4]
movzx edx, byte [esp + 8]
cmp eax, 0x2c
je 0x5221e1
movzx ecx, byte [esp + 0xb]
movzx esi, word [esp + 9]
movss xmm0, dword [esp + 0xc]
shl ecx, 0x10
movss dword [esp + 0x88], xmm0
or esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x1c]
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], ecx
cmp dword [ebx], 0
je 0x5221fe
mov ecx, dword [ebx + 4]
mov byte [esp + 2], dl
mov edx, 0xffffffff
inc ecx
cmove ecx, edx
movzx edx, byte [esp + 2]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x98]
movq xmm0, qword [esp + 0x90]
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
movss xmm2, dword [esp + 0x88]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x60], ecx
movq qword [esp + 0x58], xmm0
cmp eax, 0x2c
jne 0x522439
test dl, dl
movss dword [esp + 0x54], xmm2
mov byte [esp + 2], dl
mov dword [esp + 0x50], ebx
je 0x522280
movzx eax, dl
cmp eax, 1
je 0x5222d0
cmp eax, 3
je 0x52245e
lea ecx, [esp + 4]
lea edx, [esp + 0x2c]
call fcn.00482a40
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x5224e1
mov ebx, dword [esp + 0x2c]
jmp 0x522012
cmp dword [esp + 0x3c], 1
je 0x52250f
lea ecx, [esp + 4]
lea edx, [esp + 0x2c]
call fcn.00521d80
mov eax, dword [esp + 4]
movss xmm1, dword [esp + 8]
cmp eax, 0x2c
jne 0x5224af
mov ebx, dword [esp + 0x2c]
movups xmmword [esp + 0xb4], xmm1
mov dword [esp + 0x3c], 1
jmp 0x522012
cmp dword [esp + 0x38], 1
je 0x522516
lea ecx, [esp + 4]
lea edx, [esp + 0x2c]
call fcn.00521d80
mov eax, dword [esp + 4]
movss xmm1, dword [esp + 8]
cmp eax, 0x2c
jne 0x5224af
mov ebx, dword [esp + 0x2c]
movups xmmword [esp + 0xdc], xmm1
mov dword [esp + 0x38], 1
jmp 0x522012
movq xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x19]
movsd xmm2, qword [esp + 0x11]
movzx ecx, byte [esp + 8]
movq qword [esi + 0x1c], xmm0
movsd qword [esi + 0x15], xmm1
movsd xmm1, qword [esp + 9]
movsd qword [esi + 0xd], xmm2
movsd qword [esi + 5], xmm1
mov dword [esi], eax
mov byte [esi + 4], cl
jmp 0x522689
mov ecx, ebx
mov edx, 0x8c735d
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x522389
movzx eax, byte [edi + 0x24]
mov byte [esp + 3], al
mov byte [edi + 0x24], 0
cmp dword [edi], 0
jne 0x521fda
jmp 0x521fe9
mov dword [esi], 0x2b
jmp 0x522689
mov dword [esi], 0x15
mov dword [esi + 4], str.Vec2C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fegui_0.22.0_srcgrid.rs
mov dword [esi + 8], 4
jmp 0x522689
movzx ecx, byte [esp + 0xb]
movzx ebx, word [esp + 9]
movsd xmm0, qword [esp + 0x1c]
movzx edx, byte [esp + 8]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
shl ecx, 0x10
movsd qword [esp + 0x90], xmm0
or ebx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x98], ecx
jmp 0x52241f
movzx eax, byte [esp + 0xb]
movzx ebx, word [esp + 9]
movzx edx, byte [esp + 8]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
shl eax, 0x10
or ebx, eax
mov eax, 3
jmp 0x52241f
cmp bl, al
je 0x52245e
movzx edx, byte [esp + 0x2b]
mov eax, 9
mov ecx, dword [esp + 0x98]
movq xmm0, qword [esp + 0x90]
mov dword [esp + 0x60], ecx
movq qword [esp + 0x58], xmm0
mov ecx, dword [esp + 0x60]
movsd xmm0, qword [esp + 0x58]
shl ebx, 8
movzx edx, dl
or edx, ebx
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], ecx
movd xmm0, edx
jmp 0x522529
cmp dword [esp + 0x3c], 0
movups xmm2, xmmword [esp + 0xb4]
mov eax, 0x27
pxor xmm0, xmm0
mov esi, 1
je 0x52248f
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0x4c]
je 0x5224da
mov esi, dword [esp + 0x34]
jmp 0x5225e4
mov ebp, 0x8f6f40
jmp 0x522529
movss xmm2, dword [esp + 0x54]
movzx edx, byte [esp + 2]
mov ebx, dword [esp + 0x50]
mov eax, 0x2b
jmp 0x522439
movsd xmm0, qword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], ecx
movaps xmm0, xmm1
jmp 0x522529
mov ebp, 0x8f6f54
jmp 0x522529
movsd xmm1, qword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movss xmm0, dword [esp + 8]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movsd qword [esp + 0x40], xmm1
mov dword [esp + 0x48], ecx
jmp 0x522529
mov ebp, 0x8f6f40
jmp 0x52251b
mov ebp, 0x8f6f54
pxor xmm0, xmm0
mov eax, 0x28
mov esi, 1
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], eax
movd dword [esp + 8], xmm0
movss dword [esp + 0xc], xmm2
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
movsd xmm0, qword [esp + 0x40]
mov ebx, str.Vec2C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fegui_0.22.0_srcgrid.rs
lea edx, [esp + 4]
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp byte [esp + 3], 0
movsd qword [esp + 0x1c], xmm0
cmovne ebx, ecx
lea ecx, [esp + 0x90]
push 4
push ebx
call fcn.006934f0
add esp, 8
mov eax, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x9c]
movsd xmm3, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
movsd xmm2, qword [esp + 0x94]
cmp eax, 0x2c
movsd qword [esp + 0xc4], xmm0
movsd qword [esp + 0xcc], xmm3
movsd qword [esp + 0xd4], xmm1
jne 0x522694
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movups xmmword [esp + 0xdc], xmm0
mov edx, dword [esp + 0x64]
movups xmmword [esp + 0xb4], xmm2
cmp dword [edx], 0
je 0x522604
mov eax, dword [edx + 4]
mov ecx, 0xffffffff
inc eax
cmovne ecx, eax
mov dword [edx + 4], ecx
lea ecx, [esp + 4]
mov edx, edi
call fcn.0068dc50
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x52265b
cmp byte [esp + 3], 0
jne 0x522638
mov ecx, edi
mov edx, 0x8cdbc6
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x5226ca
movups xmm0, xmmword [esp + 0xb4]
movss dword [esi + 4], xmm0
movdqu xmm0, xmmword [esp + 0xdc]
movd dword [esi + 8], xmm0
mov dword [esi], 0x2c
jmp 0x522689
movq xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x18]
movsd xmm2, qword [esp + 8]
movq qword [esi + 0x1c], xmm0
movsd qword [esi + 0x14], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [esi + 0xc], xmm1
movsd qword [esi + 4], xmm2
mov dword [esi], eax
add esp, 0xec
pop esi
pop edi
pop ebx
pop ebp
ret
movq xmm0, qword [esp + 0xd4]
mov ecx, dword [esp + 0x34]
movsd xmm3, qword [esp + 0xc4]
movsd xmm1, qword [esp + 0xcc]
movq qword [ecx + 0x1c], xmm0
movsd qword [ecx + 0x14], xmm1
movsd qword [ecx + 0xc], xmm3
mov dword [ecx], eax
movlps qword [ecx + 4], xmm2
jmp 0x522689
mov dword [esi], 0x16
jmp 0x522689