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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
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 + 0xbc], eax
mov dword [esi + 0xc8], 0xffffffff
lea eax, [esi + 0xc0]
mov dword [esi + 0xc4], 0x475400
mov edx, dword fs:[0]
mov dword [esi + 0xc0], edx
mov dword fs:[0], eax
movsd qword [esi + 0xb0], xmm0
mov dword [esi + 0xac], ecx
mov eax, dword [esi + 0xac]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x94]
call fcn.00458370
mov ecx, dword [ebp + 0x14]
call fcn.0046e130
and eax, 0x3000
mov dword [esi + 0x88], eax
cmp dword [esi + 0x88], 0x2000
sete al
and al, 1
mov byte [esi + 0x87], al
cmp dword [esi + 0x88], 0x3000
sete al
and al, 1
mov byte [esi + 0x86], al
test byte [esi + 0x86], 1
je 0x46f202
mov edx, 0xffffffff
mov eax, edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
jmp 0x46f215
mov ecx, dword [ebp + 0x14]
call fcn.00472b20
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
jmp 0x46f215
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov edi, dword [esi + 0x88]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00472b40
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x70], eax
test byte [esi + 0x87], 1
je 0x46f2b7
movsd xmm0, qword [esi + 0xb0]
movaps xmm1, xmmword [0x495290]
pand xmm0, xmm1
movsd xmm1, qword [0x495288]
ucomisd xmm0, xmm1
jbe 0x46f2b7
movsd xmm0, qword [esi + 0xb0]
lea eax, [esi + 0x6c]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call fcn.00481380
fstp qword [esi + 0x58]
movsd xmm0, qword [esi + 0x58]
mov eax, dword [esi + 0x6c]
mov dword [esp], eax
call fcn.0048088b
imul eax, eax, 0x7597
mov ecx, 0x186a0
cdq
idiv ecx
add eax, dword [esi + 0x70]
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x70]
add ecx, 0x32
mov dword [esi + 0xc8], 0
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0
lea ecx, [esi + 0x94]
call fcn.00472c90
sub esp, 8
jmp 0x46f2e5
movsd xmm0, qword [esi + 0xb0]
movsd qword [esi + 0x28], xmm0
mov ebx, dword [esi + 0x78]
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 + 0x8c]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0
call fcn.00472d00
mov edi, eax
lea ecx, [esi + 0x94]
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 + 0x68], eax
mov eax, dword [esi + 0x68]
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 + 0x60], xmm0
movsd xmm0, qword [esi + 0x60]
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 0x46f3bb
lea ecx, [esi + 0x94]
call fcn.004576b0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0xc0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c