Function at 0x4dd2a0
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
push edi
mov edi, 1
movlpd qword [esp + 0x1c], xmm0
xor ebp, ebp
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x7c], xmm0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x84], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x54], ebp
test esi, esi
jle 0x4dd804
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x38]
add ecx, 0xfffffff8
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x78], eax
nop
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 8]
mov edx, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x7c], edx
test ebx, ebx
jg 0x4dd3b2
jl 0x4dd39a
test edx, edx
jae 0x4dd3b2
mov esi, edx
mov eax, ebx
neg esi
mov dword [esp + 0x90], esi
adc eax, 0
neg eax
mov dword [esp + 0x4c], eax
jmp 0x4dd3bd
mov dword [esp + 0x90], edx
mov dword [esp + 0x4c], ebx
test ebp, ebp
je 0x4dd6a1
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 0x4dd3e6
jl 0x4dd3dc
test esi, esi
jae 0x4dd3e6
sub ebp, edx
sbb eax, ebx
mov dword [esp + 0x64], eax
jmp 0x4dd3ee
mov ebp, esi
mov dword [esp + 0x64], edi
mov eax, edi
cmp dword [esp + 0x54], 1
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
jbe 0x4dd6ba
mov eax, dword [ecx + 4]
mov edi, eax
mov esi, dword [ecx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx - 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx - 4]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], 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 0x4dd460
jl 0x4dd454
cmp dword [esp + 0x10], 0
jae 0x4dd460
sub esi, edx
sbb edi, ebx
sub esi, dword [ecx - 8]
sbb edi, dword [ecx - 4]
jmp 0x4dd48b
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [esp + 0x40]
push dword [esp + 0x4c]
call fcn.005094d0
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 + 0x48]
adc edi, dword [esp + 0x24]
cmp dword [esp + 0x54], 2
mov eax, dword [esp + 0x64]
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
jbe 0x4dd6d3
mov eax, dword [ecx - 8]
mov ebx, dword [ecx - 4]
mov ebp, dword [ecx]
mov dword [esp + 0x38], 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 + 0x40], 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 + 0x7c]
test ecx, ecx
jg 0x4dd53f
jl 0x4dd516
test eax, eax
jae 0x4dd53f
sub ebp, dword [esp + 0x38]
mov eax, ebp
sbb ebx, dword [esp + 0x40]
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 0x4dd543
mov ebp, eax
mov ebx, ecx
cmp dword [esp + 0x54], 3
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
jbe 0x4dd6e8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0x10]
add ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax - 0xc]
adc ecx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov eax, ecx
mov ecx, dword [esp + 0x40]
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 + 0x38], ecx
adc eax, dword [edx + 4]
mov edx, dword [esp + 0x28]
add edx, ecx
adc eax, dword [esp + 0x24]
test eax, eax
jg 0x4dd655
jl 0x4dd620
test edx, edx
jae 0x4dd655
mov ecx, dword [esp + 0x9c]
push 0xffffffffffffffff
push 0xfffffffffffffffa
push dword [esp + 0x24]
push ecx
call fcn.005094d0
mov esi, dword [esp + 0x30]
mov ecx, esi
sub eax, dword [esi]
sbb edx, dword [ecx + 4]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x24]
add eax, dword [esp + 0xa0]
adc edx, dword [esp + 0x10]
jmp 0x4dd684
push 0xffffffffffffffff
push 0xfffffffffffffffc
push dword [esp + 0x84]
push dword [esp + 0x4c]
call fcn.005094d0
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 + 0x38]
adc edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
jmp 0x4dd6f9
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 + 0x94]
add esi, dword [esp + 0x90]
mov edi, dword [esp + 0x4c]
adc dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x14]
add dword [esp + 0x58], esi
mov esi, dword [esp + 0x5c]
adc dword [esp + 0x68], ecx
add esi, dword [esp + 0x10]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x6c]
adc esi, dword [esp + 0x18]
add dword [esp + 0x60], ebp
mov dword [esp + 0x6c], esi
adc dword [esp + 0x70], ebx
add dword [esp + 0x78], eax
mov esi, dword [esp + 0x14]
adc dword [esp + 0x74], edx
test edi, edi
jne 0x4dd762
cmp dword [esp + 0x90], 0x7fffffff
jbe 0x4dd76d
xor edi, edi
mov dword [esp + 0x84], edi
jmp 0x4dd774
mov edi, dword [esp + 0x84]
test ecx, ecx
jne 0x4dd780
cmp esi, 0x7fffffff
jbe 0x4dd78b
mov dword [esp + 0xa4], 0
cmp dword [esp + 0x18], 0
ja 0x4dd79c
cmp dword [esp + 0x10], 0x7fffffff
jbe 0x4dd7a7
mov dword [esp + 0xa8], 0
test ebx, ebx
jne 0x4dd7b3
cmp ebp, 0x7fffffff
jbe 0x4dd7be
mov dword [esp + 0xac], 0
test edx, edx
jne 0x4dd7c9
cmp eax, 0x7fffffff
jbe 0x4dd7d4
mov dword [esp + 0xb0], 0
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0xbc]
inc ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x28], ecx
cmp ebp, esi
jl 0x4dd380
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
jmp 0x4dd84f
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
movsd xmm0, qword [0x53ae40]
movss xmm1, dword [0x53ae50]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [0x53ae48]
movsd qword [esp + 0x38], xmm0
xorps xmm0, xmm0
movsd qword [esp + 0x84], xmm0
test edi, edi
je 0x4dd919
cmp ebp, 0xffffffff
ja 0x4dd919
jb 0x4dd89b
cmp ebx, 0xffffffff
jae 0x4dd919
mov edx, ebp
mov dword [esp + 0x34], ebx
mov ecx, ebx
mov dword [esp + 0x2c], ebp
call fcn.00509b60
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
movsd qword [esp + 0x1c], xmm0
addsd xmm1, qword [esi*8 + 0x5145a0]
movsd qword [esp + 0x4c], xmm1
test ebp, ebp
jne 0x4dd8e6
test ebx, ebx
jne 0x4dd8e6
movsd xmm2, qword [esp + 0x84]
movaps xmm3, xmm2
cvtsd2ss xmm3, xmm3
jmp 0x4dd951
mulsd xmm0, qword [esp + 0x40]
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_log
movsd xmm1, qword [esp + 0x4c]
movaps xmm3, xmm0
mulsd xmm3, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x1c]
movsd xmm2, qword [esp + 0x84]
cvtsd2ss xmm3, xmm3
jmp 0x4dd951
mov edx, ebp
movss dword [esp + 0x1c], xmm1
mov ecx, ebx
call fcn.00509b60
movsd xmm2, qword [esp + 0x84]
movss xmm3, dword [esp + 0x1c]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
addsd xmm1, qword [esi*8 + 0x5145a0]
movsd qword [esp + 0x4c], xmm1
cmp dword [esp + 0xa4], 0
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0x2c]
movss dword [edi], xmm3
je 0x4dd9e0
mov eax, dword [esp + 0x68]
cmp eax, edx
ja 0x4dd9e0
mov ecx, dword [esp + 0x58]
jb 0x4dd97e
cmp ecx, dword [esp + 0x34]
jae 0x4dd9e0
mov dword [esp + 0x34], ecx
mov esi, 1
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x4dd9a1
test ebx, ebx
jne 0x4dd9a1
mulsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x1c], xmm0
jmp 0x4dd9cb
mulsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x1c], xmm0
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_log
movsd xmm1, qword [esp + 0x4c]
movaps xmm2, xmm0
mulsd xmm2, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm2
movss xmm2, dword [0x53ae50]
jmp 0x4dd9f9
mulsd xmm0, qword [esp + 0x40]
xor esi, esi
movss xmm2, dword [0x53ae50]
movaps xmm3, xmm2
movsd qword [esp + 0x1c], xmm0
cmp dword [esp + 0xa8], 0
movss dword [edi + 4], xmm3
je 0x4dda65
mov eax, dword [esp + 0x6c]
cmp eax, edx
ja 0x4dda65
mov edx, dword [esp + 0x5c]
jb 0x4dda1c
cmp edx, dword [esp + 0x34]
jae 0x4dda65
mov dword [esp + 0x34], edx
mov esi, 2
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x4dda48
test ebx, ebx
jne 0x4dda48
movsd xmm0, qword [esp + 0x84]
movss xmm2, dword [0x53ae50]
cvtsd2ss xmm0, xmm0
jmp 0x4dda68
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_log
mulsd xmm0, qword [esp + 0x38]
movss xmm2, dword [0x53ae50]
cvtsd2ss xmm0, xmm0
jmp 0x4dda68
movaps xmm0, xmm2
cmp dword [esp + 0xac], 0
movss dword [edi + 8], xmm0
je 0x4ddade
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x2c]
ja 0x4ddade
mov edx, dword [esp + 0x60]
jb 0x4dda8d
cmp edx, dword [esp + 0x34]
jae 0x4ddade
mov dword [esp + 0x34], edx
mov esi, 3
mov dword [esp + 0x2c], eax
test ebp, ebp
jne 0x4ddab9
test ebx, ebx
jne 0x4ddab9
movsd xmm0, qword [esp + 0x84]
movss xmm2, dword [0x53ae50]
cvtsd2ss xmm0, xmm0
jmp 0x4ddae1
movsd xmm0, qword [esp + 0x1c]
divsd xmm0, qword [esp + 0x4c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_log
mulsd xmm0, qword [esp + 0x38]
movss xmm2, dword [0x53ae50]
cvtsd2ss xmm0, xmm0
jmp 0x4ddae1
movaps xmm0, xmm2
cmp dword [esp + 0xb0], 0
movss dword [edi + 0xc], xmm0
je 0x4ddb3c
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x2c]
ja 0x4ddb3c
jb 0x4ddb06
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x34]
jae 0x4ddb3c
mov esi, 4
test ebp, ebp
jne 0x4ddb1e
test ebx, ebx
jne 0x4ddb1e
movsd xmm0, qword [esp + 0x84]
jmp 0x4ddb35
movsd xmm0, qword [esp + 0x1c]
divsd xmm0, qword [esp + 0x4c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_log
mulsd xmm0, qword [esp + 0x38]
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