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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
cmp dword [esi + 0xcc], 0
jne 0x408e4f
mov eax, dword [ebp + 8]
mov dword [esi + 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x74], eax
push edi
mov edi, dword [ebp + 0x10]
mov al, byte [edi + 0x20]
mov byte [esi + 0xf], al
mov al, byte [edi + 0x1d]
mov byte [esi + 0xd], al
mov al, byte [edi + 0x1e]
mov byte [esi + 0xe], al
mov al, byte [edi + 0x1c]
mov byte [esi + 0xc], al
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x48]
cmp dword [edi + 0x58], 0
jne 0x408c92
lea eax, [edi + 0x60]
lea ecx, [esi + 0x28]
cmp ecx, eax
je 0x408ca3
push 0xffffffffffffffff
push 0
push eax
call fcn.00402280
lea eax, [edi + 0x78]
lea ecx, [esi + 0x40]
cmp ecx, eax
je 0x408cb7
push 0xffffffffffffffff
push 0
push eax
call fcn.00402280
xor eax, eax
xorps xmm1, xmm1
cmp byte [edi + 0x1f], al
sete al
add eax, 2
mov dword [esi + 0x58], eax
comiss xmm1, dword [edi + 0x34]
jbe 0x408d12
mov eax, dword [esi + 0x74]
mov dword [esi + 0x64], 0
movss xmm3, dword [eax + 0x20]
movss dword [esi + 0x68], xmm3
movss xmm2, dword [edi + 0x30]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x408d1e
movss xmm0, dword [esi + 0x18]
comiss xmm0, xmm1
jb 0x408d04
movss dword [esi + 0x84], xmm2
jmp 0x408d28
subss xmm2, xmm3
movss dword [esi + 0x84], xmm2
jmp 0x408d28
mov eax, dword [edi + 0x30]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x68], eax
mov dword [esi + 0x84], 0
comiss xmm1, dword [esi + 0x18]
jbe 0x408d49
movss xmm0, dword [esi + 0x84]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x408d49
mov dword [esi + 0x84], 0xb58637bd
comiss xmm1, dword [esi + 0x24]
jb 0x408d56
mov dword [esi + 0x6c], 0x3f7fffef
mov eax, dword [edi + 0x90]
cmp eax, dword [edi + 0x94]
je 0x408dd7
mov ecx, dword [edi + 0x94]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
push ebx
sar edx, 2
lea ebx, [esi + 0x88]
mov ecx, edx
mov dword [ebp + 0xc], ebx
shr ecx, 0x1f
add ecx, edx
push ecx
mov ecx, ebx
call fcn.00409610
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x408dd6
xor ebx, ebx
mov esi, eax
jmp 0x408db0
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x90]
add eax, ebx
mov ecx, dword [ecx]
add ecx, ebx
cmp ecx, eax
je 0x408dcd
push 0xffffffffffffffff
push 0
push eax
call fcn.00402280
add ebx, 0x18
dec esi
jne 0x408db0
mov esi, dword [ebp - 4]
pop ebx
call fcn.0040a420
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x78], eax
mov edx, dword [eax]
push dword [ecx + 0x80]
mov ecx, eax
push esi
push dword [esi + 0xcc]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x78]
xorps xmm0, xmm0
mov eax, dword [esi + 0x84]
pop edi
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x78]
movss xmm1, dword [eax + 0x14]
comiss xmm0, xmm1
jbe 0x408e21
movss xmm0, dword [esi + 0x68]
subss xmm0, xmm1
movss dword [eax + 0x14], xmm0
mov eax, dword [esi + 0x74]
cmp dword [eax + 0x84], 0
je 0x408e4f
call fcn.0040a4d0
mov ecx, dword [esi + 0x74]
mov dword [esi + 0xd0], eax
mov edx, dword [eax]
push dword [ecx + 0x84]
mov ecx, eax
push esi
push dword [esi + 0xcc]
call dword [edx + 0x14]
pop esi
mov esp, ebp
pop ebp
ret 0xc