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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f0224
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov esi, dword [ebp + 8]
movsd xmm0, qword [esi + 0x40]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [esi + 0x38]
xor edi, edi
mov ebx, 1
push 2
lea ecx, [esp + 0x3c]
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
call fcn.004587b0
push 2
lea ecx, [esp + 0x30]
mov dword [esp + 0xc4], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
call fcn.00412880
mov byte [esp + 0xc0], bl
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x20], edi
jmp 0x49c2f2
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
push 0
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call edx
mov esi, eax
test esi, esi
je 0x49c369
cmp dword [esi + 0xc], 0x13
jne 0x49c316
mov dword [ebx + edi*4], esi
jmp 0x49c354
push 0xe0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0xc0], 2
test eax, eax
je 0x49c33d
push esi
mov ecx, eax
call fcn.005162a0
jmp 0x49c33f
xor eax, eax
mov dword [ebx + edi*4], eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
mov byte [esp + 0xc4], 1
call edx
mov eax, dword [esp + 0x2c]
movsd xmm0, qword [esp + 0x54]
inc dword [esp + 0x20]
movsd qword [eax + edi*8], xmm0
jmp 0x49c370
mov dword [ebx + edi*4], 0
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ecx + 0x48]
inc edi
cmp edi, 2
movsd qword [esp + 0x54], xmm0
jl 0x49c2f0
mov eax, dword [esp + 0x20]
cmp eax, 2
jge 0x49c4e4
test eax, eax
jne 0x49c3d1
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
test eax, eax
je 0x49c3ad
push eax
call esi
add esp, 4
test ebx, ebx
je 0x49c3b7
push ebx
call esi
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx], 0
jne 0x49c45d
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
fldz
mov ecx, dword [ebp + 8]
mov dword [ebx], eax
movsd xmm0, qword [ecx + 0x30]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x78]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [ecx + 0x40]
push eax
movsd qword [esp + 0x5c], xmm0
call fcn.0046a050
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x9c]
mov ecx, dword [ecx + 0x90]
test ecx, ecx
jle 0x49c4d8
lea esp, [esp]
movq xmm0, qword [esp + 0x6c]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x74]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x7c]
movq qword [eax + 0x10], xmm0
add eax, 0x18
sub ecx, 1
jne 0x49c430
jmp 0x49c4d8
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
fldz
mov ecx, dword [ebp + 8]
mov dword [ebx + 4], eax
movsd xmm0, qword [ecx + 0x30]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x78]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [ecx + 0x48]
push eax
movsd qword [esp + 0x5c], xmm0
call fcn.0046a050
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x9c]
mov ecx, dword [ecx + 0x90]
test ecx, ecx
jle 0x49c4d8
lea esp, [esp]
movq xmm0, qword [esp + 0x6c]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x74]
movq qword [eax + 8], xmm0
movq xmm0, qword [esp + 0x7c]
movq qword [eax + 0x10], xmm0
add eax, 0x18
sub ecx, 1
jne 0x49c4b0
mov dword [esp + 0x20], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push 0
push 0
push ecx
push 0
push 0
push ebx
push 2
push eax
mov ecx, edi
call fcn.004960a0
mov byte [esp + 0x1f], al
xor esi, esi
mov ecx, dword [ebx + esi*4]
test ecx, ecx
je 0x49c515
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, 2
jl 0x49c506
mov eax, dword [ebp + 8]
movsd xmm0, qword [eax + 0x38]
subsd xmm0, qword [eax + 0x30]
movsd xmm1, qword [0x5fc860]
subsd xmm0, qword [eax + 0x70]
andpd xmm0, xmm1
movsd xmm1, qword [0x5ff780]
comisd xmm1, xmm0
jbe 0x49c5bb
mov eax, dword [edi + 0xd0]
mov esi, dword [edi + 0xc8]
lea ecx, [esi + eax]
cmp dword [edi + 0xfc], ecx
jl 0x49c587
mov edx, dword [edi + 0xd8]
shr edx, 2
test dl, 1
je 0x49c57a
mov edx, dword [edi + 0xf4]
movsd xmm0, qword [edx + ecx*8 - 8]
jmp 0x49c58f
mov ecx, dword [edi + 0xf4]
movsd xmm0, qword [ecx + esi*8]
jmp 0x49c58f
movsd xmm0, qword [0x5fb270]
cmp dword [edi + 0xfc], eax
jl 0x49c5a5
mov edx, dword [edi + 0xf4]
movsd xmm1, qword [edx + eax*8 - 8]
jmp 0x49c5a8
xorps xmm1, xmm1
sub esp, 8
subsd xmm0, xmm1
mov ecx, edi
movsd qword [esp], xmm0
call fcn.00468b50
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
test eax, eax
je 0x49c5cf
push eax
call esi
add esp, 4
test ebx, ebx
je 0x49c5d9
push ebx
call esi
add esp, 4
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4