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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
movsd xmm2, qword [0x413f20]
push esi
push edi
mov edi, dword [0x417874]
movss xmm3, dword [0x413f78]
movzx ebx, byte [0x4168c0]
mov esi, dword [edi + 0xc]
add esi, 0x14
mov eax, esi
shr eax, 0x1f
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov edx, dword [esi]
addsd xmm0, qword [eax*8 + 0x413f80]
mulsd xmm0, xmm2
addsd xmm0, qword [0x413f38]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm3
cmp edx, esi
je 0x40ded2
lea ecx, [edx + 0x24]
movd xmm1, ecx
mov eax, ecx
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtps2pd xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x413f80]
mov eax, dword [ecx + 4]
cmp dword [eax + 0xe], 0x2e0032
mulsd xmm1, xmm2
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
je 0x40dea2
mov edx, dword [edx]
cmp edx, esi
jne 0x40de66
jmp 0x40ded2
movd xmm1, edi
cvtdq2pd xmm1, xmm1
shr edi, 0x1f
cvtps2pd xmm0, xmm0
addsd xmm1, qword [edi*8 + 0x413f80]
mov edi, dword [edx + 0x10]
mov dword [0x417874], edi
mulsd xmm1, qword [0x413f40]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mov eax, dword [edi + 0x3c]
addss xmm0, xmm3
add eax, edi
mov dword [0x41785c], edi
mov dword [0x417858], eax
add eax, 0x78
mov dword [0x41778c], eax
cvtps2pd xmm1, xmm0
mov esi, dword [eax]
mov eax, edi
add esi, edi
shr eax, 0x1f
mov dword [0x417860], esi
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mov ecx, dword [esi + 0x20]
add ecx, edi
mov edx, dword [esi + 0x1c]
mov dword [0x417788], ecx
add edx, edi
mov dword [0x417864], edx
addsd xmm0, qword [eax*8 + 0x413f80]
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [0x417780], eax
mulsd xmm0, qword [0x413f30]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x413f28]
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x413f80]
mulsd xmm0, qword [0x413f58]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x413f80]
mulsd xmm0, qword [0x413f60]
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
ucomiss xmm0, dword [0x413f18]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jp 0x40dfcb
push dword [ebp - 8]
push str.msg_title
push str.Output_on_a_display
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, dword [0x417874]
push 4
lea edx, [ebp - 8]
mov word [ebp - 7], 0x7463
mov ecx, 0xb
mov byte [ebp - 5], 0
mov byte [ebp - 8], 0x65
call fcn.0040e1f0
lea ecx, [ebp - 0xc]
add eax, edi
push ecx
lea ecx, [ebx - 1]
mov dword [0x41777c], eax
shl ecx, 4
push ecx
push 0x1000
push 0x4168e8
call eax
add esp, 0x14
mov dword [0x41786c], 0x416948
mov dword [0x417868], 0x4168e8
mov esi, 0x4984e1a1
mov edx, 0xc3a86a46
mov edi, 0x3f
nop dword [eax]
mov eax, edx
mov ecx, esi
shld eax, ecx, 7
shrd esi, edx, 1
shl ecx, 7
or byte [edi + 0x4168e8], cl
shr edx, 1
sub edi, 1
jns 0x40e030
mov ecx, dword [0x4176ac]
xor eax, eax
sub dword [eax + 0x4168e8], ecx
add eax, 4
cmp eax, 0x59
jl 0x40e054
push 0x1d4
push ecx
push 0x416948
mov eax, 0x4168e8
call eax
mov eax, dword [0x417860]
add esp, 0xc
mov ebx, dword [0x417874]
xor esi, esi
mov edi, dword [eax + 0x18]
test edi, edi
je 0x40e0bc
nop dword [eax + eax]
mov eax, dword [0x417788]
mov edx, dword [eax + esi*4]
add edx, ebx
xor ecx, ecx
nop dword [eax]
mov al, byte [edx + ecx + 0xa]
cmp al, byte [ecx + 0x413e68]
jne 0x40e0b2
inc ecx
cmp ecx, 3
jb 0x40e0a0
cmp ecx, 3
je 0x40e11a
inc esi
cmp esi, edi
jb 0x40e090
xor esi, esi
mov dword [ebp - 8], esi
test edi, edi
je 0x40e0ed
mov eax, dword [0x417788]
mov edx, dword [eax + esi*4]
add edx, ebx
xor ecx, ecx
mov al, byte [edx + ecx + 6]
cmp al, byte [ecx + 0x413e6c]
jne 0x40e0e3
inc ecx
cmp ecx, 3
jb 0x40e0d1
cmp ecx, 3
je 0x40e133
inc esi
cmp esi, edi
jb 0x40e0c5
xor eax, eax
push dword [0x417870]
push dword [0x4176ac]
push dword [ebp - 8]
push eax
push ebx
call dword [0x41786c]
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004014de
mov esp, ebp
pop ebp
ret
mov eax, dword [0x417780]
mov ecx, dword [0x417864]
movzx eax, word [eax + esi*2]
xor esi, esi
mov eax, dword [ecx + eax*4]
mov dword [ebp - 8], eax
jmp 0x40e0c5
mov eax, dword [0x417780]
mov ecx, dword [0x417864]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
jmp 0x40e0ef