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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
movss xmm0, dword [edx]
xor eax, eax
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edx + 4]
push ebx
movss dword [esp + 0x28], xmm0
mov ebx, 0x2710
movss xmm0, dword [edx + 8]
push esi
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x10098880]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [esp + 0x28], ecx
mov ecx, 0x7530
movss dword [esp + 0x20], xmm0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x2710
nop dword [eax]
test bx, bx
jle 0x1001369e
mov ecx, 0xd78c98
call fcn.10017d30
mov esi, eax
test esi, esi
je 0x10013695
push 4
push esi
call edi
test eax, eax
jne 0x10013695
mov eax, dword [esp + 0x18]
mov ecx, esi
push 1
cwde
push eax
call dword [0x10098274]
mov esi, eax
test esi, esi
je 0x10013691
lea ecx, [esi + 0x3e4]
call fcn.10017cc0
cmp al, 4
je 0x1001334f
cmp al, 5
je 0x1001334f
cmp al, 0xd
je 0x1001334f
xor bh, bh
jmp 0x10013351
mov bh, 1
lea ecx, [esi + 0x6a0]
call fcn.10017cc0
lea ecx, [esi + 0x6d0]
mov bl, al
call fcn.10017cc0
cmp byte [0x100a5655], 0
mov byte [esp + 0x12], al
mov eax, dword [0x100a55f0]
mov dword [esp + 0x1c], eax
je 0x100133c5
mov ecx, 0xd78c9c
call fcn.10017d30
mov dword [esp + 0x24], eax
test eax, eax
je 0x100133c1
push 4
push eax
call edi
test eax, eax
jne 0x100133c1
mov eax, dword [esp + 0x24]
add eax, 0xb7c
push 4
push eax
mov dword [esp + 0x2c], eax
call edi
test eax, eax
jne 0x100133c1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov al, byte [eax]
mov byte [ecx + 0x3a], al
mov eax, ecx
jmp 0x100133c5
mov eax, dword [esp + 0x1c]
mov al, byte [eax + 0x3a]
lea ecx, [esi + 0xaa4]
mov byte [esp + 0x13], al
call fcn.10017cf0
movzx edx, ax
mov dword [esp + 0x1c], edx
test bh, bh
jne 0x10013691
movzx eax, bl
cmp eax, dword [esp + 0x28]
je 0x10013691
cmp bl, 3
je 0x10013691
cmp byte [esp + 0x12], 7
je 0x10013691
cmp byte [esp + 0x13], 0x15
jne 0x10013420
cmp bl, 1
je 0x10013691
cmp bl, 2
je 0x10013691
mov ebx, dword [0x100a55f0]
test ebx, ebx
je 0x100135e7
cmp byte [0x100a5655], 0
je 0x1001347b
mov ecx, 0xd78c9c
call fcn.10017d30
mov dword [esp + 0x24], eax
test eax, eax
je 0x10013477
push 4
push eax
call edi
test eax, eax
jne 0x10013477
mov eax, dword [esp + 0x24]
add eax, 0x720
push 4
push eax
mov dword [esp + 0x2c], eax
call edi
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x1001347b
mov eax, dword [esp + 0x24]
mov al, byte [eax]
mov byte [ebx + 0x3b], al
jmp 0x1001347b
mov edx, dword [esp + 0x1c]
cmp byte [ebx + 0x3b], 0
je 0x100135e7
mov eax, dword [0x100a55ec]
test eax, eax
je 0x10013691
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10013691
movzx ecx, word [eax + 0x38]
test cx, cx
jle 0x100134ab
cmp cx, dx
je 0x100134cb
movzx edx, word [eax + 0x3a]
mov ebx, dword [esp + 0x1c]
test dx, dx
jle 0x100134bd
cmp dx, bx
je 0x100134cb
movzx eax, word [eax + 0x3c]
test ax, ax
jle 0x1001351e
cmp ax, bx
jne 0x1001351e
push 4
push esi
call edi
test eax, eax
je 0x100134dc
xorps xmm1, xmm1
jmp 0x100135be
lea ecx, [esi + 0xd8]
call fcn.10017df0
lea ecx, [esi + 0xdc]
movss dword [esp + 0x38], xmm0
call fcn.10017df0
lea ecx, [esi + 0xe0]
movss dword [esp + 0x3c], xmm0
call fcn.10017df0
lea eax, [esp + 0x2c]
movss dword [esp + 0x40], xmm0
push eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x3c]
jmp 0x10013587
test cx, cx
jg 0x10013691
test dx, dx
jg 0x10013691
test ax, ax
jg 0x10013691
push 4
push esi
call edi
test eax, eax
je 0x10013547
xorps xmm1, xmm1
jmp 0x100135be
lea ecx, [esi + 0xd8]
call fcn.10017df0
lea ecx, [esi + 0xdc]
movss dword [esp + 0x44], xmm0
call fcn.10017df0
lea ecx, [esi + 0xe0]
movss dword [esp + 0x48], xmm0
call fcn.10017df0
lea eax, [esp + 0x2c]
movss dword [esp + 0x4c], xmm0
push eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x48]
push eax
call fcn.10013c30
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call fcn.10080950
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x20]
mov ecx, 0x7530
comiss xmm0, xmm1
mov ebx, dword [esp + 0x18]
jbe 0x1001369a
mov eax, esi
movss dword [esp + 0x20], xmm1
mov dword [esp + 0x14], eax
jmp 0x1001369e
push 4
push esi
call edi
test eax, eax
je 0x100135f5
xorps xmm1, xmm1
jmp 0x1001366c
lea ecx, [esi + 0xd8]
call fcn.10017df0
lea ecx, [esi + 0xdc]
movss dword [esp + 0x50], xmm0
call fcn.10017df0
lea ecx, [esi + 0xe0]
movss dword [esp + 0x54], xmm0
call fcn.10017df0
lea eax, [esp + 0x2c]
movss dword [esp + 0x58], xmm0
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x58]
call fcn.10013c30
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call fcn.10080950
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x20]
mov ecx, 0x7530
comiss xmm0, xmm1
mov ebx, dword [esp + 0x18]
jbe 0x1001369a
mov eax, esi
movaps xmm0, xmm1
mov dword [esp + 0x14], eax
movss dword [esp + 0x20], xmm0
jmp 0x1001369e
mov ebx, dword [esp + 0x18]
mov ecx, 0x7530
mov eax, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x18], ebx
cmp bx, cx
jb 0x100132f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret