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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x154]
mov ebp, dword [edi + 0x158]
movss xmm0, dword [eax + 0x224]
comiss xmm0, dword [edi + 0xc8]
jbe 0x436b7a
movss xmm0, dword [edi + 0xd0]
comiss xmm0, dword [eax + 0x21c]
jbe 0x436b7a
movss xmm0, dword [eax + 0x220]
comiss xmm0, dword [edi + 0xc4]
jbe 0x436b7a
movss xmm0, dword [edi + 0xcc]
comiss xmm0, dword [eax + 0x218]
jbe 0x436b7a
mov ebp, dword [ebp + 0x26c]
mov ecx, dword [edi + 0x168]
push 0
push ebp
mov dword [esp + 0x20], ebp
call fcn.0045cf30
push 0
lea eax, [edi + 0x11c]
mov ecx, ebp
push eax
lea eax, [edi + 0x114]
push eax
call fcn.0045a4a0
movsx eax, word [edi + 0x4c]
test eax, eax
jne 0x4366c8
lea ecx, [edi + 0x174]
jmp 0x4366d7
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x18c]
lea ecx, [ecx - 2]
lea ecx, [eax + ecx*8]
mov edx, dword [edi + 4]
xorps xmm2, xmm2
movss xmm4, dword [0x511b04]
test edx, 0x100
je 0x4366f0
movaps xmm2, xmm4
movzx eax, word [edi + 0x1dc]
cmp ax, 1
jl 0x436707
movss xmm1, dword [edi + 0xd8]
jmp 0x43670f
movss xmm1, dword [edi + 0xe8]
cmp byte [edi + 0x1ee], 0
addss xmm1, dword [edi + 0xbc]
movss xmm0, dword [edi + 0xd8]
movss xmm5, dword [edi + 0xe0]
movaps xmm3, xmm0
movss dword [esp + 0x2c], xmm5
maxss xmm3, xmm1
addss xmm3, xmm2
movss dword [esp + 0x20], xmm3
je 0x436768
cmp ax, 1
jge 0x436755
movss xmm0, dword [edi + 0xe8]
addss xmm0, dword [ecx]
movaps xmm2, xmm5
minss xmm2, xmm0
movss dword [esp + 0x24], xmm2
jmp 0x436771
movaps xmm2, xmm3
movss dword [esp + 0x24], xmm3
test edx, 0x200
je 0x4369ac
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jle 0x4369ac
movss xmm6, dword [0x511acc]
mov eax, dword [edi + 0x28]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, ebx
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x436980
mov eax, dword [edi + 0x18]
movsx ecx, word [eax + ebx*2]
movsx eax, word [edi + 0x1c6]
imul edx, ecx, 0x70
add edx, dword [edi + 0x10]
cmp eax, ecx
jne 0x4367d3
mov ax, word [edi + 0x4e]
cmp ax, word [edi + 0x4c]
jne 0x4367d3
mov al, 1
jmp 0x4367d5
xor al, al
mov esi, dword [edx]
movss xmm1, dword [edx + 0xc]
and esi, 0x40000020
comiss xmm1, dword [edi + 0xfc]
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x17], al
jbe 0x4367fb
test al, al
je 0x436980
cmp word [edx + 0x58], 0xffff
jne 0x436827
test esi, esi
je 0x436827
mov esi, dword [edi + 4]
mov eax, esi
and eax, 0xe000
cmp eax, 0x4000
jne 0x436980
test esi, 0x10000
jne 0x436980
movss xmm0, dword [edx + 0x20]
comiss xmm0, xmm1
jae 0x436980
movsx eax, word [edi + 0x1c0]
cmp eax, ecx
je 0x436869
cmp byte [esp + 0x17], 0
jne 0x436869
movsx esi, word [edi + 0x1e0]
lea eax, [ebx + 1]
cmp esi, eax
je 0x436869
test dword [edi + 4], 0x1800
je 0x436869
movaps xmm0, xmm2
movss dword [esp + 0x1c], xmm0
jmp 0x436872
movaps xmm0, xmm5
movss dword [esp + 0x1c], xmm5
comiss xmm0, xmm3
jbe 0x436980
movsx eax, word [edi + 0x1c6]
movsx esi, word [edi + 0x1c0]
cmp eax, ecx
jne 0x43694b
mov ax, word [edi + 0x4e]
cmp ax, word [edi + 0x4c]
jne 0x43694b
mov eax, 1
lea ecx, [eax + 0x1c]
movaps xmm1, xmm4
call fcn.0043b580
movss xmm3, dword [esp + 0x20]
mov ebp, eax
movss xmm6, dword [0x511acc]
movss xmm0, dword [edx + 0xc]
test ebp, 0xff000000
je 0x43697c
mov esi, dword [esp + 0x18]
addss xmm0, xmm6
addss xmm3, xmm6
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x54]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm3
call fcn.00431ef0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x40]
movss dword [esp + 0x40], xmm0
lea ecx, [esi + 0x54]
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x511acc]
push eax
movss dword [esp + 0x48], xmm0
call fcn.00431ef0
push ecx
mov dword [esp], 0x3f800000
push 0
push ebp
push dword [esi + 0x54]
mov ebp, esi
mov ecx, ebp
push dword [ebp + 0x5c]
call fcn.0045a8b0
mov dword [esi + 0x54], 0
jmp 0x436980
xor eax, eax
cmp esi, ecx
je 0x4368a4
movsx ecx, word [edi + 0x1e0]
lea eax, [ebx + 1]
cmp ecx, eax
je 0x436974
test dword [edi + 4], 0x1800
jne 0x436974
mov ebp, dword [edi + 0x7c]
jmp 0x4368bf
mov ebp, dword [edi + 0x78]
jmp 0x4368bf
mov ebp, dword [esp + 0x18]
movss xmm3, dword [esp + 0x20]
inc ebx
movss xmm2, dword [esp + 0x24]
movss xmm4, dword [0x511b04]
movss xmm5, dword [esp + 0x2c]
movss xmm6, dword [0x511acc]
cmp ebx, dword [edi + 0x40]
jl 0x436790
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 0x500
je 0x436ad5
mov esi, dword [edi + 0x78]
movups xmm0, xmmword [edi + 0xc4]
movups xmmword [esp + 0x30], xmm0
cmp ecx, 0x500
jne 0x436a1d
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x40]
addss xmm0, xmm4
sub esp, 0xc
mov ecx, ebp
mov dword [esp + 8], 0x3f800000
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x48]
mov dword [esp], 0
addss xmm0, xmm4
push esi
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.0045c500
jmp 0x436ad5
test eax, 0x400
je 0x436a6a
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebp
push esi
push eax
movss dword [esp + 0x4c], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x54], xmm0
call fcn.0045c450
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
jmp 0x436ab5
test eax, 0x100
je 0x436ad5
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebp
push esi
push eax
movss dword [esp + 0x4c], xmm0
lea eax, [esp + 0x3c]
movss xmm0, dword [esp + 0x40]
push eax
movss dword [esp + 0x54], xmm0
call fcn.0045c450
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x3c]
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x3c]
push esi
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0x50], xmm0
push eax
mov ecx, ebp
call fcn.0045c450
test byte [edi + 4], 0x80
je 0x436b47
movss xmm1, dword [edi + 0x54]
movss xmm0, dword [edi + 0xd0]
comiss xmm0, xmm1
jbe 0x436b47
comiss xmm1, dword [edi + 0x108]
jb 0x436b47
movss xmm0, dword [edi + 0x110]
comiss xmm0, xmm1
jbe 0x436b47
movss xmm0, dword [edi + 0x84]
lea eax, [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebp
push dword [edi + 0x7c]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x80]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x50], xmm1
push eax
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
call fcn.0045c450
mov ecx, dword [ebp + 0x3c]
sub ecx, 1
mov dword [ebp + 0x3c], ecx
jne 0x436b5a
mov eax, dword [ebp + 0x2c]
add eax, 0x18
jmp 0x436b65
mov eax, dword [ebp + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, ebp
movups xmmword [ebp + 0x60], xmm0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
jmp fcn.0045a1e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret