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

Disassembly:
sub esp, 0x40
mov eax, dword [0x1010ef08]
push esi
push edi
mov edi, dword [esp + 0x4c]
mov esi, dword [eax + 0x3e40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], esi
cmp dword [edi + 0x48], 0xffffffff
je 0x1004c3f0
push edi
call fcn.1004cabd
mov eax, dword [esp + 0x50]
pop ecx
cmp byte [eax + 0x5a74], 0
je 0x1004c40a
push 0
push 0x100d0528
push 0
call fcn.1000fe23
add esp, 0xc
mov eax, dword [edi + 0x54]
mov dword [esi + 0xf4], eax
movsx eax, word [edi + 0x1c8]
movss xmm1, dword [edi + 0x50]
movss xmm0, dword [edi + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x44]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x30], xmm0
lea ecx, [eax + 1]
mov dword [esp + 0x44], ecx
movsx ecx, word [edi + 0x1c6]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x1004c47b
movsx eax, word [edi + 0x4c]
subss xmm0, xmm1
push eax
push edi
movss dword [esp + 0x54], xmm0
call fcn.1001da26
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 [edi + 0xf0]
movss xmm2, dword [0x100bbe20]
jb 0x1004c82a
movss xmm0, dword [edi + 0xf8]
comiss xmm0, xmm1
jb 0x1004c82a
and dword [esp + 0x40], 0
lea ecx, [edi + 4]
mov eax, dword [edi + 0x6c]
cmp eax, 0x1000000
jne 0x1004c4d4
test byte [ecx], 0x40
je 0x1004c4d8
mov eax, dword [edi + 0x68]
push ecx
and eax, 1
mov dword [esp], 0x3f800000
add eax, 0x2d
push eax
call fcn.10007cd0
pop ecx
pop ecx
lea ecx, [edi + 4]
mov dword [esp + 0x40], eax
mov edx, dword [edi + 0x70]
xor eax, eax
cmp edx, 0x1000000
cmove edx, eax
and dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
cmp dword [edi + 0x44], eax
jg 0x1004c501
mov eax, dword [edi + 0x150]
cmp eax, dword [edi + 0x14c]
jne 0x1004c51b
test byte [ecx], 0x80
je 0x1004c51b
test dword [edi + 0x64], 0x10000
je 0x1004c514
mov eax, dword [edi + 0x74]
jmp 0x1004c517
mov eax, dword [edi + 0x78]
mov dword [esp + 0x3c], eax
mov ax, word [edi + 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 0x1004c54a
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x44], eax
je 0x1004c54a
cmp byte [esp + 0x4e], 0
je 0x1004c59f
test dword [ecx], 0x100000
jne 0x1004c588
mov ecx, dword [esi + 0x264]
movss xmm0, dword [edi + 0x110]
movss xmm1, dword [edi + 0x114]
movss xmm2, dword [edi + 0x118]
mov eax, dword [edi + 0x10c]
mov dword [ecx + 0x60], eax
movss dword [ecx + 0x64], xmm0
movss dword [ecx + 0x68], xmm1
movss dword [ecx + 0x6c], xmm2
mov ecx, dword [edi + 0x160]
push 0
push dword [esi + 0x264]
call fcn.10037684
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x1004c5af
test edx, edx
je 0x1004c65f
movss xmm0, dword [edi + 0xdc]
movss xmm1, dword [edi + 0x100]
movss xmm2, dword [edi + 0x108]
maxss xmm0, dword [edi + 0xfc]
maxss xmm1, dword [esp + 0x38]
minss xmm2, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 0xe4]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x14], xmm2
minss xmm0, dword [edi + 0x104]
movss dword [esp + 0x10], xmm0
test eax, eax
je 0x1004c635
comiss xmm2, xmm1
jbe 0x1004c635
push 0
push ecx
and dword [esp], 0
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10037a25
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004c65f
comiss xmm2, xmm1
jbe 0x1004c65f
push 0
push ecx
and dword [esp], 0
mov ecx, dword [esi + 0x264]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10037a25
cmp byte [esp + 0x4e], 0
je 0x1004c744
mov ecx, dword [edi + 0x20]
movsx eax, word [edi + 0x1ce]
lea eax, [ecx + eax*8]
mov dword [esp + 0x24], eax
cmp ecx, eax
jmp 0x1004c73a
movsx eax, word [ecx + 4]
imul esi, eax, 0x70
push eax
lea eax, [esp + 0xc]
push edi
push eax
add esi, dword [edi + 0x10]
call fcn.1004cb4b
movss xmm0, dword [edi + 0x100]
add esp, 0xc
maxss xmm0, dword [esp + 0xc]
movss xmm2, dword [edi + 0xfc]
maxss xmm2, dword [esp + 8]
movss xmm1, dword [edi + 0x104]
minss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x14]
minss xmm0, dword [edi + 0x108]
movss dword [esp + 8], xmm2
movss dword [esp + 0x10], xmm1
push 0
push ecx
and dword [esp], 0
push dword [eax]
movss dword [esp + 0x20], xmm0
lea eax, [esp + 0x1c]
movss xmm0, dword [esi + 0x20]
maxss xmm0, xmm2
push eax
lea eax, [esp + 0x18]
push eax
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi + 0xc]
mov esi, dword [esp + 0x30]
minss xmm0, xmm1
mov ecx, dword [esi + 0x264]
movss dword [esp + 0x24], xmm0
call fcn.10037a25
mov ecx, dword [esp + 0x4c]
add ecx, 8
cmp ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
jbe 0x1004c682
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1004c7ab
movss xmm1, dword [esp + 0x38]
comiss xmm1, dword [edi + 0x100]
jb 0x1004c7ab
movss xmm0, dword [edi + 0x108]
comiss xmm0, xmm1
jbe 0x1004c7ab
movss xmm0, dword [edi + 0x80]
push ecx
mov ecx, dword [esi + 0x264]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 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.1003789b
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x1004c98a
movss xmm1, dword [esp + 0x30]
comiss xmm1, dword [edi + 0x100]
jb 0x1004c98a
movss xmm0, dword [edi + 0x108]
comiss xmm0, xmm1
jbe 0x1004c98a
movss xmm0, dword [edi + 0x80]
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x264]
mov dword [esp], 0x3f800000
push dword [edi + 0x74]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 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.1003789b
movss xmm2, dword [0x100bbe20]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x18]
jne 0x1004c852
xor edx, edx
cmp dword [edi + 0x40], edx
jle 0x1004c852
xor ecx, ecx
mov eax, dword [edi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [ecx + eax - 6], 0
cmp edx, dword [edi + 0x40]
jl 0x1004c83d
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x28]
jne 0x1004c974
movss xmm0, dword [edi + 0x54]
movsx eax, word [edi + 0x4c]
addss xmm0, xmm2
push eax
push edi
maxss xmm0, dword [esi + 0x1e4]
mov byte [edi + 0x1e1], 1
movss dword [esp + 0x20], xmm0
subss xmm0, dword [edi + 0xc0]
movss dword [esp + 0x54], xmm0
call fcn.1001da26
movss xmm0, dword [esp + 0x54]
and dword [esp + 0x54], 0
pop ecx
movss dword [eax + 0xc], xmm0
movss xmm0, dword [esi + 0x1ec]
minss xmm0, dword [esp + 0x1c]
movss xmm1, dword [edi + 0x54]
mov ax, word [edi + 0x1d4]
pop ecx
movss dword [edi + 0x120], xmm0
movss dword [edi + 0x100], xmm0
movss xmm0, dword [esi + 0x1ec]
movss dword [edi + 0x128], xmm0
movss dword [edi + 0x108], xmm0
movaps xmm0, xmm1
addss xmm1, dword [edi + 0xe0]
subss xmm0, dword [edi + 0x50]
mov word [edi + 0x1d2], ax
subss xmm1, dword [edi + 0xc0]
movss dword [esi + 0xf4], xmm1
cmp dword [edi + 0x40], 0
movss dword [edi + 0x54], xmm1
subss xmm1, xmm0
movss dword [edi + 0x50], xmm1
jle 0x1004c94c
mov esi, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [edi + 0x10]
lea edx, [edx + 0x70]
inc esi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [edi + 0x120]
mov dword [ecx + edx - 0x4c], eax
cmp esi, dword [edi + 0x40]
jl 0x1004c928
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x10]
add eax, 0x20
push eax
push esi
call fcn.10048747
mov eax, dword [edi + 0x10]
pop ecx
pop ecx
mov ecx, dword [edi + 0x160]
movzx eax, word [eax + 0x5c]
push eax
push dword [esi + 0x264]
call fcn.10037684
test byte [edi + 0x64], 1
jne 0x1004c97d
inc dword [edi + 0x68]
mov byte [edi + 0x1d7], 0
pop edi
pop esi
add esp, 0x40
ret
movss xmm2, dword [0x100bbe20]
jmp 0x1004c82e