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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100870c0]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [0x1008794c]
push esi
mov esi, eax
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x1930]
mov byte [eax + 0x78], 1
mov edi, dword [esi + 0x1930]
mov dword [esp + 0x40], edi
cmp byte [edi + 0x7b], 0
jne 0x10030e5a
cmp dword [edi + 0x1d0], 0
jg 0x100303bd
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [fcn.1003e26c]
mov eax, dword [0x1008794c]
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x1d0]
xor edx, edx
mov eax, dword [edi + 0x1d8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x20]
call fcn.10003e90
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x194c], ecx
jne 0x100303f3
mov dword [eax + 0x1954], ecx
cmp dword [eax + 0x1950], ecx
jne 0x10030402
mov byte [eax + 0x195f], 1
mov edx, dword [esp + 0x1c]
mov ecx, edx
cmp edx, 0xffffffff
jae 0x1003042e
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10030426
cmp dl, 0x23
jne 0x10030420
cmp byte [ecx + 1], dl
je 0x10030426
inc ecx
cmp ecx, 0xffffffff
jb 0x10030410
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x185c]
mov edi, dword [eax + 0x1858]
mov dword [esp + 0x14], edi
movss dword [esp + 0x20], xmm0
cmp edx, ecx
jne 0x10030455
xorps xmm1, xmm1
movss dword [esp + 0x14], xmm1
jmp 0x100304c3
movss xmm3, dword [0x10083eb8]
lea eax, [esp + 0x24]
push ecx
push ecx
push edx
push ecx
mov ecx, dword [esp + 0x24]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.10022170
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [0x10083cf8]
jbe 0x1003049a
mov eax, dword [esp + 0x14]
movss xmm1, dword [esp + 0x20]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10083d74]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
mov ecx, dword [eax + 0x19b8]
mov edi, dword [esp + 0x40]
cmp dword [eax + 0x19ac], ecx
jle 0x100304ec
mov eax, dword [eax + 0x19b4]
lea ecx, [ecx + ecx*8]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xd], 1
cmp dword [eax + ecx*4], edx
je 0x100304f1
mov byte [esp + 0xd], 0
test dword [edi + 8], 0x4000000
jne 0x1003057c
mov eax, dword [esi + 0x19b8]
cmp dword [esi + 0x19ac], eax
jle 0x1003057c
cmp dword [edi + 0x1d0], 0
lea eax, [eax + eax*8]
mov ecx, dword [esi + 0x19b4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], ecx
jg 0x1003054b
push 0x4f9
push 0x1007fa10
push 0x10081dc4
call dword [fcn.1003e26c]
mov eax, dword [0x1008794c]
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0x1d0]
mov ecx, dword [edi + 0x1d8]
mov edi, dword [esp + 0x44]
mov eax, dword [edi + eax*4 + 0x10]
mov edi, dword [esp + 0x40]
cmp eax, dword [ecx + edx*4 - 4]
jne 0x1003057c
mov eax, dword [esi + 0x1a30]
mov byte [esp + 0xe], 1
mov dword [esi + 0x1a30], edi
jmp 0x10030588
xor al, al
mov byte [esp + 0xe], al
mov eax, dword [esi + 0x1a30]
cmp dword [edi + 0x164], 1
movss xmm3, dword [edi + 0xc8]
movss xmm2, dword [edi + 0xcc]
mov dword [esp + 0x30], eax
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x24], xmm2
jne 0x1003071e
test dword [edi + 8], 0x400
mov ecx, dword [esp + 0x10]
je 0x100305ec
movss xmm1, dword [ecx + 0x1860]
mulss xmm1, dword [edi + 0x27c]
movss xmm0, dword [ecx + 0x1548]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x150]
addss xmm1, xmm0
jmp 0x100305ef
xorps xmm1, xmm1
movaps xmm0, xmm3
mov dword [esp + 0x24], 0xd
subss xmm0, dword [edi + 0x3c]
subss xmm2, dword [esi + 0x1548]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x1554]
addss xmm2, xmm1
mulss xmm0, dword [0x10083d44]
cvttss2si eax, xmm0
movss dword [esp + 0x20], xmm2
movd xmm0, eax
lea eax, [esp + 0x24]
cvtdq2ps xmm0, xmm0
push eax
addss xmm0, xmm3
movss dword [edi + 0xc8], xmm0
movss xmm0, dword [esi + 0x1554]
movss xmm1, dword [ecx + 0x1554]
addss xmm0, xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esi + 0x1558]
addss xmm0, xmm0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [ecx + 0x1558]
add ecx, 0x1994
movss dword [esp + 0x30], xmm0
call fcn.10015a50
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x14]
mov dl, byte [esp + 0xd]
mov ecx, dword [esp + 0x1c]
movss dword [eax + 0x1554], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 0x1558], xmm0
lea eax, [esp + 0x24]
push eax
push 0xc01
movss dword [esp + 0x2c], xmm1
mov dword [esp + 0x30], 0
call fcn.1002f4e0
add esp, 8
mov byte [esp + 0xf], al
mov ecx, 1
call fcn.1000f0e0
movss xmm0, dword [esi + 0x1554]
mulss xmm0, dword [0x10083d44]
movss xmm1, dword [edi + 0xc8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0xc8], xmm1
jmp 0x10030a65
movaps xmm0, xmm2
movss xmm5, dword [edi + 0x258]
subss xmm0, dword [esi + 0x1518]
movss xmm4, dword [edi + 0x25c]
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm3
maxss xmm5, xmm1
movss xmm3, dword [edi + 0x254]
maxss xmm3, dword [esp + 0x14]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + 0x185c]
comiss xmm5, xmm1
mulss xmm0, dword [0x10083d90]
movss dword [edi + 0x254], xmm3
addss xmm3, xmm1
movss dword [edi + 0x258], xmm5
cvttss2si eax, xmm0
addss xmm3, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm4, xmm0
movss dword [edi + 0x25c], xmm4
jbe 0x100307a8
movss xmm2, dword [edi + 0x238]
jmp 0x100307ab
xorps xmm2, xmm2
comiss xmm4, xmm1
addss xmm2, xmm5
addss xmm2, xmm3
jbe 0x100307c2
movss xmm0, dword [edi + 0x238]
jmp 0x100307c5
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [edi + 0x240], xmm0
mov eax, dword [eax + 0x1930]
movss xmm3, dword [edi + 0x23c]
maxss xmm3, xmm0
mov dword [esp + 0x38], eax
movss xmm2, dword [eax + 0xc8]
subss xmm2, dword [eax + 0xc]
mov ecx, dword [eax + 0x1cc]
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x14], xmm2
movss xmm2, dword [eax + 0x224]
subss xmm2, dword [eax + 0xc]
test ecx, ecx
je 0x1003083a
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.10013dd0
mov eax, dword [esp + 0x38]
movaps xmm2, xmm0
movss xmm3, dword [esp + 0x34]
subss xmm2, dword [eax + 0x3c]
subss xmm2, dword [esp + 0x14]
mov dl, byte [esp + 0xd]
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
xorps xmm5, xmm5
push eax
push 0x2c01
subss xmm2, xmm3
movss dword [esp + 0x40], xmm3
mov dword [esp + 0x44], 0
maxss xmm5, xmm2
movss dword [esp + 0x1c], xmm5
call fcn.1002f4e0
movss xmm4, dword [esp + 0x1c]
xorps xmm1, xmm1
addss xmm4, dword [edi + 0x24c]
movss xmm0, dword [esi + 0x185c]
add esp, 8
mulss xmm0, dword [0x10083d34]
mov edx, dword [0x1008794c]
movss xmm6, dword [esp + 0x24]
movss xmm3, dword [0x10083d44]
addss xmm6, xmm1
addss xmm4, xmm0
mov byte [esp + 0xf], al
movss xmm0, dword [edx + 0x185c]
movaps xmm2, xmm0
mulss xmm0, xmm3
mulss xmm2, dword [0x10083d3c]
addss xmm4, dword [esp + 0x48]
addss xmm6, xmm0
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10083d64]
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm1
movss dword [esp + 0x14], xmm4
movups xmm4, xmmword [edx + 0x15a8]
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm2
comiss xmm1, xmm4
mulss xmm0, dword [0x10083d6c]
movaps xmm7, xmm4
shufps xmm7, xmm4, 0xff
mulss xmm7, dword [edx + 0x1510]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm2
mulss xmm2, dword [0x10083ec4]
mulss xmm0, dword [0x10083ec0]
movss dword [esp + 0x48], xmm2
movss xmm2, dword [0x10083d78]
movss dword [esp + 0x24], xmm0
movaps xmmword [esp + 0x50], xmm4
jbe 0x10030960
xorps xmm0, xmm0
jmp 0x10030967
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [0x10083e84]
movss xmm5, dword [esp + 0x54]
comiss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003098b
xorps xmm0, xmm0
jmp 0x10030992
movaps xmm0, xmm2
minss xmm0, xmm5
movss xmm5, dword [esp + 0x58]
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x100309b3
xorps xmm0, xmm0
jmp 0x100309ba
movaps xmm0, xmm2
minss xmm0, xmm5
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm1, xmm7
jbe 0x100309d5
xorps xmm2, xmm2
jmp 0x100309d9
minss xmm2, xmm7
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x48]
mulss xmm2, xmm4
addss xmm1, xmm6
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x48], xmm0
addss xmm2, xmm3
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm6
movss dword [esp + 0x28], xmm1
cvttss2si eax, xmm2
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x14]
shl eax, 0x18
or eax, ecx
mov ecx, dword [edx + 0x1930]
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x14]
mov ecx, dword [ecx + 0x284]
addss xmm0, xmm6
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.1001f610
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x114]
call fcn.10006f60
mov ah, al
mov al, byte [esp + 0xe]
mov byte [esp + 0xc], ah
test al, al
je 0x10030a8c
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1a30], ecx
xor cl, cl
cmp dword [edi + 0x164], 0
jne 0x10030dbe
xor dh, dh
cmp dword [esi + 0x1934], edi
jne 0x10030c8f
mov eax, dword [esi + 0x19b8]
cmp dword [esi + 0x19ac], eax
jle 0x10030c8b
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x19b4]
cmp dword [eax + ecx*4 + 8], edi
jne 0x10030c8b
test dword [edi + 8], 0x400
jne 0x10030c8b
mov eax, dword [esi + 0x19b8]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x19b4]
mov eax, dword [eax + ecx*4 + 4]
test eax, eax
je 0x10030c8b
movss xmm1, dword [esi + 0xdc]
subss xmm1, dword [esi + 0x390]
movss xmm0, dword [eax + 0xc]
comiss xmm0, dword [edi + 0xc]
movss xmm5, dword [eax + 0x10]
movaps xmm6, xmm0
movss xmm7, dword [esi + 0xd8]
movaps xmm4, xmm5
addss xmm6, dword [eax + 0x14]
addss xmm4, dword [eax + 0x18]
movaps xmm2, xmm7
movss dword [esp + 0x30], xmm1
subss xmm2, dword [esi + 0x38c]
jbe 0x10030b4a
movaps xmm3, xmm0
movss dword [esp + 0x10], xmm3
jmp 0x10030b53
movaps xmm3, xmm6
movss dword [esp + 0x10], xmm6
jbe 0x10030b58
movaps xmm6, xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
movss xmm3, dword [0x10083e3c]
andps xmm0, xmmword [0x10084170]
mulss xmm0, dword [0x10083d34]
comiss xmm3, xmm0
ja 0x10030b87
movss xmm3, dword [0x10083e68]
minss xmm3, xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, dword [edi + 0xc]
jbe 0x10030b9c
movss xmm0, dword [0x10083ebc]
jmp 0x10030ba4
movss xmm0, dword [0x10083d44]
subss xmm5, xmm3
addss xmm4, xmm3
xorps xmm3, xmm3
addss xmm2, xmm0
subss xmm5, xmm1
subss xmm4, xmm1
movss dword [esp + 0x24], xmm2
movaps xmm2, xmm7
subss xmm2, xmm6
maxss xmm5, dword [0x10083ed4]
minss xmm4, dword [0x10083e70]
addss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [esp + 0x10]
subss xmm1, xmm6
movaps xmm0, xmm5
subss xmm0, xmm4
mulss xmm2, xmm0
movss xmm0, dword [esi + 0xdc]
subss xmm0, xmm4
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm5
subss xmm2, xmm1
movss xmm1, dword [esi + 0xdc]
subss xmm1, xmm5
movss xmm5, dword [esp + 0x24]
comiss xmm3, xmm2
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x10]
seta cl
mulss xmm2, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0x10]
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm3, xmm2
seta al
cmp al, cl
jne 0x10030c89
movss xmm1, dword [esi + 0xdc]
subss xmm7, xmm5
subss xmm4, dword [esp + 0x30]
subss xmm1, dword [esp + 0x30]
subss xmm6, xmm5
mulss xmm7, xmm4
mulss xmm6, xmm1
subss xmm7, xmm6
comiss xmm3, xmm7
seta al
cmp cl, al
jne 0x10030c89
mov dh, 1
jmp 0x10030c8b
xor dh, dh
mov ah, byte [esp + 0xc]
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10030d46
test ah, ah
jne 0x10030d46
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x1934], edi
jne 0x10030d4a
mov ecx, dword [esi + 0x1944]
test ecx, ecx
je 0x10030d4a
cmp ecx, eax
je 0x10030d4a
test dh, dh
jne 0x10030d4a
mov byte [esp + 0xe], 1
mov ch, byte [esp + 0xe]
xor cl, cl
mov byte [esp + 0xc], cl
cmp dword [esi + 0x1a38], eax
jne 0x10030cf3
mov cl, dl
mov ch, dl
xor cl, 1
mov byte [esp + 0xe], ch
mov byte [esp + 0xc], cl
cmp dword [esi + 0x1a34], eax
jne 0x10030db8
cmp byte [esi + 0x1aa9], 0
je 0x10030db8
cmp dword [esi + 0x1ab4], 1
jne 0x10030db8
mov eax, dword [0x1008794c]
mov cl, 1
mov byte [esp + 0xc], cl
mov byte [eax + 0x1aa9], 0
cmp byte [eax + 0x1aa9], 0
jne 0x10030d84
cmp byte [eax + 0x1a91], 0
jne 0x10030d84
mov byte [eax + 0x1a90], 0
jmp 0x10030db8
mov eax, dword [esp + 0x18]
mov byte [esp + 0xe], 0
test dl, dl
jne 0x10030cd2
mov byte [esp + 0xe], dl
cmp byte [esp + 0xc], dl
je 0x10030cd2
test dh, dh
je 0x10030d77
mov byte [esp + 0xe], dl
cmp byte [esp + 0xf], dl
je 0x10030cd2
xor ch, ch
mov cl, 1
mov byte [esp + 0xe], ch
jmp 0x10030cd8
cmp dword [eax + 0x1a30], 0
mov byte [eax + 0x1a90], 1
jne 0x10030db8
push 0x1b3c
push 0x1007fa98
push 0x10081838
call dword [fcn.1003e26c]
mov cl, byte [esp + 0x18]
add esp, 0xc
mov dl, byte [esp + 0xd]
mov ch, byte [esp + 0xe]
test ch, ch
je 0x10030e2f
jmp 0x10030de9
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10030e6d
cmp byte [esp + 0xf], 0
je 0x10030e78
test al, al
je 0x10030f02
xor dl, dl
xor cl, cl
mov byte [esp + 0xd], dl
mov byte [esp + 0xc], cl
mov eax, dword [0x1008794c]
mov edi, dword [eax + 0x19b8]
cmp dword [eax + 0x19ac], edi
mov edi, dword [esp + 0x40]
jle 0x10030e2f
mov ecx, dword [eax + 0x19b8]
mov eax, dword [eax + 0x19b4]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + ecx*8]
cmp dword [eax + ecx*4], edi
mov edi, dword [esp + 0x40]
jne 0x10030e2b
mov ecx, dword [esi + 0x19b8]
call fcn.1000ff70
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xc]
test dl, dl
jne 0x10030f09
test cl, cl
je 0x10030f09
mov eax, dword [esi + 0x19ac]
cmp eax, dword [esi + 0x19b8]
jle 0x10030f09
mov ecx, dword [esp + 0x1c]
call fcn.1000fbe0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1003bcd0
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xf], 0
jne 0x10030f02
test ah, ah
je 0x10030e84
test al, al
je 0x10030e84
test dl, dl
je 0x10030f02
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x1a34], eax
jne 0x10030e2f
cmp byte [esi + 0x1aa9], 0
je 0x10030e2f
cmp dword [esi + 0x1ab4], 3
jne 0x10030e2f
mov eax, dword [0x1008794c]
mov cl, 1
mov byte [esp + 0xc], cl
mov byte [eax + 0x1aa9], 0
cmp byte [eax + 0x1aa9], 0
jne 0x10030ed2
cmp byte [eax + 0x1a91], 0
jne 0x10030ed2
mov byte [eax + 0x1a90], 0
jmp 0x10030e2f
cmp dword [eax + 0x1a30], 0
mov byte [eax + 0x1a90], cl
jne 0x10030e2f
push 0x1b3c
push 0x1007fa98
push 0x10081838
call dword [fcn.1003e26c]
add esp, 0xc
jmp 0x10030e27
mov cl, 1
jmp 0x10030e2f
or dl, cl
mov byte [esp + 0xd], dl
test cl, cl
je 0x10030f20
mov ecx, dword [esp + 0x1c]
call fcn.1000fbe0
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10030f86
mov eax, dword [0x1008794c]
movss xmm0, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
movss dword [eax + 0x19e0], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x19e4], xmm0
xorps xmm0, xmm0
movss dword [eax + 0x19e8], xmm0
movss dword [eax + 0x19ec], xmm0
mov dword [eax + 0x19c4], 1
mov edx, dword [edi + 8]
and edx, 0x14000000
neg edx
sbb edx, edx
and edx, 0x1000000
add edx, 0x10080145
call fcn.10010150
mov dl, al
mov ecx, dword [esp + 0x6c]
mov al, dl
pop edi
pop esi
xor ecx, esp
call fcn.1003bcd0
mov esp, ebp
pop ebp
ret