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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100860c0]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [0x1008694c]
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 0x10030d5a
cmp dword [edi + 0x1d0], 0
jg 0x100302bd
push 0x4f9
push 0x1007e9f0
push 0x10080d94
call dword [fcn.1003d258]
mov eax, dword [0x1008694c]
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.10003dd0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x194c], ecx
jne 0x100302f3
mov dword [eax + 0x1954], ecx
cmp dword [eax + 0x1950], ecx
jne 0x10030302
mov byte [eax + 0x195f], 1
mov edx, dword [esp + 0x1c]
mov ecx, edx
cmp edx, 0xffffffff
jae 0x1003032e
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x10030326
cmp dl, 0x23
jne 0x10030320
cmp byte [ecx + 1], dl
je 0x10030326
inc ecx
cmp ecx, 0xffffffff
jb 0x10030310
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 0x10030355
xorps xmm1, xmm1
movss dword [esp + 0x14], xmm1
jmp 0x100303c3
movss xmm3, dword [0x10082e50]
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.10022250
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [0x10082c9c]
jbe 0x1003039a
mov eax, dword [esp + 0x14]
movss xmm1, dword [esp + 0x20]
divss xmm1, dword [eax]
subss xmm0, xmm1
addss xmm0, dword [0x10082d14]
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 0x100303ec
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 0x100303f1
mov byte [esp + 0xd], 0
test dword [edi + 8], 0x4000000
jne 0x1003047c
mov eax, dword [esi + 0x19b8]
cmp dword [esi + 0x19ac], eax
jle 0x1003047c
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 0x1003044b
push 0x4f9
push 0x1007e9f0
push 0x10080d94
call dword [fcn.1003d258]
mov eax, dword [0x1008694c]
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 0x1003047c
mov eax, dword [esi + 0x1a30]
mov byte [esp + 0xe], 1
mov dword [esi + 0x1a30], edi
jmp 0x10030488
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 0x1003061e
test dword [edi + 8], 0x400
mov ecx, dword [esp + 0x10]
je 0x100304ec
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 0x100304ef
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 [0x10082ce4]
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.10015990
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.1002f3e0
add esp, 8
mov byte [esp + 0xf], al
mov ecx, 1
call fcn.1000f020
movss xmm0, dword [esi + 0x1554]
mulss xmm0, dword [0x10082ce4]
movss xmm1, dword [edi + 0xc8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0xc8], xmm1
jmp 0x10030965
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 [0x10082d30]
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 0x100306a8
movss xmm2, dword [edi + 0x238]
jmp 0x100306ab
xorps xmm2, xmm2
comiss xmm4, xmm1
addss xmm2, xmm5
addss xmm2, xmm3
jbe 0x100306c2
movss xmm0, dword [edi + 0x238]
jmp 0x100306c5
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 0x1003073a
mov ecx, dword [ecx + 0xc]
inc ecx
call fcn.10013d10
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.1002f3e0
movss xmm4, dword [esp + 0x1c]
xorps xmm1, xmm1
addss xmm4, dword [edi + 0x24c]
movss xmm0, dword [esi + 0x185c]
add esp, 8
mulss xmm0, dword [0x10082cd4]
mov edx, dword [0x1008694c]
movss xmm6, dword [esp + 0x24]
movss xmm3, dword [0x10082ce4]
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 [0x10082cdc]
addss xmm4, dword [esp + 0x48]
addss xmm6, xmm0
addss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10082d04]
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 [0x10082d0c]
movaps xmm7, xmm4
shufps xmm7, xmm4, 0xff
mulss xmm7, dword [edx + 0x1510]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm2
mulss xmm2, dword [0x10082e5c]
mulss xmm0, dword [0x10082e58]
movss dword [esp + 0x48], xmm2
movss xmm2, dword [0x10082d18]
movss dword [esp + 0x24], xmm0
movaps xmmword [esp + 0x50], xmm4
jbe 0x10030860
xorps xmm0, xmm0
jmp 0x10030867
movaps xmm0, xmm2
minss xmm0, xmm4
movss xmm4, dword [0x10082e1c]
movss xmm5, dword [esp + 0x54]
comiss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm3
cvttss2si ecx, xmm0
jbe 0x1003088b
xorps xmm0, xmm0
jmp 0x10030892
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 0x100308b3
xorps xmm0, xmm0
jmp 0x100308ba
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 0x100308d5
xorps xmm2, xmm2
jmp 0x100308d9
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.1001f550
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x114]
call fcn.10006ea0
mov ah, al
mov al, byte [esp + 0xe]
mov byte [esp + 0xc], ah
test al, al
je 0x1003098c
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1a30], ecx
xor cl, cl
cmp dword [edi + 0x164], 0
jne 0x10030cbe
xor dh, dh
cmp dword [esi + 0x1934], edi
jne 0x10030b8f
mov eax, dword [esi + 0x19b8]
cmp dword [esi + 0x19ac], eax
jle 0x10030b8b
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x19b4]
cmp dword [eax + ecx*4 + 8], edi
jne 0x10030b8b
test dword [edi + 8], 0x400
jne 0x10030b8b
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 0x10030b8b
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 0x10030a4a
movaps xmm3, xmm0
movss dword [esp + 0x10], xmm3
jmp 0x10030a53
movaps xmm3, xmm6
movss dword [esp + 0x10], xmm6
jbe 0x10030a58
movaps xmm6, xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
movss xmm3, dword [0x10082dd0]
andps xmm0, xmmword [0x100830c0]
mulss xmm0, dword [0x10082cd4]
comiss xmm3, xmm0
ja 0x10030a87
movss xmm3, dword [0x10082e00]
minss xmm3, xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, dword [edi + 0xc]
jbe 0x10030a9c
movss xmm0, dword [0x10082e54]
jmp 0x10030aa4
movss xmm0, dword [0x10082ce4]
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 [0x10082e6c]
minss xmm4, dword [0x10082e08]
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 0x10030b89
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 0x10030b89
mov dh, 1
jmp 0x10030b8b
xor dh, dh
mov ah, byte [esp + 0xc]
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10030c46
test ah, ah
jne 0x10030c46
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x1934], edi
jne 0x10030c4a
mov ecx, dword [esi + 0x1944]
test ecx, ecx
je 0x10030c4a
cmp ecx, eax
je 0x10030c4a
test dh, dh
jne 0x10030c4a
mov byte [esp + 0xe], 1
mov ch, byte [esp + 0xe]
xor cl, cl
mov byte [esp + 0xc], cl
cmp dword [esi + 0x1a38], eax
jne 0x10030bf3
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 0x10030cb8
cmp byte [esi + 0x1aa9], 0
je 0x10030cb8
cmp dword [esi + 0x1ab4], 1
jne 0x10030cb8
mov eax, dword [0x1008694c]
mov cl, 1
mov byte [esp + 0xc], cl
mov byte [eax + 0x1aa9], 0
cmp byte [eax + 0x1aa9], 0
jne 0x10030c84
cmp byte [eax + 0x1a91], 0
jne 0x10030c84
mov byte [eax + 0x1a90], 0
jmp 0x10030cb8
mov eax, dword [esp + 0x18]
mov byte [esp + 0xe], 0
test dl, dl
jne 0x10030bd2
mov byte [esp + 0xe], dl
cmp byte [esp + 0xc], dl
je 0x10030bd2
test dh, dh
je 0x10030c77
mov byte [esp + 0xe], dl
cmp byte [esp + 0xf], dl
je 0x10030bd2
xor ch, ch
mov cl, 1
mov byte [esp + 0xe], ch
jmp 0x10030bd8
cmp dword [eax + 0x1a30], 0
mov byte [eax + 0x1a90], 1
jne 0x10030cb8
push 0x1b3c
push 0x1007ea70
push 0x10080808
call dword [fcn.1003d258]
mov cl, byte [esp + 0x18]
add esp, 0xc
mov dl, byte [esp + 0xd]
mov ch, byte [esp + 0xe]
test ch, ch
je 0x10030d2f
jmp 0x10030ce9
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10030d6d
cmp byte [esp + 0xf], 0
je 0x10030d78
test al, al
je 0x10030e02
xor dl, dl
xor cl, cl
mov byte [esp + 0xd], dl
mov byte [esp + 0xc], cl
mov eax, dword [0x1008694c]
mov edi, dword [eax + 0x19b8]
cmp dword [eax + 0x19ac], edi
mov edi, dword [esp + 0x40]
jle 0x10030d2f
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 0x10030d2b
mov ecx, dword [esi + 0x19b8]
call fcn.1000feb0
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xc]
test dl, dl
jne 0x10030e09
test cl, cl
je 0x10030e09
mov eax, dword [esi + 0x19ac]
cmp eax, dword [esi + 0x19b8]
jle 0x10030e09
mov ecx, dword [esp + 0x1c]
call fcn.1000fb20
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1003b130
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xf], 0
jne 0x10030e02
test ah, ah
je 0x10030d84
test al, al
je 0x10030d84
test dl, dl
je 0x10030e02
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x1a34], eax
jne 0x10030d2f
cmp byte [esi + 0x1aa9], 0
je 0x10030d2f
cmp dword [esi + 0x1ab4], 3
jne 0x10030d2f
mov eax, dword [0x1008694c]
mov cl, 1
mov byte [esp + 0xc], cl
mov byte [eax + 0x1aa9], 0
cmp byte [eax + 0x1aa9], 0
jne 0x10030dd2
cmp byte [eax + 0x1a91], 0
jne 0x10030dd2
mov byte [eax + 0x1a90], 0
jmp 0x10030d2f
cmp dword [eax + 0x1a30], 0
mov byte [eax + 0x1a90], cl
jne 0x10030d2f
push 0x1b3c
push 0x1007ea70
push 0x10080808
call dword [fcn.1003d258]
add esp, 0xc
jmp 0x10030d27
mov cl, 1
jmp 0x10030d2f
or dl, cl
mov byte [esp + 0xd], dl
test cl, cl
je 0x10030e20
mov ecx, dword [esp + 0x1c]
call fcn.1000fb20
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10030e86
mov eax, dword [0x1008694c]
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.10010090
mov dl, al
mov ecx, dword [esp + 0x6c]
mov al, dl
pop edi
pop esi
xor ecx, esp
call fcn.1003b130
mov esp, ebp
pop ebp
ret