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

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb8]
xorps xmm0, xmm0
mov ebp, 0xfffffffc
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x38], ebp
push edi
mov edi, 1
mov dword [esp + 0x7c], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
cmp esi, ebp
jle 0x4ef9aa
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x54]
add ecx, 0xffffffd8
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x70], eax
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 8]
mov edx, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x74], edx
test ebx, ebx
jg 0x4ef55a
jl 0x4ef53f
test edx, edx
jae 0x4ef55a
mov esi, edx
mov eax, ebx
neg esi
mov dword [esp + 0x88], esi
adc eax, 0
neg eax
mov dword [esp + 0x94], eax
jmp 0x4ef568
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ebx
cmp ebp, 0xfffffffc
jle 0x4ef84a
mov ebp, dword [ecx]
mov esi, edx
mov eax, dword [ecx + 4]
sub esi, ebp
mov edi, ebx
sbb edi, eax
test edi, edi
jg 0x4ef592
jl 0x4ef588
test esi, esi
jae 0x4ef592
sub ebp, edx
sbb eax, ebx
mov dword [esp + 0x5c], eax
jmp 0x4ef59a
mov ebp, esi
mov dword [esp + 0x5c], edi
mov eax, edi
cmp dword [esp + 0x3c], 0xfffffffd
mov dword [esp + 0x84], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
jle 0x4ef863
mov eax, dword [ecx + 4]
mov edi, eax
mov esi, dword [ecx]
mov dword [esp + 0x54], eax
mov eax, dword [ecx - 8]
mov dword [esp + 0x38], eax
mov eax, dword [ecx - 4]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
shld edi, esi, 1
mov dword [esp + 0x24], eax
mov eax, edx
add esi, esi
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, ebx
sbb eax, edi
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
adc eax, dword [esp + 0x24]
test eax, eax
jg 0x4ef60c
jl 0x4ef600
cmp dword [esp + 0x10], 0
jae 0x4ef60c
sub esi, edx
sbb edi, ebx
sub esi, dword [ecx - 8]
sbb edi, dword [ecx - 4]
jmp 0x4ef637
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [esp + 0x5c]
push dword [esp + 0x58]
call fcn.00433310
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x30]
mov edi, edx
mov edx, dword [eax]
add esi, edx
adc edi, ebx
add esi, dword [esp + 0x38]
adc edi, dword [esp + 0x24]
cmp dword [esp + 0x3c], 0xfffffffe
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
jle 0x4ef87c
mov eax, dword [ecx - 8]
mov ebx, dword [ecx - 4]
mov ebp, dword [ecx]
mov dword [esp + 0x54], eax
mov eax, dword [ecx - 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ecx - 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ecx - 8]
sub eax, ebp
mov dword [esp + 0x4c], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx - 4]
sbb ecx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
shld ecx, eax, 1
add eax, eax
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
adc dword [esp + 0x14], ecx
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x18]
add eax, edx
mov edx, dword [esp + 0x30]
adc ecx, dword [edx + 4]
mov edx, dword [esp + 0x74]
test ecx, ecx
jg 0x4ef6eb
jl 0x4ef6c2
test eax, eax
jae 0x4ef6eb
sub ebp, dword [esp + 0x54]
mov eax, ebp
sbb ebx, dword [esp + 0x4c]
mov ecx, ebx
shld ecx, eax, 1
add eax, eax
add ebp, eax
mov eax, dword [esp + 0x30]
adc ebx, ecx
sub ebp, edx
sbb ebx, dword [eax + 4]
add ebp, dword [esp + 0x24]
adc ebx, dword [esp + 0x18]
jmp 0x4ef6ef
mov ebp, eax
mov ebx, ecx
cmp dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
jle 0x4ef891
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add ecx, dword [eax - 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 4]
adc ecx, dword [eax - 0xc]
mov dword [esp + 0x74], ecx
mov eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
shld dword [esp + 0x10], ecx, 2
mov eax, dword [esp + 0x28]
shl ecx, 2
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax - 8]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax - 4]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
shld ecx, eax, 1
add eax, eax
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
adc dword [esp + 0x14], ecx
shld dword [esp + 0x14], eax, 1
add eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0x18]
mov eax, dword [eax - 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x10]
add dword [esp + 0x28], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
adc eax, dword [edx + 4]
mov edx, dword [esp + 0x28]
add edx, ecx
adc eax, dword [esp + 0x24]
test eax, eax
jg 0x4ef801
jl 0x4ef7cc
test edx, edx
jae 0x4ef801
mov ecx, dword [esp + 0x9c]
push 0xffffffffffffffff
push 0xfffffffffffffffa
push dword [esp + 0x24]
push ecx
call fcn.00433310
mov esi, dword [esp + 0x30]
mov ecx, esi
sub eax, dword [esi]
sbb edx, dword [ecx + 4]
sub eax, dword [esp + 0x54]
sbb edx, dword [esp + 0x24]
add eax, dword [esp + 0xa0]
adc edx, dword [esp + 0x10]
jmp 0x4ef82d
push 0xffffffffffffffff
push 0xfffffffffffffffc
push dword [esp + 0x7c]
push dword [esp + 0x58]
call fcn.00433310
add eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov ecx, esi
adc edx, dword [esp + 0x14]
add eax, dword [esi]
adc edx, dword [ecx + 4]
add eax, dword [esp + 0x54]
adc edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
jmp 0x4ef8a2
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x8c]
add esi, dword [esp + 0x88]
mov edi, dword [esp + 0x94]
adc dword [esp + 0x90], edi
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x14]
add dword [esp + 0x40], esi
mov esi, dword [esp + 0x44]
adc dword [esp + 0x60], ecx
add esi, dword [esp + 0x10]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x64]
adc esi, dword [esp + 0x18]
add dword [esp + 0x48], ebp
mov dword [esp + 0x64], esi
adc dword [esp + 0x68], ebx
add dword [esp + 0x70], eax
mov esi, dword [esp + 0x14]
adc dword [esp + 0x6c], edx
test edi, edi
jne 0x4ef90e
cmp dword [esp + 0x88], 0x7fffffff
jbe 0x4ef916
xor edi, edi
mov dword [esp + 0x7c], edi
jmp 0x4ef91a
mov edi, dword [esp + 0x7c]
test ecx, ecx
jne 0x4ef926
cmp esi, 0x7fffffff
jbe 0x4ef931
mov dword [esp + 0xa4], 0
cmp dword [esp + 0x18], 0
ja 0x4ef942
cmp dword [esp + 0x10], 0x7fffffff
jbe 0x4ef94d
mov dword [esp + 0xa8], 0
test ebx, ebx
jne 0x4ef959
cmp ebp, 0x7fffffff
jbe 0x4ef964
mov dword [esp + 0xac], 0
test edx, edx
jne 0x4ef96f
cmp eax, 0x7fffffff
jbe 0x4ef97a
mov dword [esp + 0xb0], 0
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0xbc]
inc ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ecx
cmp ebp, esi
jl 0x4ef525
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
jmp 0x4ef9f8
mov eax, dword [esp + 0x98]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], eax
movss xmm1, dword [0x5ebc28]
test edi, edi
je 0x4efa80
cmp ebp, 0xffffffff
ja 0x4efa80
jb 0x4efa10
cmp ebx, 0xffffffff
jae 0x4efa80
mov edx, ebp
mov dword [esp + 0x34], ebx
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call fcn.004334f0
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
movsd qword [esp + 0x1c], xmm0
addsd xmm1, qword [esi*8 + 0x50f650]
movsd qword [esp + 0x7c], xmm1
test ebp, ebp
jne 0x4efa52
test ebx, ebx
jne 0x4efa52
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm3
jmp 0x4efaaf
mulsd xmm0, qword [0x5ebc18]
divsd xmm0, xmm1
call fcn.00505d90
movsd xmm1, qword [esp + 0x7c]
movaps xmm3, xmm0
mulsd xmm3, qword [0x5ebc20]
movsd xmm0, qword [esp + 0x1c]
cvtsd2ss xmm3, xmm3
jmp 0x4efaaf
mov edx, ebp
movss dword [esp + 0x1c], xmm1
mov ecx, ebx
call fcn.004334f0
movss xmm3, dword [esp + 0x1c]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
addsd xmm1, qword [esi*8 + 0x50f650]
movsd qword [esp + 0x7c], xmm1
cmp dword [esp + 0xa4], 0
xorps xmm2, xmm2
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0x2c]
movss dword [edi], xmm3
je 0x4efb47
mov eax, dword [esp + 0x60]
cmp eax, edx
ja 0x4efb47
mov ecx, dword [esp + 0x40]
jb 0x4efadf
cmp ecx, dword [esp + 0x34]
jae 0x4efb47
mov dword [esp + 0x34], ecx
mov esi, 1
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x4efb04
test ebx, ebx
jne 0x4efb04
mulsd xmm0, qword [0x5ebc18]
movsd qword [esp + 0x1c], xmm0
jmp 0x4efb32
mulsd xmm0, qword [0x5ebc18]
movsd qword [esp + 0x1c], xmm0
divsd xmm0, xmm1
call fcn.00505d90
movsd xmm1, qword [esp + 0x7c]
movaps xmm2, xmm0
mulsd xmm2, qword [0x5ebc20]
movsd xmm0, qword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm2
movss xmm2, dword [0x5ebc28]
jmp 0x4efb62
mulsd xmm0, qword [0x5ebc18]
xor esi, esi
movss xmm2, dword [0x5ebc28]
movaps xmm3, xmm2
movsd qword [esp + 0x1c], xmm0
cmp dword [esp + 0xa8], 0
movss dword [edi + 4], xmm3
je 0x4efbca
mov eax, dword [esp + 0x64]
cmp eax, edx
ja 0x4efbca
mov edx, dword [esp + 0x44]
jb 0x4efb85
cmp edx, dword [esp + 0x34]
jae 0x4efbca
mov dword [esp + 0x34], edx
mov esi, 2
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x4efbab
test ebx, ebx
jne 0x4efbab
movss xmm2, dword [0x5ebc28]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm0
jmp 0x4efbcd
divsd xmm0, xmm1
call fcn.00505d90
mulsd xmm0, qword [0x5ebc20]
movss xmm2, dword [0x5ebc28]
cvtsd2ss xmm0, xmm0
jmp 0x4efbcd
movaps xmm0, xmm2
cmp dword [esp + 0xac], 0
movss dword [edi + 8], xmm0
je 0x4efc3f
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x2c]
ja 0x4efc3f
mov edx, dword [esp + 0x48]
jb 0x4efbf2
cmp edx, dword [esp + 0x34]
jae 0x4efc3f
mov dword [esp + 0x34], edx
mov esi, 3
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x4efc18
test ebx, ebx
jne 0x4efc18
movss xmm2, dword [0x5ebc28]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm0
jmp 0x4efc42
movsd xmm0, qword [esp + 0x1c]
divsd xmm0, qword [esp + 0x7c]
call fcn.00505d90
mulsd xmm0, qword [0x5ebc20]
movss xmm2, dword [0x5ebc28]
cvtsd2ss xmm0, xmm0
jmp 0x4efc42
movaps xmm0, xmm2
cmp dword [esp + 0xb0], 0
movss dword [edi + 0xc], xmm0
je 0x4efc99
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x2c]
ja 0x4efc99
jb 0x4efc67
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x34]
jae 0x4efc99
mov esi, 4
test ebp, ebp
jne 0x4efc79
test ebx, ebx
jne 0x4efc79
xorps xmm0, xmm0
jmp 0x4efc92
movsd xmm0, qword [esp + 0x1c]
divsd xmm0, qword [esp + 0x7c]
call fcn.00505d90
mulsd xmm0, qword [0x5ebc20]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss dword [edi + 0x10], xmm2
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret