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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x100bd040]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [0x100c353c]
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
push edi
mov edi, dword [eax + 0x3e28]
mov dword [esp + 0x40], edi
cmp dword [esi + 0x5c], 0xffffffff
je 0x1004601d
call fcn.100467aa
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x5a50], 0
je 0x10046035
push 0
mov edx, 0x100b0e00
xor ecx, ecx
call fcn.10014c70
pop ecx
mov eax, dword [esi + 0x68]
mov dword [edi + 0xf0], eax
movsx eax, byte [esi + 0x1c6]
movss xmm6, dword [esi + 0x64]
movss xmm5, dword [esi + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x58]
movss dword [esp + 0x38], xmm6
movss dword [esp + 0x2c], xmm5
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
movsx ecx, byte [esi + 0x1c5]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x1004608f
movsx edx, word [esi + 0x60]
movaps xmm0, xmm5
mov ecx, esi
subss xmm0, xmm6
call fcn.100023e9
movss dword [eax + 4], xmm0
comiss xmm5, dword [esi + 0x104]
movss xmm2, dword [0x100b1aa4]
jb 0x10046443
movss xmm0, dword [esi + 0x10c]
comiss xmm0, xmm6
jb 0x10046443
and dword [esp + 0x14], 0
lea edx, [esi + 4]
mov eax, dword [esi + 0x80]
cmp eax, 0x1000000
jne 0x100460e3
test byte [edx], 0x40
je 0x100460e7
mov ecx, dword [esi + 0x7c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.1000471a
lea edx, [esi + 4]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x84]
xor eax, eax
cmp ecx, 0x1000000
cmove ecx, eax
and dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x58], eax
jg 0x10046113
mov eax, dword [esi + 0x164]
cmp eax, dword [esi + 0x160]
jne 0x10046133
test byte [edx], 0x80
je 0x10046133
test dword [esi + 0x78], 0x10000
je 0x10046129
mov eax, dword [esi + 0x88]
jmp 0x1004612f
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0x1c9]
shr al, 7
mov byte [esp + 0xf], al
mov eax, ecx
or eax, dword [esp + 0x1c]
or eax, dword [esp + 0x14]
jne 0x1004615d
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x10], eax
je 0x1004615d
cmp byte [esp + 0xf], 0
jne 0x100461be
test dword [edx], 0x100000
jne 0x1004619b
mov ecx, dword [edi + 0x260]
movss xmm0, dword [esi + 0x124]
movss xmm1, dword [esi + 0x128]
movss xmm2, dword [esi + 0x12c]
mov eax, dword [esi + 0x120]
mov dword [ecx + 0x60], eax
movss dword [ecx + 0x64], xmm0
movss dword [ecx + 0x68], xmm1
movss dword [ecx + 0x6c], xmm2
mov ecx, dword [esi + 0x174]
push 0
push dword [edi + 0x260]
call fcn.1003cd49
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100461ce
test ecx, ecx
je 0x10046284
movss xmm0, dword [esi + 0xf0]
movaps xmm1, xmm6
movaps xmm2, xmm5
maxss xmm0, dword [esi + 0x110]
maxss xmm1, dword [esi + 0x114]
minss xmm2, dword [esi + 0x11c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0xf8]
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x50], xmm2
minss xmm0, dword [esi + 0x118]
movss dword [esp + 0x4c], xmm0
test eax, eax
je 0x1004625a
comiss xmm2, xmm1
jbe 0x1004625a
push 0
push ecx
and dword [esp], 0
mov ecx, dword [edi + 0x260]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1003c4a2
movss xmm1, dword [esp + 0x14]
movss xmm2, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10046284
comiss xmm2, xmm1
jbe 0x10046284
push 0
push ecx
and dword [esp], 0
mov ecx, dword [edi + 0x260]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1003c4a2
cmp byte [esp + 0xf], 0
jne 0x10046354
mov edx, dword [esi + 0x20]
movsx eax, byte [esi + 0x1c9]
lea eax, [edx + eax*8]
mov dword [esp + 0x20], eax
cmp edx, eax
jmp 0x1004634a
movsx eax, byte [edx + 4]
movss xmm0, dword [esi + 0x64]
maxss xmm0, dword [esi + 0x114]
movss xmm2, dword [esi + 0xf0]
movss xmm1, dword [esi + 0xf8]
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esi + 0x68]
minss xmm0, dword [esi + 0x11c]
push 0
push ecx
and dword [esp], 0
movss xmm3, dword [ecx + eax + 0xc]
maxss xmm2, dword [ecx + eax + 8]
push dword [edx]
minss xmm1, xmm3
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [ecx + eax + 0x20]
lea eax, [esp + 0x58]
mov ecx, dword [edi + 0x260]
maxss xmm2, dword [esi + 0x110]
push eax
minss xmm1, dword [esi + 0x118]
lea eax, [esp + 0x54]
push eax
maxss xmm0, xmm2
minss xmm3, xmm1
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x60], xmm3
call fcn.1003c4a2
mov edx, dword [esp + 0x18]
add edx, 8
cmp edx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
jbe 0x100462a7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100463be
movss xmm1, dword [esp + 0x38]
comiss xmm1, dword [esi + 0x114]
jb 0x100463be
movss xmm0, dword [esi + 0x11c]
comiss xmm0, xmm1
jbe 0x100463be
movss xmm0, dword [esi + 0x94]
push ecx
mov ecx, dword [edi + 0x260]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x44]
movss dword [esp + 0x30], xmm1
push eax
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
call fcn.1003c328
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10046591
movss xmm1, dword [esp + 0x2c]
comiss xmm1, dword [esi + 0x114]
jb 0x10046591
movss xmm0, dword [esi + 0x11c]
comiss xmm0, xmm1
jbe 0x10046591
movss xmm0, dword [esi + 0x94]
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [edi + 0x260]
mov dword [esp], 0x3f800000
push dword [esi + 0x88]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x90]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x30], xmm1
push eax
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
call fcn.1003c328
movss xmm2, dword [0x100b1aa4]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x34]
jne 0x1004646b
xor edx, edx
cmp dword [esi + 0x54], edx
jle 0x1004646b
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov byte [ecx + eax - 6], 0
cmp edx, dword [esi + 0x54]
jl 0x10046456
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10046570
movss xmm1, dword [esi + 0x68]
mov ecx, esi
movsx edx, word [esi + 0x60]
addss xmm1, xmm2
maxss xmm1, dword [edi + 0x1e0]
mov byte [esi + 0x1d8], 1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xd4]
call fcn.100023e9
and dword [esp + 0x34], 0
movss dword [eax + 8], xmm0
minss xmm1, dword [edi + 0x1e8]
mov al, byte [esi + 0x1cc]
movss dword [esi + 0x134], xmm1
movss dword [esi + 0x114], xmm1
movss xmm0, dword [edi + 0x1e8]
movss xmm1, dword [esi + 0x68]
movss dword [esi + 0x13c], xmm0
movss dword [esi + 0x11c], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xf4]
subss xmm0, dword [esi + 0x64]
mov byte [esi + 0x1cb], al
subss xmm1, dword [esi + 0xd4]
movss dword [edi + 0xf0], xmm1
cmp dword [esi + 0x54], 0
movss dword [esi + 0x68], xmm1
subss xmm1, xmm0
movss dword [esi + 0x64], xmm1
jle 0x1004654a
mov edi, dword [esp + 0x34]
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x68]
inc edi
mov al, byte [ecx + edx - 0xf]
mov byte [ecx + edx - 0x11], al
mov eax, dword [esi + 0x134]
mov dword [ecx + edx - 0x44], eax
cmp edi, dword [esi + 0x54]
jl 0x10046528
mov edi, dword [esp + 0x40]
mov edx, dword [esi + 0x10]
mov ecx, edi
add edx, 0x20
call fcn.1004997f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x174]
movzx eax, byte [eax + 0x57]
push eax
push dword [edi + 0x260]
call fcn.1003cd49
test byte [esi + 0x78], 1
jne 0x10046579
inc dword [esi + 0x7c]
mov ecx, dword [esp + 0x54]
pop edi
mov byte [esi + 0x1ce], 0
pop esi
xor ecx, esp
call fcn.10069b82
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x100b1aa4]
jmp 0x10046447