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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [0xe3c018]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x1c]
xorps xmm1, xmm1
movups xmm0, xmmword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
movd xmm0, dword [eax + 8]
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4d0222
sqrtsd xmm0, xmm0
jmp 0x4d0227
call fcn.00dc56b0
cvttsd2si eax, xmm0
mov ecx, 0x10
mov byte [esi + 0x1c], 1
push 0
shl eax, 2
cmp eax, ecx
cmovg ecx, eax
mov dword [esi + 0x14], ecx
lea edi, [ecx*2 + 1]
mov dword [esi + 0x18], edi
mov esi, dword [esi + 0x10]
call fcn.00d9e0ad
xor eax, eax
add esp, 4
test esi, esi
cmovg eax, esi
add eax, 2
imul eax, edi
shl eax, 2
test eax, eax
jne 0x4d026e
xor ecx, ecx
jmp 0x4d0279
push eax
call fcn.00d9e0c8
add esp, 4
mov ecx, eax
mov edi, dword [esp + 0x14]
mov dword [edi], ecx
mov esi, dword [edi + 0x10]
lea edx, [esi - 1]
test edx, edx
js 0x4d02a4
nop dword [eax]
sub edx, 1
mov dword [ecx], 0
mov eax, dword [edi + 0x18]
lea ecx, [ecx + eax*4]
jns 0x4d0290
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov edx, 0x100
imul edx
mov ecx, 0x100
mov dword [esp + 0x48], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x64], edx
mov edx, 0x100
imul edx
push 0x54
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 4]
mov dword [esp + 0x40], edx
imul ecx
push 0
mov dword [esp + 0x5c], eax
mov eax, esi
mov dword [esp + 0x60], edx
imul ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x5c], edx
call fcn.00d9ac00
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
movups xmm0, xmmword [ecx]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0xffffffff
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0x98], eax
movq xmm0, qword [ecx + 0x10]
movq qword [esp + 0xac], xmm0
mov eax, dword [eax]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0x3eb851ec
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
call fcn.004cfe80
push 0x80
mov byte [esp + 0xc8], al
call fcn.00d9e0c8
add esp, 4
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], 0x20
mov dword [esp + 0xcc], eax
call fcn.004d5490
test al, al
je 0x4d0702
nop dword [eax]
movss xmm0, dword [esp + 0x84]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x4d03db
movss xmm1, dword [0xdfe164]
jmp 0x4d03e3
movss xmm1, dword [0xe20550]
mulss xmm0, dword [0xe16ad4]
addss xmm0, xmm1
call fcn.00dc32a0
movss xmm0, dword [esp + 0x8c]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov esi, eax
mov edi, edx
movss dword [esp + 0x20], xmm0
jb 0x4d0419
movss xmm1, dword [0xdfe164]
jmp 0x4d0421
movss xmm1, dword [0xe20550]
mulss xmm0, dword [0xe16ad4]
addss xmm0, xmm1
call fcn.00dc32a0
cmp esi, eax
jne 0x4d043e
cmp edi, edx
je 0x4d06ea
sub esi, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
sbb edi, dword [esp + 0x3c]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x10], edi
sbb edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x24], 0xffffffff
cmp edi, edx
jl 0x4d049c
jg 0x4d0478
cmp esi, eax
jbe 0x4d049c
mov ecx, edi
mov dword [esp + 0x24], 1
mov eax, esi
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x18]
mov edi, edx
mov dword [esp + 0xc], esi
mov edx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
test edi, edi
jg 0x4d04bf
jl 0x4d04a6
test esi, esi
jae 0x4d04bf
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x50]
cmp edx, ecx
jl 0x4d04dd
jg 0x4d04cf
cmp eax, dword [esp + 0x40]
jbe 0x4d04dd
mov eax, dword [esp + 0x40]
mov edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp edi, edx
jg 0x4d06ea
jl 0x4d04ef
cmp esi, eax
jae 0x4d06ea
movss xmm0, dword [esp + 0x80]
mov esi, 0x100
mulss xmm0, dword [0xe16ad4]
mov eax, esi
cdq
movss xmm1, dword [esp + 0x20]
subss xmm1, dword [esp + 0x84]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, dword [esp + 0x80]
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x70], xmm0
andps xmm0, xmmword [0xe20760]
cvttsd2si ecx, xmm0
inc ecx
idiv ecx
cmp eax, 1
jge 0x4d0559
mov eax, 1
jmp 0x4d0561
cmp eax, 0x100
cmovg eax, esi
mov ecx, dword [esp + 0xc]
cdq
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
sub eax, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
sbb eax, 0
mov dword [esp + 0x68], eax
movzx eax, cl
mov edi, 0
sub esi, eax
mov eax, dword [esp + 0x18]
sbb edi, edi
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x10]
cmp ecx, edx
jg 0x4d05bc
jl 0x4d05ac
mov edx, dword [esp + 0x44]
cmp eax, edx
jae 0x4d05c0
cmp edi, ecx
jg 0x4d05b6
jl 0x4d05d2
cmp esi, eax
jb 0x4d05d2
mov esi, eax
mov edi, ecx
jmp 0x4d05d2
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
cmp edi, eax
jg 0x4d05ce
jl 0x4d05d2
cmp esi, edx
jb 0x4d05d2
mov esi, edx
mov edi, eax
mov ecx, esi
mov edx, edi
shrd ecx, edx, 1
sar edx, 1
sub ecx, dword [esp + 0x5c]
sbb edx, dword [esp + 0x60]
add ecx, dword [esp + 0xc]
adc edx, dword [esp + 0x10]
call fcn.00dc34a0
mulsd xmm0, qword [esp + 0x70]
addsd xmm0, qword [esp + 0x78]
call fcn.00dc3390
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], eax
cmp edx, ecx
jg 0x4d0624
jl 0x4d0616
cmp eax, dword [esp + 0x48]
jae 0x4d0624
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
jmp 0x4d0646
mov ecx, dword [esp + 0x68]
cmp ecx, edx
jg 0x4d0642
jl 0x4d0634
cmp dword [esp + 0x20], eax
jae 0x4d0642
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
jmp 0x4d0646
mov dword [esp + 0x34], edx
push 0
push 0x100
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00dc30c0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [edx + 0x18]
imul ecx, eax
mov eax, dword [edx]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x30], edx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 0x14]
jl 0x4d069f
mov ecx, dword [esp + 0x14]
lea eax, [edx + edx]
push eax
call fcn.004d1140
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x18]
imul ecx, dword [esp + 0x6c]
mov eax, dword [eax]
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + edx*8 + 4], eax
mov eax, esi
imul eax, dword [esp + 0x24]
mov dword [ecx + edx*8 + 8], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add ecx, esi
mov edx, dword [esp + 0x2c]
mov esi, 0x100
adc eax, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jl 0x4d0584
jg 0x4d06ea
cmp ecx, dword [esp + 0x18]
jb 0x4d0584
lea ecx, [esp + 0x80]
call fcn.004d5490
test al, al
jne 0x4d03c0
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
movzx ecx, byte [eax + 0x1c]
push ecx
mov ecx, edi
call fcn.004d1010
push dword [esp + 0xc8]
call fcn.00d9e0ad
mov ecx, dword [esp + 0xe0]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret 0x18