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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c78
call fcn.10117af0
mov eax, dword [0x101cfdb0]
xor eax, esp
mov dword [esp + 0x1c74], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x50], 0
je 0x1008313b
cmp dword [0x102578cc], 0
je 0x1008313b
cmp dword [esi + 0x60], 0
je 0x1008313b
mov eax, dword [ecx + 0x14]
xor edx, edx
mov dword [esp + 0x48], eax
xorps xmm0, xmm0
lea eax, [esp + 0x58]
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], eax
xor edi, edi
xor eax, eax
mov word [esp + 0x20], dx
xorps xmm2, xmm2
xorps xmm3, xmm3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x44], xmm3
mov dword [esp + 0x18], eax
mov byte [esp + 0x22], dl
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
cmp dword [esp + 0x48], eax
jle 0x1008303e
lea edx, [ecx + 4]
mov dword [esp + 0x40], 2
mov dword [esp + 0x30], edx
cmp eax, dword [ecx + 0x14]
jbe 0x100825c9
push str.string_subscript_out_of_range
push 0x101aeae8
push 0
push 0xee7
push 0x101aeee8
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1008259d
int3
push 0
push 0xee7
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexstring
push 0x101aec28
push str._string_subscript_out_of_range_
call fcn.1012c080
movss xmm3, dword [esp + 0x58]
add esp, 0x14
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp ecx, 0x10
jb 0x100825e3
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp byte [edx + eax], 0xa
mov edx, dword [esp + 0x30]
jne 0x10082883
mov ecx, dword [esp + 0x34]
cmp ecx, edi
je 0x10082850
mov eax, dword [esi + 0x54]
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
mov ecx, dword [esp + 0x38]
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, dword [esi + 0x58]
cvtpd2ps xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
divss xmm6, xmm2
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm7, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
divss xmm7, xmm1
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, dword [ebp + 8]
add eax, ecx
cvtpd2ps xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
cmp dword [esp + 0x40], 0x12c
divss xmm4, xmm2
addsd xmm0, qword [eax*8 + 0x101b7c60]
movss dword [esp + 0x10], xmm4
subss xmm4, xmm6
cvtpd2ps xmm5, xmm0
mulss xmm4, xmm2
divss xmm5, xmm1
divss xmm4, dword [esi + 0x5c]
movss dword [esp + 0x14], xmm5
subss xmm5, xmm7
mulss xmm5, xmm1
divss xmm5, dword [esi + 0x5c]
jae 0x10082d2d
mov ecx, dword [esp + 0xc]
xorps xmm2, xmm2
mov eax, dword [esi + 0x70]
movaps xmm0, xmm3
movss xmm1, dword [esp + 0x3c]
addss xmm0, xmm2
addss xmm4, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
addss xmm1, xmm2
mov dword [ecx + 8], 0x3f666666
movaps xmm2, xmm3
movss dword [ecx + 0x10], xmm6
subss xmm2, xmm5
movss xmm5, dword [esp + 0x14]
movss dword [ecx + 0x14], xmm5
movss dword [ecx], xmm1
movss xmm5, dword [esp + 0x10]
movss dword [ecx + 4], xmm2
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
add dword [esp + 0x1c], 2
mov dword [ecx + 0xc], eax
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
mov dword [ecx + 8], 0x3f666666
movss dword [ecx + 0x10], xmm6
movss dword [ecx + 0x14], xmm7
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 0x10], xmm5
movss xmm5, dword [esp + 0x14]
movss dword [ecx + 4], xmm2
movss dword [ecx + 0x14], xmm5
movss dword [ecx], xmm4
mov dword [ecx + 0xc], eax
movss xmm5, dword [esp + 0x10]
mov dword [ecx + 8], 0x3f666666
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx], xmm4
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm5
movss dword [ecx + 4], xmm0
mov dword [ecx + 8], 0x3f666666
movss dword [ecx + 0x14], xmm7
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 0x10], xmm5
movss xmm5, dword [esp + 0x14]
movss dword [ecx + 4], xmm2
xorps xmm2, xmmword [0x101b86c0]
maxss xmm2, dword [esp + 0x28]
movss dword [ecx], xmm4
maxss xmm4, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], 0x3f666666
movss dword [ecx + 0x14], xmm5
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm2
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
mov dword [ecx + 8], 0x3f666666
movss dword [ecx + 0x10], xmm6
movss dword [ecx + 0x14], xmm7
add dword [esp + 0xc], 0x18
add dword [esp + 0x40], 2
movd xmm0, dword [ebp + 8]
mov ecx, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], 1
xorps xmm1, xmm1
divss xmm0, dword [esi + 0x5c]
movss dword [esp + 0x3c], xmm1
subss xmm3, xmm0
movss dword [esp + 0x44], xmm3
jmp 0x10082d0e
mov edx, dword [esp + 0x2c]
cmp eax, dword [edx + 0x14]
mov edx, dword [esp + 0x30]
jbe 0x100828df
push str.string_subscript_out_of_range
push 0x101aeae8
push 0
push 0xee7
push 0x101aeee8
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100828b6
int3
push 0
push 0xee7
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexstring
push 0x101aec28
push str._string_subscript_out_of_range_
call fcn.1012c080
mov eax, dword [esp + 0x40]
add esp, 0x14
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x10], edx
cmp ecx, 0x10
jb 0x100828ee
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
cmp byte [edx + eax], 0
mov edx, dword [esp + 0x30]
jge 0x10082991
cmp eax, dword [esp + 0x14]
jbe 0x10082968
push str.string_subscript_out_of_range
push 0x101aeae8
push 0
push 0xee7
push 0x101aeee8
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1008293b
int3
push 0
push 0xee7
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexstring
push 0x101aec28
push str._string_subscript_out_of_range_
call fcn.1012c080
mov eax, dword [esp + 0x40]
add esp, 0x14
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
cmp ecx, 0x10
jb 0x10082975
mov ecx, dword [edx]
jmp 0x10082979
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + eax]
mov word [esp + 0x20], ax
mov byte [esp + 0x22], 0
mov dword [esp + 0x14], 2
jmp 0x10082a0f
cmp eax, dword [esp + 0x14]
jbe 0x100829ea
push str.string_subscript_out_of_range
push 0x101aeae8
push 0
push 0xee7
push 0x101aeee8
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100829bd
int3
push 0
push 0xee7
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexstring
push 0x101aec28
push str._string_subscript_out_of_range_
call fcn.1012c080
mov eax, dword [esp + 0x40]
add esp, 0x14
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
cmp ecx, 0x10
jb 0x100829f7
mov ecx, dword [edx]
jmp 0x100829fb
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + eax]
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0
mov dword [esp + 0x14], 1
push dword [esi + 0x60]
push dword [0x102578cc]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x28]
push eax
push dword [0x102578cc]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x50]
mov edx, dword [esi + 0x54]
add eax, edi
cmp eax, edx
jbe 0x10082cbb
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10082cad
xorps xmm0, xmm0
cvtsi2sd xmm0, edx
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101b7c60]
mov edx, dword [esp + 0x10]
cvtpd2ps xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, dword [esi + 0x58]
cvtpd2ps xmm5, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
divss xmm5, xmm2
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
divss xmm6, xmm1
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, edx
shr eax, 0x1f
cmp dword [esp + 0x40], 0x12c
cvtpd2ps xmm7, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edx
divss xmm7, xmm2
addsd xmm0, qword [eax*8 + 0x101b7c60]
movaps xmm3, xmm7
subss xmm3, xmm5
cvtpd2ps xmm4, xmm0
mulss xmm3, xmm2
divss xmm4, xmm1
divss xmm3, dword [esi + 0x5c]
movss dword [esp + 0x10], xmm4
subss xmm4, xmm6
mulss xmm4, xmm1
divss xmm4, dword [esi + 0x5c]
jae 0x10082d53
mov ecx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esi + 0x70]
addss xmm3, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x3c]
mov dword [ecx + 8], 0x3f666666
addss xmm1, xmm0
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm5
movss xmm2, dword [esp + 0x44]
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm3
movss dword [ecx], xmm1
subss xmm2, xmm4
movss xmm4, dword [esp + 0x3c]
xorps xmm3, xmm3
addss xmm0, xmm3
add dword [esp + 0x1c], 2
movss xmm3, dword [esp + 0x10]
movss dword [ecx + 0x14], xmm3
movss dword [ecx + 4], xmm2
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
mov dword [esp + 0x38], edx
movss dword [ecx + 4], xmm0
movss dword [ecx], xmm1
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm5
movss dword [ecx + 0x14], xmm6
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 4], xmm2
movss dword [ecx], xmm4
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm7
movss dword [ecx + 0x14], xmm3
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 4], xmm0
movss dword [ecx], xmm4
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm7
movss dword [ecx + 0x14], xmm6
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 4], xmm2
xorps xmm2, xmmword [0x101b86c0]
maxss xmm2, dword [esp + 0x28]
movss dword [ecx], xmm4
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm7
movss dword [ecx + 0x14], xmm3
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [esp + 0x28], xmm2
movss dword [ecx + 4], xmm0
movaps xmm0, xmm4
maxss xmm0, dword [esp + 0x24]
movss dword [ecx], xmm1
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm5
movss dword [ecx + 0x14], xmm6
add dword [esp + 0xc], 0x18
add dword [esp + 0x40], 2
movss dword [esp + 0x24], xmm0
jmp 0x10082cb5
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
xor edi, edi
mov dword [esp + 0x34], edi
push dword [esi + 0x60]
push dword [0x102578cc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 2
push dword [esp + 0x4c]
push edi
push dword [0x102578cc]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
add edi, dword [esp + 0x50]
movss xmm3, dword [esp + 0x44]
movss xmm1, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x48]
jge 0x10082d79
mov ecx, dword [esp + 0x2c]
jmp 0x10082572
push 0x25b
push 0x101b3660
push 0x101b365c
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x38]
jmp 0x10082dbb
push 0x28c
push 0x101b3660
push 0x101b365c
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x38]
jmp 0x10082dbb
movss xmm0, dword [esp + 0x24]
mov edx, ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov edi, eax
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x28], xmm0
cmp dword [esp + 0x4c], eax
je 0x1008303e
mov eax, dword [esi + 0x54]
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, dword [esi + 0x58]
cvtpd2ps xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edx
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101b7c60]
cvtpd2ps xmm4, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
divss xmm4, xmm2
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, ecx
movss dword [esp + 0x48], xmm4
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
addsd xmm0, qword [eax*8 + 0x101b7c60]
mov eax, dword [ebp + 8]
add eax, ecx
cvtpd2ps xmm5, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
shr edi, 0x1f
divss xmm5, xmm1
addsd xmm0, qword [edi*8 + 0x101b7c60]
movss dword [esp + 0x10], xmm5
cvtpd2ps xmm6, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
divss xmm6, xmm2
addsd xmm0, qword [eax*8 + 0x101b7c60]
movaps xmm3, xmm6
mov eax, dword [esp + 0x1c]
subss xmm3, xmm4
movss dword [esp + 0x14], xmm6
add eax, 2
mov dword [esp + 0x1c], eax
cvtpd2ps xmm7, xmm0
mulss xmm3, xmm2
divss xmm7, xmm1
divss xmm3, dword [esi + 0x5c]
movss dword [esp + 0x40], xmm7
movaps xmm2, xmm7
movss dword [esp + 0x4c], xmm3
subss xmm2, xmm5
mulss xmm2, xmm1
divss xmm2, dword [esi + 0x5c]
movss dword [esp + 0x2c], xmm2
cmp eax, 0x12c
jb 0x10082ef2
push 0x2b6
push 0x101b3660
push 0x101b365c
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
movss xmm3, dword [esp + 0x5c]
add esp, 0x10
movss xmm4, dword [esp + 0x48]
movss xmm5, dword [esp + 0x10]
movss xmm6, dword [esp + 0x14]
movss xmm7, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esi + 0x70]
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x44]
addss xmm1, xmm0
mov dword [ecx + 8], 0x3f666666
movaps xmm0, xmm2
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm4
movss dword [ecx + 0x14], xmm7
movss dword [ecx], xmm1
subss xmm2, dword [esp + 0x2c]
addss xmm0, dword [0x101b6cd4]
addss xmm3, dword [esp + 0x3c]
movss dword [ecx + 4], xmm2
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 4], xmm0
movss dword [ecx], xmm1
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm4
movss dword [ecx + 0x14], xmm5
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 4], xmm2
movss dword [ecx], xmm3
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm6
movss dword [ecx + 0x14], xmm7
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx], xmm3
movss dword [ecx + 4], xmm0
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm6
movss dword [ecx + 0x14], xmm5
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [ecx + 4], xmm2
xorps xmm2, xmmword [0x101b86c0]
maxss xmm2, dword [esp + 0x28]
movss dword [ecx], xmm3
maxss xmm3, dword [esp + 0x24]
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm6
movss dword [ecx + 0x14], xmm7
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x70]
add ecx, 0x18
mov dword [esp + 0xc], ecx
movss dword [esp + 0x28], xmm2
movss dword [ecx + 4], xmm0
movaps xmm0, xmm3
movss dword [ecx], xmm1
mov dword [ecx + 8], 0x3f666666
mov dword [ecx + 0xc], eax
movss dword [ecx + 0x10], xmm4
movss dword [ecx + 0x14], xmm5
add dword [esp + 0xc], 0x18
movss dword [esp + 0x24], xmm0
mov eax, dword [esi + 0x50]
lea edx, [esp + 0xc]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x1c]
lea edi, [eax + eax*2]
test edi, edi
jle 0x100830ca
lea edx, [esp + 0x5c]
mov eax, dword [esi + 0x40]
movss xmm2, dword [edx - 4]
mov ecx, dword [esp + 0xc]
movd xmm0, eax
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x101b7c60]
lea eax, [ecx + 0x18]
mov dword [esp + 0xc], eax
cvtpd2ps xmm1, xmm0
movss xmm0, dword [edx]
divss xmm2, xmm1
divss xmm0, xmm1
movss dword [edx - 4], xmm2
movss dword [edx], xmm0
movss dword [ecx], xmm2
mov eax, dword [edx]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
mov eax, dword [edx + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x10]
add edx, 0x18
mov dword [ecx + 0x14], eax
sub edi, 1
jne 0x10083061
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x24]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b7c60]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x28]
divss xmm1, xmm0
mov dword [esi + 0x78], eax
cvttss2si eax, xmm1
mov dword [esi + 0x7c], eax
pop edi
pop esi
mov ecx, dword [esp + 0x1c74]
xor ecx, esp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 0xc
push 0x235
push 0x101b3660
push str.NULL_Vertex_Buffer_or_DC_or_Font_Handle
push str.ERROR____s_n_s:__d_n_n
call fcn.10080f00
mov ecx, dword [esp + 0x1c8c]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.101163c0
mov esp, ebp
pop ebp
ret 0xc