Function at 0x10030b6d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x100cb040]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
push 0x54
mov dword [esp + 0x30], eax
lea eax, [esp + 0x84]
push 0
push eax
mov dword [esp + 0x34], esi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x1042cf04]
add esp, 0xc
mov eax, dword [0x1042cf08]
add ecx, 0xffffffdf
mov edx, dword [0x1042cef8]
xor ecx, 0x8987fdad
vmovss xmm1, dword [0x100bf4a4]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [esp + 0x80], ymm0
vmovss dword [esp + 0xa0], xmm0
vmovss xmm0, dword [ecx + esi]
vmovss xmm2, dword [edi + 8]
add eax, 0xffffffde
add edx, 0xffffffe2
xor eax, 0x8987fdae
xor edx, 0x8987fdaa
vaddss xmm0, xmm0, dword [eax + esi]
vmulss xmm0, xmm0, xmm1
vaddss xmm3, xmm0, dword [edx + esi]
vmovss xmm0, dword [ecx + esi + 4]
vaddss xmm0, xmm0, dword [eax + esi + 4]
vmulss xmm0, xmm0, xmm1
vaddss xmm4, xmm0, dword [edx + esi + 4]
vmovss xmm0, dword [ecx + esi + 8]
vaddss xmm0, xmm0, dword [eax + esi + 8]
vmulss xmm0, xmm0, xmm1
vaddss xmm5, xmm0, dword [edx + esi + 8]
mov esi, dword [ebp + 0xc]
vmovss xmm0, dword [edi]
vmovss xmm1, dword [edi + 4]
vmovss dword [esp + 0xc], xmm3
vsubss xmm3, xmm5, xmm2
vsubss xmm2, xmm2, dword [esi + 8]
vmovss dword [esp + 0x10], xmm3
vsubss xmm3, xmm0, dword [esi]
vmovss xmm0, dword [esi + 4]
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm3, xmm3
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vmovss dword [esp + 8], xmm4
vmovss dword [esp + 0x1c], xmm5
vzeroupper
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vmovss xmm4, dword [edi]
vsubss xmm1, xmm4, dword [esi]
vmovss xmm3, dword [edi + 4]
vmovss xmm5, dword [edi + 8]
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [esp + 0x20], xmm0
vaddss xmm0, xmm0, dword [0x100bf418]
vdivss xmm1, xmm1, xmm0
vmovss dword [esp + 0x14], xmm1
vsubss xmm1, xmm3, dword [esi + 4]
vdivss xmm7, xmm1, xmm0
vsubss xmm1, xmm5, dword [esi + 8]
vdivss xmm0, xmm1, xmm0
vmovss dword [esp + 0x18], xmm0
vmovss xmm0, dword [esp + 8]
vsubss xmm6, xmm0, xmm3
vmovss xmm0, dword [esp + 0xc]
vmulss xmm1, xmm7, xmm6
vmovss dword [esp + 0x24], xmm7
vsubss xmm7, xmm0, xmm4
vmulss xmm0, xmm7, dword [esp + 0x14]
vaddss xmm1, xmm1, xmm0
vmovss xmm0, dword [esp + 0x18]
vmulss xmm0, xmm0, dword [esp + 0x10]
vaddss xmm2, xmm1, xmm0
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, xmm2
jbe 0x10030d35
vmulss xmm0, xmm7, xmm7
vmulss xmm1, xmm6, xmm6
vaddss xmm1, xmm1, xmm0
vmovss xmm0, dword [esp + 0x10]
vmulss xmm0, xmm0, xmm0
jmp 0x10030d71
vcomiss xmm2, dword [esp + 0x20]
vmovss xmm1, dword [esp + 8]
jbe 0x10030d8c
vsubss xmm3, xmm1, dword [esi + 4]
vmovss xmm1, dword [esp + 0xc]
vmovss xmm0, dword [esi]
vmovss xmm2, dword [esp + 0x1c]
vsubss xmm2, xmm2, dword [esi + 8]
vsubss xmm0, xmm1, xmm0
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm3, xmm3
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vcvtsd2ss xmm0, xmm0, xmm0
vxorps xmm1, xmm0, xmmword [0x100bf850]
jmp 0x10030de7
vmulss xmm0, xmm2, dword [esp + 0x24]
vaddss xmm0, xmm0, xmm3
vsubss xmm3, xmm1, xmm0
vmulss xmm0, xmm2, dword [esp + 0x14]
vmovss xmm1, dword [esp + 0xc]
vaddss xmm0, xmm0, xmm4
vsubss xmm1, xmm1, xmm0
vmovss xmm0, dword [esp + 0x18]
vmulss xmm0, xmm2, xmm0
vmovss xmm2, dword [esp + 0x1c]
vaddss xmm0, xmm0, xmm5
vsubss xmm2, xmm2, xmm0
vmulss xmm0, xmm3, xmm3
vmulss xmm1, xmm1, xmm1
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vcvtsd2ss xmm1, xmm0, xmm0
vmovss xmm0, dword [0x100bf614]
vcomiss xmm0, xmm1
jb 0x10030eef
vmovss xmm0, dword [esi]
vmovss xmm5, dword [edi]
vmovss xmm6, dword [edi + 4]
vmovss xmm1, dword [esi + 8]
vmovss xmm7, dword [edi + 8]
vsubss xmm3, xmm0, xmm5
vmovss xmm0, dword [esi + 4]
vsubss xmm0, xmm0, xmm6
vsubss xmm2, xmm1, xmm7
vmulss xmm1, xmm0, xmm0
vmovss dword [esp + 0x44], xmm0
vmulss xmm0, xmm3, xmm3
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, xmm2
vxorps xmm4, xmm4, xmm4
vaddss xmm0, xmm1, xmm0
vucomiss xmm0, xmm4
vmovss dword [esp + 0x40], xmm3
lahf
mov byte [esp + 0x75], 1
vmovss dword [esp + 0x48], xmm2
vmovss dword [esp + 0x4c], xmm4
test ah, 0x44
jp 0x10030e65
mov byte [esp + 0x75], 0
mov ecx, dword [0x10428fc0]
lea edx, [esp + 0x80]
and dword [esp + 0x70], 0
push edx
push dword [esp + 0x2c]
mov byte [esp + 0x7c], 1
lea edx, [esp + 0x38]
vmovss dword [esp + 0x38], xmm5
vmovss dword [esp + 0x3c], xmm6
vmovss dword [esp + 0x40], xmm7
vmovss dword [esp + 0x44], xmm4
vmovss dword [esp + 0x60], xmm4
vmovss dword [esp + 0x5c], xmm4
vmovss dword [esp + 0x58], xmm4
vmovss dword [esp + 0x70], xmm4
vmovss dword [esp + 0x6c], xmm4
vmovss dword [esp + 0x68], xmm4
mov eax, dword [ecx]
push 0x4600400b
push edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x2c]
vmovss xmm0, dword [eax + 0x2c]
vcomiss xmm0, dword [esp + 0xac]
jbe 0x10030eef
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.10030772
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.100a7229
mov esp, ebp
pop ebp
ret 0x14