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

Disassembly:
push 8
mov eax, 0x545059
call fcn.004f1313
push ebx
sub esp, 0x1b0
push esi
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x28], ecx
mov ecx, edi
call fcn.004d3b51
mov ecx, edi
mov byte [ebp - 0x17], al
call fcn.004d3e02
xor edx, edx
test al, al
je 0x4e17a4
mov byte [ebp - 0x11], 1
cmp byte [ebx + 0x54], dl
je 0x4e17a7
mov byte [ebp - 0x11], dl
mov esi, dword [ebx + 0x14]
movd xmm2, dword [ebx + 0x18]
mov eax, dword [ebx + 0x44]
cmp dword [ebx + 0x3c], edx
mov ecx, dword [esi + 0x38]
cvtdq2pd xmm2, xmm2
movsd xmm0, qword [ecx + eax*8]
sete byte [ebp - 0x30]
test byte [ebx + 0x40], 1
movaps xmm1, xmm2
mov ecx, dword [ebx + 0xc]
subsd xmm1, xmm0
subsd xmm0, xmm2
mov eax, dword [ecx + 0x2ac]
movsd qword [ebp - 0x100], xmm1
movsd qword [ebp - 0xb8], xmm0
movd xmm1, dword [eax + 0x214]
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [edi + 0x68]
movsd qword [ebp - 0xb0], xmm1
je 0x4e1812
test byte [edi + 0x48], 1
mov byte [ebp - 0x70], 1
jne 0x4e1815
mov byte [ebp - 0x70], dl
movsd xmm0, qword [ebx + 0x24]
addsd xmm0, qword [edi + 0x50]
mov eax, dword [ebp - 0x28]
movsd qword [ebp - 0x78], xmm0
cmp dword [eax + 0x1c], edx
jne 0x4e1831
cmp byte [ebp - 0x17], dl
jne 0x4e1840
mov ecx, edi
call fcn.004d3b59
test al, al
jne 0x4e1840
push 2
jmp 0x4e1842
push 3
mov edx, dword [ebx + 0xc]
movsd xmm0, qword [ebp - 0xb8]
pop ecx
push edi
lea eax, [edx + 0x244]
mov dword [ebp - 0xc0], eax
lea eax, [edx + 0x10]
push eax
push dword [edx + 0x2ac]
lea eax, [edx + 0x244]
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea ecx, [ebp - 0x19c]
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
push dword [ebx + 0x44]
push eax
push esi
call fcn.004d9a83
and dword [ebp - 4], 0
jmp 0x4e2480
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x19c]
call fcn.004dac4a
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
add eax, ecx
push eax
push ecx
mov ecx, dword [ebx + 0x14]
lea esi, [eax - 1]
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x2c], esi
push eax
call fcn.004db7e1
movsd xmm1, qword [ebp - 0x100]
movsd xmm2, qword [ebp - 0x100]
movsd xmm0, qword [ebx + 0x2c]
addsd xmm1, qword [eax]
addsd xmm2, qword [eax + 8]
comisd xmm0, xmm1
movsd qword [ebp - 0x60], xmm1
movsd qword [ebp - 0x58], xmm2
jbe 0x4e247a
comisd xmm2, xmmword [ebx + 0x1c]
jbe 0x4e247a
mov eax, dword [ebx + 0x14]
movsd xmm0, qword [ebx + 0x24]
movsd qword [ebp - 0xb8], xmm0
movsd qword [ebp - 0xe0], xmm0
mov eax, dword [eax + 0x34]
movsd xmm0, qword [ebx + 0x34]
movsd qword [ebp - 0xe8], xmm1
movsd qword [ebp - 0xd8], xmm2
movzx eax, byte [eax + esi]
imul ecx, eax, 0x78
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x14]
movsd qword [ebp - 0x48], xmm0
movsd qword [ebp - 0xd0], xmm0
mov dword [ebp - 0x80], ecx
mov esi, dword [ecx + eax + 0x58]
mov eax, dword [ecx + eax + 0x70]
mov ecx, dword [ebx + 0xc]
add ecx, 0x294
mov dword [ebp - 0x4c], eax
cmp dword [ecx], 0xffffffff
je 0x4e19a1
cmp dword [ecx + 4], 0xffffffff
je 0x4e19a1
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
push eax
call fcn.004da51f
mov edi, dword [ebx + 0x10]
test al, al
je 0x4e19a1
push 0x46
lea eax, [ebp - 0x108]
mov byte [ebp - 0x50], 1
push eax
mov ecx, edi
call fcn.004d32dc
cmp byte [ebp - 0x104], 0
je 0x4e19a5
mov esi, dword [ebp - 0x108]
jmp 0x4e19a5
mov byte [ebp - 0x50], 0
cmp byte [edi + 0x41], 0
je 0x4e1aba
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x2ac]
mov ecx, dword [eax + 0x238]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x4e1aba
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebx + 0x4c]
push eax
call edx
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x4e1aa5
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
imul eax, eax, 0x28
add eax, dword [edi + 0x34]
mov dword [ebp - 0x24], eax
lea ecx, [eax + 8]
mov dword [ebp - 0xbc], ecx
push ecx
mov ecx, eax
call fcn.004a5104
test al, al
jne 0x4e1a86
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x4c]
add ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax + 0x18]
call eax
push dword [ebp - 0xc4]
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
call edx
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0xf0]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xec], edi
push dword [eax + 0x2a0]
call fcn.004da51f
test al, al
je 0x4e1a86
mov eax, dword [ebp - 0xbc]
cmp dword [eax], 0x11
jne 0x4e1aa5
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0xc]
jmp 0x4e1aa5
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x11
jne 0x4e1aa5
test byte [eax + 0x1c], 1
je 0x4e1aa2
mov esi, dword [ebp - 0x84]
or esi, 0xff000000
jmp 0x4e1aa5
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x7c]
jne 0x4e19d6
mov edi, dword [ebx + 0x10]
cmp byte [edi + 0x78], 0
je 0x4e1ad9
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xc0]
push eax
call fcn.004bc469
mov ecx, eax
mov dword [ebp - 0x24], eax
jmp 0x4e1ade
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov eax, dword [edi + 0xf0]
shr eax, 5
test al, 1
je 0x4e1b08
cmp ecx, 1
jne 0x4e1b08
mov eax, dword [ebp - 0x2c]
add eax, dword [ebx + 0x4c]
push edi
push dword [ebx + 0xc]
push eax
call fcn.004de950
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x24], ecx
push ecx
push edi
push dword [ebx + 0xc]
lea eax, [ebp - 0xf8]
push eax
call fcn.004e6d5f
push dword [ebp - 0x2c]
cmp byte [ebp - 0xf4], 0
lea eax, [ebp - 0x34]
push dword [ebp - 0x3c]
cmovne esi, dword [ebp - 0xf8]
push dword [ebp - 0x50]
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x24]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [ebx + 0x14]
push edi
push dword [ebx + 0xc]
push eax
call fcn.004e6f5c
mov ecx, dword [ebp - 0x64]
add esp, 0x38
test ecx, ecx
je 0x4e1f88
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x30]
cmp byte [edx + eax], 9
jne 0x4e1e6d
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], 0
jne 0x4e1bcb
cmp byte [ebp - 0x11], 0
je 0x4e1ba6
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004d3ddd
test al, al
je 0x4e1ba6
push 0x3d
lea eax, [ebp - 0x10c]
mov ecx, edi
push eax
call fcn.004d3336
mov eax, dword [eax]
or eax, 0xff000000
mov dword [ebp - 0x34], eax
jmp 0x4e1ba9
mov eax, dword [ebp - 0x34]
mov edx, dword [ebx + 8]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
mov edx, dword [edx]
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x48]
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0x2c]
cmp byte [ebp - 0x30], 0
je 0x4e1ced
cmp dword [edi + 0xe8], 1
jne 0x4e1ced
mov esi, dword [ebx + 0x14]
lea eax, [ebp - 0x120]
push edx
push eax
mov ecx, esi
call fcn.004db806
movsd xmm0, qword [ebp - 0x120]
movsd xmm4, qword [0x556d68]
movsd xmm3, qword [ebp - 0xb0]
addsd xmm0, xmm4
movsd xmm2, qword [ebp - 0x118]
divsd xmm0, xmm3
cvttsd2si eax, xmm0
movaps xmm0, xmm2
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x4e1ced
test eax, eax
jle 0x4e1cc9
mulsd xmm1, xmm3
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00530a80
movd xmm0, dword [esi + 0x24]
cvtdq2pd xmm0, xmm0
pop ecx
pop ecx
fstp qword [ebp - 0x40]
ucomisd xmm0, qword [ebp - 0x40]
lahf
test ah, 0x44
jp 0x4e1c75
mov al, 1
jmp 0x4e1c77
xor al, al
push dword [ebp - 0x70]
movd xmm0, dword [ebx + 0x18]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
cvtdq2pd xmm0, xmm0
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
addsd xmm0, qword [ebp - 0x40]
push ecx
push ecx
mov ecx, dword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebx + 8]
call fcn.004e24b3
movsd xmm2, qword [ebp - 0x118]
movsd xmm3, qword [ebp - 0xb0]
movsd xmm4, qword [0x556d68]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebx + 0x14]
movaps xmm0, xmm2
inc eax
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jae 0x4e1c40
mov edi, dword [ebx + 0x10]
cmp dword [edi + 0xdc], 0
je 0x4e23c5
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004d3ddd
test al, al
je 0x4e23c5
movsd xmm0, qword [ebp - 0x60]
addsd xmm0, qword [0x54fd48]
mov esi, dword [ebp - 0x28]
cvttsd2si ecx, qword [ebp - 0xb8]
mov eax, dword [edi + 0x48]
cdq
sub eax, edx
sar eax, 1
push 0x3c
movsd qword [ebp - 0x60], xmm0
movd xmm0, dword [esi + 0x58]
add eax, ecx
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x158]
push eax
addsd xmm0, qword [ebp - 0xb8]
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [ebp - 0x58]
subsd xmm0, qword [0x54fd48]
movsd qword [ebp - 0x58], xmm0
movsd xmm0, qword [ebp - 0x48]
subsd xmm0, qword [edi + 0x58]
movsd qword [ebp - 0x48], xmm0
call fcn.004d32dc
cmp byte [eax + 4], 0
je 0x4e1d87
mov eax, dword [eax]
jmp 0x4e1d8a
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0x5c]
sub esp, 0x10
movsd xmm0, qword [0x54fd48]
mov edi, esp
push dword [ebx + 0x10]
push dword [ebp - 0x20]
sub esp, 0x20
push 8
pop ecx
test edx, edx
jne 0x4e1e10
movsd qword [ebp - 0x148], xmm0
lea esi, [ebp - 0x150]
movsd xmm0, qword [ebp - 0x60]
mov dword [ebp - 0x150], eax
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x90], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
push dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
call fcn.004e38af
add esp, 0x3c
jmp 0x4e1f80
movsd qword [ebp - 0x138], xmm0
lea esi, [ebp - 0x140]
movsd xmm0, qword [ebp - 0x60]
mov dword [ebp - 0x140], eax
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa8], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [ebp - 0x90], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
push dword [ebx + 8]
rep movsd dword es:[edi], dword [esi]
call edx
jmp 0x4e1e08
xor edx, edx
cmp dword [edi + 0x84], 0x20
mov byte [ebp - 0x30], dl
jl 0x4e1ee6
mov eax, dword [edi + 0x14]
push esi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x1150]
mov dword [ebp - 0x3c], eax
mov al, byte [edi + 0x84]
mov byte [ebp - 0x18], al
mov eax, dword [ebx + 8]
push ecx
push ecx
mov byte [ebp - 0x17], dl
mov edx, esp
mov eax, dword [eax]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x18]
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e1eb0
movsd xmm0, qword [ebp - 0x78]
sub ecx, esi
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x3c]
mov dword [edx + 4], ecx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [ebp - 0x7c]
jmp 0x4e1f80
mov eax, dword [ecx + 0x18]
shr eax, 4
test al, 1
je 0x4e1ef6
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], esi
test byte [ecx + 0x18], 1
je 0x4e1f3c
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], edx
mov eax, ecx
sete dl
cmp dword [eax + 0x14], 0x10
jb 0x4e1f0f
mov ecx, dword [ecx]
push edx
push esi
push dword [ebp - 0x34]
lea esi, [ebp - 0xe8]
push dword [eax + 0x10]
push ecx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0x10]
push edi
push dword [ebx + 8]
call fcn.004e3a51
add esp, 0x3c
jmp 0x4e23c5
mov eax, dword [ebx + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
mov eax, ecx
cmp dword [eax + 0x14], 0x10
jb 0x4e1f51
mov ecx, dword [ecx]
movsd xmm0, qword [ebp - 0x78]
push esi
push dword [eax + 0x10]
mov eax, dword [edi + 0x14]
lea esi, [ebp - 0xe8]
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
push dword [eax + 0x1150]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call edx
mov edi, dword [ebx + 0x10]
jmp 0x4e23c5
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + eax + 0x68], 0
je 0x4e2008
mov eax, dword [ebx + 0x14]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebx + 8]
movsd xmm0, qword [ebp - 0x78]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x6c]
inc eax
cmp dword [edi + 0x1c], 0
mov edx, dword [edx]
je 0x4e1fe0
push esi
push eax
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x74]
jmp 0x4e2084
push dword [ebp - 0x34]
push esi
push eax
push ecx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x6c]
jmp 0x4e2084
lea edx, [ecx + 0x6b]
add edx, eax
cmp byte [edx], 0
je 0x4e2087
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e2017
mov eax, dword [ebx + 8]
sub ecx, edi
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x78]
mov eax, dword [eax]
cmp dword [edi + 0x1c], 0
je 0x4e205b
push esi
push ecx
push edx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [eax + 0x88]
jmp 0x4e2084
push dword [ebp - 0x34]
push esi
push ecx
push edx
push ecx
push ecx
movsd qword [esp], xmm0
lea esi, [ebp - 0xe8]
push dword [ebp - 0x4c]
sub esp, 0x20
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [eax + pe_nt_image_headers32]
mov edi, dword [ebx + 0x10]
cmp dword [edi + 0xdc], 0
jne 0x4e20a7
cmp byte [ebp - 0x30], 0
je 0x4e23c5
cmp dword [edi + 0xe8], 0
je 0x4e23c5
mov eax, dword [ebp - 0x2c]
xor esi, esi
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], esi
js 0x4e23c5
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x30]
add ecx, esi
cmp byte [ecx + eax], 0x20
jne 0x4e23ac
cmp dword [edi + 0xdc], 0
je 0x4e2286
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004d3ddd
test al, al
je 0x4e2283
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebx + 0x14]
add eax, esi
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.004db806
movsd xmm1, qword [ebp - 0x100]
movaps xmm0, xmm1
addsd xmm1, qword [eax + 8]
addsd xmm0, qword [eax]
mov eax, dword [ebp - 0x28]
movsd qword [ebp - 0x60], xmm1
cmp dword [eax + 0x1c], 0
addsd xmm1, xmm0
movsd qword [ebp - 0x58], xmm0
mulsd xmm1, qword [0x550448]
movsd qword [ebp - 0x48], xmm1
jne 0x4e21b5
cmp byte [ebp - 0x11], 0
je 0x4e21b5
push 0x3d
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.004d3336
movsd xmm0, qword [ebp - 0x58]
lea esi, [ebp - 0xa8]
mov ecx, dword [ebx + 8]
movsd qword [ebp - 0xa8], xmm0
mov eax, dword [eax]
movsd xmm0, qword [ebx + 0x24]
or eax, 0xff000000
mov edx, dword [ecx]
push eax
sub esp, 0x20
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x60]
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebx + 0x34]
push 8
pop ecx
mov edi, esp
movsd qword [ebp - 0x90], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
call dword [edx + 0x48]
movsd xmm1, qword [ebp - 0x48]
mov edi, dword [ebx + 0x10]
jmp 0x4e21b8
mov esi, dword [ebx + 8]
mov ecx, dword [edi + 0xe4]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0x3c
movd xmm0, eax
mov eax, dword [edi + 0x48]
cdq
cvtdq2pd xmm0, xmm0
sub eax, edx
sar eax, 1
movd xmm2, eax
lea eax, [ebp - 0x160]
subsd xmm1, xmm0
movd xmm0, ecx
cvtdq2pd xmm2, xmm2
push eax
mov ecx, edi
cvtdq2pd xmm0, xmm0
addsd xmm2, qword [ebp - 0xb8]
movaps xmm3, xmm0
movsd qword [ebp - 0x48], xmm1
addsd xmm3, xmm1
movaps xmm1, xmm2
movsd qword [ebp - 0x58], xmm2
addsd xmm1, xmm0
movsd qword [ebp - 0x60], xmm3
movsd qword [ebp - 0x40], xmm1
call fcn.004d32dc
cmp byte [eax + 4], 0
je 0x4e222d
mov eax, dword [eax]
jmp 0x4e2230
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x48]
mov edx, dword [esi]
lea esi, [ebp - 0xa8]
push eax
movsd qword [ebp - 0xa8], xmm0
sub esp, 0x20
movsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x60]
push 8
movsd qword [ebp - 0x98], xmm0
movsd xmm0, qword [ebp - 0x40]
pop ecx
mov edi, esp
movsd qword [ebp - 0x90], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call dword [edx + 0x48]
mov edi, dword [ebx + 0x10]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebx + 0x14]
cmp byte [ebp - 0x30], 0
je 0x4e23b0
cmp dword [edi + 0xe8], 1
jne 0x4e23b0
mov eax, dword [ebp - 0x6c]
mov ecx, edx
add eax, esi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.004db806
movsd xmm0, qword [ebp - 0x130]
movsd xmm4, qword [0x556d68]
movsd xmm3, qword [ebp - 0xb0]
addsd xmm0, xmm4
movsd xmm2, qword [ebp - 0x128]
divsd xmm0, xmm3
cvttsd2si eax, xmm0
movaps xmm0, xmm2
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x4e23b0
test eax, eax
jle 0x4e2386
mulsd xmm1, xmm3
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00530a80
mov eax, dword [ebx + 0x14]
fstp qword [ebp - 0x48]
pop ecx
pop ecx
movd xmm0, dword [eax + 0x24]
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [ebp - 0x48]
lahf
test ah, 0x44
jp 0x4e2335
mov al, 1
jmp 0x4e2337
xor al, al
push dword [ebp - 0x70]
movd xmm0, dword [ebx + 0x18]
lea esi, [ebp - 0xe8]
push eax
sub esp, 0x20
cvtdq2pd xmm0, xmm0
push 8
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
addsd xmm0, qword [ebp - 0x48]
push ecx
push ecx
mov ecx, dword [ebp - 0x28]
movsd qword [esp], xmm0
push dword [ebx + 8]
call fcn.004e24b3
movsd xmm2, qword [ebp - 0x128]
movsd xmm3, qword [ebp - 0xb0]
movsd xmm4, qword [0x556d68]
mov eax, dword [ebp - 0x20]
movaps xmm0, xmm2
inc eax
subsd xmm0, xmm4
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm3
comisd xmm0, xmm1
jae 0x4e22fd
mov esi, dword [ebp - 0x24]
jmp 0x4e23b0
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
inc esi
sub eax, dword [ebp - 0x6c]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x24], esi
cmp esi, eax
jle 0x4e20b8
mov al, byte [ebp - 0x50]
lea edx, [edi + 0xa8]
test al, al
je 0x4e23d7
cmp byte [edx], 0
jne 0x4e23eb
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x80]
cmp byte [ecx + eax + 0x61], 0
je 0x4e2480
mov al, byte [ebp - 0x50]
movsd xmm0, qword [ebp - 0x78]
lea esi, [ebp - 0xe8]
lea edi, [ebp - 0xa8]
addsd xmm0, qword [0x54fd48]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
movsd qword [ebp - 0xa0], xmm0
movsd xmm0, qword [ebp - 0x78]
addsd xmm0, qword [0x54fef0]
movsd qword [ebp - 0x90], xmm0
test al, al
je 0x4e2450
cmp byte [edx], 0
je 0x4e2450
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x168]
push 0x46
push eax
call fcn.004d32dc
cmp byte [eax + 4], 0
je 0x4e244a
mov eax, dword [eax]
jmp 0x4e244d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
lea esi, [ebp - 0xa8]
push ecx
mov ecx, esp
sub esp, 0x20
mov eax, dword [eax]
push 8
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
call edx
mov edi, dword [ebx + 0x10]
jmp 0x4e2480
comisd xmm1, xmm0
ja 0x4e2493
lea ecx, [ebp - 0x19c]
call fcn.004dac36
test al, al
jne 0x4e1892
lea ecx, [ebp - 0x19c]
call fcn.004d9f74
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x50