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

Disassembly:
sub esp, 0x40
mov eax, dword [0x10114fd8]
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [eax + 0x3e40]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x48], 0xffffffff
mov dword [esp + 0x18], edi
je 0x1004f778
push esi
call fcn.1004fe4c
mov eax, dword [esp + 0x50]
pop ecx
cmp byte [eax + 0x5a74], 0
je 0x1004f792
push 0
push 0x100d5c28
push 0
call fcn.10013863
add esp, 0xc
mov eax, dword [esi + 0x54]
mov dword [edi + 0xf4], eax
movsx eax, word [esi + 0x1c8]
movss xmm1, dword [esi + 0x50]
movss xmm0, dword [esi + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x44]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x30], xmm0
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
movsx ecx, word [esi + 0x1c6]
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x1004f803
movsx eax, word [esi + 0x4c]
subss xmm0, xmm1
push eax
push esi
movss dword [esp + 0x54], xmm0
call fcn.1002156f
movss xmm0, dword [esp + 0x54]
movss xmm1, dword [esp + 0x40]
pop ecx
movss dword [eax + 8], xmm0
movss xmm0, dword [esp + 0x34]
pop ecx
comiss xmm0, dword [esi + 0xf0]
movss xmm2, dword [0x100bd4f4]
jb 0x1004fbb8
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm1
jb 0x1004fbb8
and dword [esp + 0x40], 0
lea ecx, [esi + 4]
mov eax, dword [esi + 0x6c]
cmp eax, 0x1000000
jne 0x1004f85c
test byte [ecx], 0x40
je 0x1004f860
mov eax, dword [esi + 0x68]
push ecx
and eax, 1
mov dword [esp], 0x3f800000
add eax, 0x2d
push eax
call fcn.1000b657
pop ecx
pop ecx
lea ecx, [esi + 4]
mov dword [esp + 0x40], eax
mov edx, dword [esi + 0x70]
xor eax, eax
cmp edx, 0x1000000
cmove edx, eax
and dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
cmp dword [esi + 0x44], eax
jg 0x1004f889
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x1004f8a3
test byte [ecx], 0x80
je 0x1004f8a3
test dword [esi + 0x64], 0x10000
je 0x1004f89c
mov eax, dword [esi + 0x74]
jmp 0x1004f89f
mov eax, dword [esi + 0x78]
mov dword [esp + 0x3c], eax
mov ax, word [esi + 0x1ce]
shr ax, 0xf
xor al, 1
mov word [esp + 0x4e], ax
mov eax, edx
or eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
jne 0x1004f8d2
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x44], eax
je 0x1004f8d2
cmp byte [esp + 0x4e], 0
je 0x1004f927
test dword [ecx], 0x100000
jne 0x1004f910
mov ecx, dword [edi + 0x264]
movss xmm0, dword [esi + 0x110]
movss xmm1, dword [esi + 0x114]
movss xmm2, dword [esi + 0x118]
mov eax, dword [esi + 0x10c]
mov dword [ecx + 0x60], eax
movss dword [ecx + 0x64], xmm0
movss dword [ecx + 0x68], xmm1
movss dword [ecx + 0x6c], xmm2
mov ecx, dword [esi + 0x160]
push 0
push dword [edi + 0x264]
call fcn.1003a80e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1004f937
test edx, edx
je 0x1004f9e7
movss xmm0, dword [esi + 0xdc]
movss xmm1, dword [esi + 0x100]
movss xmm2, dword [esi + 0x108]
maxss xmm0, dword [esi + 0xfc]
maxss xmm1, dword [esp + 0x38]
minss xmm2, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0xe4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x14], xmm2
minss xmm0, dword [esi + 0x104]
movss dword [esp + 0x10], xmm0
test eax, eax
je 0x1004f9bd
comiss xmm2, xmm1
jbe 0x1004f9bd
push 0
push ecx
and dword [esp], 0
mov ecx, dword [edi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003abaf
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004f9e7
comiss xmm2, xmm1
jbe 0x1004f9e7
push 0
push ecx
and dword [esp], 0
mov ecx, dword [edi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003abaf
cmp byte [esp + 0x4e], 0
je 0x1004fad2
mov ecx, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [ecx + eax*8]
mov dword [esp + 0x40], eax
cmp ecx, eax
jmp 0x1004fac8
movsx eax, word [ecx + 4]
imul ecx, eax, 0x70
push eax
lea eax, [esp + 0xc]
push esi
push eax
add ecx, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
call fcn.1004feda
movss xmm0, dword [esp + 0x18]
add esp, 0xc
maxss xmm0, dword [esi + 0x100]
movss xmm1, dword [esi + 0xfc]
movss xmm2, dword [esi + 0x104]
maxss xmm1, dword [esp + 8]
minss xmm2, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 0x108]
minss xmm0, dword [esp + 0x14]
movss dword [esp + 8], xmm1
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 0x20]
comiss xmm1, xmm0
jae 0x1004fa8b
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm2
ja 0x1004fa9b
movss dword [esp + 0x10], xmm0
mov eax, dword [esp + 0x4c]
push 0
push ecx
and dword [esp], 0
push dword [eax]
mov ecx, dword [edi + 0x264]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003abaf
mov ecx, dword [esp + 0x4c]
add ecx, 8
cmp ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
jbe 0x1004fa0a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1004fb39
movss xmm1, dword [esp + 0x38]
comiss xmm1, dword [esi + 0x100]
jb 0x1004fb39
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x1004fb39
movss xmm0, dword [esi + 0x80]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x30], xmm1
push eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
call fcn.1003aa25
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x1004fd18
movss xmm1, dword [esp + 0x30]
comiss xmm1, dword [esi + 0x100]
jb 0x1004fd18
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x1004fd18
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [edi + 0x264]
mov dword [esp], 0x3f800000
push dword [esi + 0x74]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x7c]
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.1003aa25
movss xmm2, dword [0x100bd4f4]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x1c]
jne 0x1004fbe0
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x1004fbe0
xor ecx, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [eax + ecx - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x1004fbcb
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x1004fd02
movss xmm0, dword [esi + 0x54]
movsx eax, word [esi + 0x4c]
addss xmm0, xmm2
push eax
push esi
maxss xmm0, dword [edi + 0x1e4]
mov byte [esi + 0x1e1], 1
movss dword [esp + 0x24], xmm0
subss xmm0, dword [esi + 0xc0]
movss dword [esp + 0x54], xmm0
call fcn.1002156f
movss xmm0, dword [esp + 0x54]
and dword [esp + 0x54], 0
pop ecx
movss dword [eax + 0xc], xmm0
movss xmm0, dword [edi + 0x1ec]
minss xmm0, dword [esp + 0x20]
movss xmm1, dword [esi + 0x54]
mov ax, word [esi + 0x1d4]
pop ecx
movss dword [esi + 0x120], xmm0
movss dword [esi + 0x100], xmm0
movss xmm0, dword [edi + 0x1ec]
movss dword [esi + 0x128], xmm0
movss dword [esi + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe0]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1d2], ax
subss xmm1, dword [esi + 0xc0]
movss dword [edi + 0xf4], xmm1
cmp dword [esi + 0x40], 0
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
jle 0x1004fcda
mov edi, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x1004fcb6
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
add eax, 0x20
push eax
push edi
call fcn.1004bab6
mov eax, dword [esi + 0x10]
pop ecx
pop ecx
mov ecx, dword [esi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [edi + 0x264]
call fcn.1003a80e
test byte [esi + 0x64], 1
jne 0x1004fd0b
inc dword [esi + 0x68]
pop edi
mov byte [esi + 0x1d7], 0
pop esi
add esp, 0x40
ret
movss xmm2, dword [0x100bd4f4]
jmp 0x1004fbbc