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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x1005e040]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [0x100d4a0c]
mov dword [esp + 0x24], eax
movss dword [esp + 0x54], xmm3
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x1a20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], esi
mov byte [eax + 0x78], 1
mov eax, dword [edi + 0x1a20]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x7b], 0
je 0x1002f164
xor al, al
jmp 0x1002f50a
push ecx
push ecx
mov ecx, eax
call fcn.10021ab7
mov ebx, eax
call fcn.1002be42
mov edx, dword [esp + 0x28]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x18]
push 1
push 0
movss dword [esp + 0x58], xmm0
call fcn.10026f86
mov ecx, dword [esp + 0x28]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x1548]
add esp, 0xc
movss xmm2, dword [esp + 0x4c]
addss xmm1, xmm1
mov eax, dword [ecx + 0xcc]
addss xmm2, dword [ecx + 0xc8]
mov edx, dword [ecx + 0xc8]
addss xmm1, dword [esp + 0x18]
mov dword [esp + 0x30], eax
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [edi + 0x1548]
mov dword [esp + 0x4c], eax
addss xmm1, dword [ecx + 0xcc]
mov dword [esp + 0x2c], edx
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm3
movss dword [esp + 0x38], xmm1
jbe 0x1002f212
addss xmm0, dword [edi + 0x155c]
jmp 0x1002f215
xorps xmm0, xmm0
mov eax, dword [esp + 0x4c]
addss xmm2, xmm0
addss xmm1, xmm3
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], edx
push eax
mov edx, ebx
lea ecx, [esp + 0x40]
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
call fcn.100226c3
pop ecx
test al, al
jne 0x1002f284
movss xmm0, dword [esp + 0x44]
lea ecx, [esp + 0x14]
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [edi + 0x1548]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x40]
movss dword [esp + 0x18], xmm0
call fcn.10021e1a
jmp 0x1002f15d
mov edx, ebx
lea ecx, [esp + 0x2c]
call fcn.1002282f
mov byte [esp + 0xf], al
test esi, esi
jne 0x1002f2a8
imul ecx, dword [esp + 0x10], 0xc
mov esi, dword [ecx + 0x1005ecd4]
mov dword [esp + 0x20], esi
jmp 0x1002f2d4
cmp dword [esp + 0x10], 0
jne 0x1002f2d4
mov edx, 0x10054948
xor ecx, ecx
movzx eax, byte [esi + ecx]
cmp al, byte [edx + ecx]
jne 0x1002f2c7
inc ecx
cmp ecx, 3
jne 0x1002f2b6
jmp 0x1002f2d4
mov ecx, esi
call fcn.1002e9a6
mov esi, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push 1
call fcn.1002290d
mov byte [esp + 0x12], al
pop ecx
test al, al
jne 0x1002f318
cmp byte [esp + 0xf], al
je 0x1002f300
cmp byte [edi + 0x3e8], al
jne 0x1002f318
cmp byte [edi + 0x3ed], al
jne 0x1002f318
cmp dword [edi + 0x1b24], ebx
je 0x1002f318
cmp dword [edi + 0x1b30], ebx
jne 0x1002f36a
cmp dword [edi + 0x2c3c], ebx
je 0x1002f36a
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.10021c32
call fcn.10021cbe
mov ecx, edx
call fcn.1002bc26
cmp byte [esp + 0xe], 0
mov dword [edi + 0x1a50], 0xc
jne 0x1002f4e8
cmp byte [edi + 0xf1], 0
jne 0x1002f4e8
cmp byte [edi + 0x3ed], 0
jne 0x1002f4e8
cmp dword [edi + 0x1b30], ebx
je 0x1002f4e8
cmp dword [edi + 0x1a3c], ebx
jne 0x1002f37e
cmp dword [edi + 0x2c3c], ebx
je 0x1002f4ef
movss xmm0, dword [esp + 0x44]
lea ecx, [esp + 0x4c]
subss xmm0, dword [esp + 0x3c]
movss xmm1, dword [edi + 0x1548]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x40]
movss dword [esp + 0x50], xmm0
call fcn.10021e1a
movss xmm0, dword [ebp + 0x18]
movss xmm3, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
push ecx
movss dword [esp], xmm0
mov ecx, ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x34]
call fcn.1002eebd
add esp, 0x14
mov byte [esp + 0xe], al
test al, al
je 0x1002f3f2
mov ecx, dword [0x100d4a0c]
mov byte [ecx + 0x1a4b], 1
cmp dword [edi + 0x1a3c], ebx
jne 0x1002f3ff
push 9
pop ecx
jmp 0x1002f40d
xor ecx, ecx
cmp dword [edi + 0x1a2c], ebx
sete cl
add ecx, 7
movss xmm1, dword [0x100597ac]
call fcn.1002106d
push 1
mov edx, ebx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10026d6b
movss xmm2, dword [edi + 0x154c]
mov dl, 1
pop ecx
push dword [esp + 0x38]
mov ecx, esi
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.10026994
push dword [esp + 0x30]
lea ecx, [esp + 0x74]
push dword [esp + 0x38]
push dword [esp + 0x28]
push 0x40
pop edx
call fcn.1002e0ab
add esp, 0x1c
mov dword [esp + 0x54], 0x3f000000
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], 0x3f000000
add eax, ecx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x54]
push 0
push ecx
push 0
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x40]
call fcn.100267b9
movss xmm0, dword [esp + 0x28]
add esp, 0x14
comiss xmm0, dword [0x10059700]
jbe 0x1002f4e2
movss xmm0, dword [esp + 0x34]
xor edx, edx
addss xmm0, dword [edi + 0x155c]
mov ecx, dword [esp + 0x28]
push 1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x1c], xmm0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.100266aa
add esp, 0xc
mov al, byte [esp + 0xe]
jmp 0x1002f50a
and dword [edi + 0x2c3c], 0
push esi
push dword [esp + 0x28]
mov edx, ebx
lea ecx, [esp + 0x34]
push dword [esp + 0x18]
push dword [esp + 0x34]
call fcn.1002e50b
add esp, 0x10
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004c416
mov esp, ebp
pop ebp
ret