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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov esi, esp
mov dword [esi + 0x24], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
movsd xmm0, qword [ebp + 0x1c]
mov ax, word [ebp + 0x18]
mov eax, dword [ebp + 0x14]
lea eax, [ebp + 0xc]
mov dword [esi + 0x50], eax
mov eax, esp
mov dword [esi + 0xc4], eax
mov dword [esi + 0xd0], 0xffffffff
lea eax, [esi + 0xc8]
mov dword [esi + 0xcc], 0x4753e0
mov edx, dword fs:[0]
mov dword [esi + 0xc8], edx
mov dword fs:[0], eax
movsd qword [esi + 0xb8], xmm0
mov dword [esi + 0xb4], ecx
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x9c]
call fcn.00458370
mov ecx, dword [ebp + 0x14]
call fcn.0046e130
and eax, 0x3000
mov dword [esi + 0x90], eax
cmp dword [esi + 0x90], 0x2000
sete al
and al, 1
mov byte [esi + 0x8f], al
cmp dword [esi + 0x90], 0x3000
sete al
and al, 1
mov byte [esi + 0x8e], al
test byte [esi + 0x8e], 1
je 0x46ef02
mov edx, 0xffffffff
mov eax, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
jmp 0x46ef15
mov ecx, dword [ebp + 0x14]
call fcn.00472b20
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
jmp 0x46ef15
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
mov edi, dword [esi + 0x90]
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00472b40
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x78], eax
test byte [esi + 0x8f], 1
je 0x46efca
movsd xmm0, qword [esi + 0xb8]
movsd qword [esp], xmm0
call fcn.00472c10
fstp qword [esi + 0x60]
movsd xmm0, qword [esi + 0x60]
movsd xmm1, qword [0x495288]
ucomisd xmm0, xmm1
jbe 0x46efca
movsd xmm0, qword [esi + 0xb8]
lea eax, [esi + 0x74]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call fcn.00472c50
fstp qword [esi + 0x58]
movsd xmm0, qword [esi + 0x58]
mov eax, dword [esi + 0x74]
mov dword [esp], eax
call fcn.0048088b
imul eax, eax, 0x7597
mov ecx, 0x186a0
cdq
idiv ecx
add eax, dword [esi + 0x78]
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x78]
add ecx, 0x32
mov dword [esi + 0xd0], 0
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0
lea ecx, [esi + 0x9c]
call fcn.00472c90
sub esp, 8
jmp 0x46eff8
movsd xmm0, qword [esi + 0xb8]
movsd qword [esi + 0x28], xmm0
mov ebx, dword [esi + 0x80]
mov ecx, dword [ebp + 0x14]
call fcn.0046e130
mov ecx, dword [esi + 0x54]
mov edx, eax
mov eax, esp
mov dword [eax + 0xc], edx
lea edx, [esi + 0x94]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x4c
call fcn.00472d00
mov edi, eax
lea ecx, [esi + 0x9c]
mov dword [esi + 0x38], ecx
call fcn.004580a0
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x34], eax
mov eax, esp
mov dword [eax], 0
call fcn.00470890
sub esp, 4
movsd xmm0, qword [esi + 0x28]
mov edx, dword [esi + 0x34]
mov ecx, eax
mov eax, esp
movsd qword [eax + 0x10], xmm0
mov dword [eax + 0xc], ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00470380
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x3c], eax
call fcn.00457a20
mov edx, dword [esi + 0x3c]
mov ecx, eax
mov eax, dword [esi + 0x50]
movzx ebx, word [ebp + 0x18]
mov edi, dword [ebp + 0x14]
movsd xmm0, qword [eax]
movsd qword [esi + 0x68], xmm0
movsd xmm0, qword [esi + 0x68]
mov eax, esp
movsd qword [eax + 8], xmm0
mov dword [eax + 0x1c], edx
mov edx, dword [esi + 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x54]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00472e80
jmp 0x46f0d1
lea ecx, [esi + 0x9c]
call fcn.004576b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0xc8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c