Function at 0x4b63e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5754be
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x59ad00]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x59ad00]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
movsd xmm0, qword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, ecx
lea ebx, [edi + 0x130]
push ebx
lea eax, [edi + 0x118]
push eax
lea ecx, [edi + 0x100]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [ebp + 0x14]
push ecx
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x2c0]
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x34], ebx
call fcn.00475310
lea ecx, [esp + 0x2b4]
call fcn.004751a0
mov eax, dword [esi + 0xc]
sub eax, 0xc
je 0x4b6b8e
sub eax, 2
je 0x4b675e
sub eax, 5
je 0x4b64b5
movsd xmm0, qword [esp + 0x44]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp], xmm0
push esi
mov ecx, edi
call fcn.004adaa0
jmp 0x4b6f40
movq xmm0, qword [esi + 0x40]
movq qword [esp + 0xec], xmm0
movq xmm0, qword [esi + 0x48]
movq qword [esp + 0xf4], xmm0
movq xmm0, qword [esi + 0x50]
movq qword [esp + 0xfc], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 0x2c], xmm0
andpd xmm0, xmmword [0x57ca30]
comisd xmm0, xmmword [0x57e370]
movsd qword [esp + 0x64], xmm0
jbe 0x4b6535
push ebx
lea edx, [esp + 0x200]
push edx
lea ecx, [esp + 0xf4]
call fcn.00473e10
lea ecx, [esp + 0x1fc]
call fcn.00473c80
fld qword [0x57e388]
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x4b648e
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
mov ecx, esi
call edx
xorps xmm0, xmm0
mov esi, eax
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x9c]
test eax, eax
jle 0x4b6615
mov ebx, ecx
mov dword [esp + 0x24], eax
jmp 0x4b6563
xorps xmm0, xmm0
movsd qword [esp + 0xe4], xmm0
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xd4], xmm0
movsd xmm0, qword [ebx]
subsd xmm0, qword [edi + 0xe8]
movsd qword [esp + 0xd4], xmm0
movsd xmm0, qword [ebx + 8]
subsd xmm0, qword [edi + 0xf0]
lea eax, [esp + 0x2b4]
movsd qword [esp + 0xdc], xmm0
movsd xmm0, qword [ebx + 0x10]
subsd xmm0, qword [edi + 0xf8]
push eax
lea ecx, [esp + 0x1e8]
push ecx
lea ecx, [esp + 0xdc]
movsd qword [esp + 0xec], xmm0
call fcn.00473cd0
movq xmm0, qword [esp + 0x1e4]
movq qword [ebx], xmm0
movq xmm0, qword [esp + 0x1ec]
movq qword [ebx + 8], xmm0
movq xmm0, qword [esp + 0x1f4]
movq qword [ebx + 0x10], xmm0
add ebx, 0x18
dec dword [esp + 0x24]
jne 0x4b6560
mov ebx, dword [esp + 0x28]
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
mov ecx, esi
call eax
movsd xmm0, qword [esi + 0x10]
mov edi, eax
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [edi + 0x18], xmm0
xor eax, eax
push 0x32
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0xa
call fcn.00401b40
xor eax, eax
push 0x32
lea ecx, [esp + 0x50]
mov dword [esp + 0x344], 0xc
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0xa
call fcn.00401a80
movsd xmm2, qword [esp + 0x6c]
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x10]
sub esp, 0x18
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm1
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov byte [esp + 0x360], 0xd
call fcn.004779f0
dec eax
cmp eax, dword [edi + 0x44]
jle 0x4b66c2
mov dword [edi + 0x44], eax
movsd xmm0, qword [esp + 0x64]
comisd xmm0, xmmword [0x57e370]
jbe 0x4b671f
movsd xmm0, qword [ebx + 8]
mulsd xmm0, qword [esp + 0xf4]
movsd xmm1, qword [esp + 0xec]
mulsd xmm1, qword [ebx]
addsd xmm0, xmm1
movsd xmm1, qword [ebx + 0x10]
mulsd xmm1, qword [esp + 0xfc]
addsd xmm0, xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd xmm0, qword [esp + 0x2c]
jbe 0x4b671a
xorpd xmm0, xmmword [0x57ca20]
movsd qword [edi + 0x28], xmm0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.MSVCR100.dll_free]
xor ebx, ebx
cmp eax, ebx
je 0x4b673f
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
cmp eax, ebx
je 0x4b6f42
push eax
call esi
add esp, 4
jmp 0x4b6f42
movsd xmm0, qword [esp + 0x44]
sub esp, 8
movsd qword [esp], xmm0
push ebx
mov ecx, esi
call fcn.00483610
test al, al
je 0x4b6a69
movsd xmm0, qword [esi + 0xb8]
subsd xmm0, qword [edi + 0xe8]
movsd qword [esp + 0x1b4], xmm0
movsd xmm0, qword [esi + 0xc0]
subsd xmm0, qword [edi + 0xf0]
lea eax, [esp + 0x2b4]
movsd qword [esp + 0x1bc], xmm0
movsd xmm0, qword [esi + 0xc8]
subsd xmm0, qword [edi + 0xf8]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1bc]
movsd qword [esp + 0x1cc], xmm0
call fcn.00473cd0
movsd xmm0, qword [esp + 0x34]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x3c]
lea ecx, [esp + 0x7c]
movsd qword [esp], xmm0
call fcn.0049c660
movsd xmm0, qword [esi + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
sub esp, 8
lea eax, [esp + 0x25c]
movsd qword [esp], xmm0
push eax
mov ecx, esi
mov dword [esp + 0x34c], 7
call edx
xorps xmm0, xmm0
movsd qword [esp + 0x114], xmm0
movsd qword [esp + 0x10c], xmm0
movsd qword [esp + 0x104], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [edi + 0xe8]
movsd qword [esp + 0x104], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [edi + 0xf0]
movsd qword [esp + 0x10c], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [edi + 0xf8]
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x10c]
movsd qword [esp + 0x11c], xmm0
call fcn.00473cd0
movsd xmm1, qword [esp + 0x1a4]
movsd xmm0, qword [esp + 0x19c]
movq xmm2, qword [esp + 0x1ac]
sub esp, 0x10
movsd qword [esp + 8], xmm1
lea ecx, [esp + 0x164]
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm1
movq qword [esp + 0x4c], xmm2
movsd qword [esp], xmm0
call fcn.0049c660
movsd xmm0, qword [esi + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
sub esp, 8
lea eax, [esp + 0x274]
movsd qword [esp], xmm0
push eax
mov ecx, esi
mov byte [esp + 0x34c], 8
call edx
xorps xmm0, xmm0
movsd qword [esp + 0xbc], xmm0
movsd qword [esp + 0xcc], xmm0
movsd qword [esp + 0xc4], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [edi + 0xe8]
movsd qword [esp + 0xbc], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [edi + 0xf0]
movsd qword [esp + 0xc4], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [edi + 0xf8]
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0xc4]
movsd qword [esp + 0xd4], xmm0
call fcn.00473cd0
movsd xmm1, qword [esp + 0x18c]
movsd xmm0, qword [esp + 0x184]
movq xmm2, qword [esp + 0x194]
sub esp, 0x10
movsd qword [esp + 8], xmm1
lea ecx, [esp + 0x144]
movq qword [esp + 0x3c], xmm0
movq qword [esp + 0x44], xmm1
movq qword [esp + 0x4c], xmm2
movsd qword [esp], xmm0
call fcn.0049c660
push 0xa0
mov byte [esp + 0x344], 9
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x340], 0xa
test eax, eax
je 0x4b6f3e
movsd xmm1, qword [esi + 0x108]
mulsd xmm1, qword [ebx + 8]
movsd xmm0, qword [esi + 0x100]
mulsd xmm0, qword [ebx]
addsd xmm1, xmm0
movsd xmm0, qword [esi + 0x110]
mulsd xmm0, qword [ebx + 0x10]
addsd xmm1, xmm0
xorps xmm0, xmm0
comisd xmm1, xmm0
jbe 0x4b6a3a
mov cl, 1
jmp 0x4b6a3c
xor cl, cl
sub esp, 8
movsd qword [esp], xmm0
push ecx
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, eax
call fcn.004b9b80
jmp 0x4b6f40
push 0xe0
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x340], 0xb
test eax, eax
je 0x4b6a95
push esi
mov ecx, eax
call fcn.00471690
mov ebx, eax
jmp 0x4b6a97
xor ebx, ebx
mov eax, dword [ebx + 0x90]
mov esi, dword [ebx + 0x9c]
mov dword [esp + 0x340], 0xffffffff
test eax, eax
jle 0x4b6b65
mov dword [esp + 0x24], eax
lea ebx, [ebx]
xorps xmm0, xmm0
movsd qword [esp + 0xb4], xmm0
movsd qword [esp + 0xac], xmm0
movsd qword [esp + 0xa4], xmm0
movsd xmm0, qword [esi]
subsd xmm0, qword [edi + 0xe8]
movsd qword [esp + 0xa4], xmm0
movsd xmm0, qword [esi + 8]
subsd xmm0, qword [edi + 0xf0]
lea eax, [esp + 0x2b4]
movsd qword [esp + 0xac], xmm0
movsd xmm0, qword [esi + 0x10]
subsd xmm0, qword [edi + 0xf8]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xac]
movsd qword [esp + 0xbc], xmm0
call fcn.00473cd0
movq xmm0, qword [esp + 0x2c]
movq qword [esi], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 8], xmm0
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
add esi, 0x18
dec dword [esp + 0x24]
jne 0x4b6ac0
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
mov ecx, ebx
call eax
fld qword [ebx + 0x10]
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [edx]
fstp qword [edi + 0x10]
fld qword [ebx + 0x18]
push 1
mov ecx, ebx
fstp qword [edi + 0x18]
call eax
jmp 0x4b6f42
movsd xmm0, qword [esp + 0x44]
mov ecx, dword [esp + 0x28]
sub esp, 8
movsd qword [esp], xmm0
push ecx
lea ebx, [edi + 0xe8]
push ebx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.00496d30
test al, al
je 0x4b6bbf
xor eax, eax
jmp 0x4b6f44
cmp dword [esi + 0xc], 0xc
jne 0x4b6bff
movsd xmm1, qword [0x57e348]
movsd xmm0, qword [0x57e370]
movsd xmm2, qword [esi + 0x10]
addsd xmm1, xmm0
comisd xmm2, xmm1
jbe 0x4b6e44
movsd xmm1, qword [0x57e350]
subsd xmm1, xmm0
comisd xmm1, xmmword [esi + 0x18]
jbe 0x4b6e44
movsd xmm0, qword [esi + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
sub esp, 8
lea ecx, [esp + 0x28c]
movsd qword [esp], xmm0
push ecx
mov ecx, esi
call edx
xorps xmm0, xmm0
movsd qword [esp + 0x12c], xmm0
movsd qword [esp + 0x124], xmm0
movsd qword [esp + 0x11c], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [ebx]
movsd qword [esp + 0x11c], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [ebx + 8]
movsd qword [esp + 0x124], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [ebx + 0x10]
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x124]
movsd qword [esp + 0x134], xmm0
call fcn.00473cd0
movsd xmm0, qword [esp + 0x154]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [esp + 0x15c]
sub esp, 8
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esi + 0x18]
lea eax, [esp + 0x2a4]
movsd qword [esp], xmm0
push eax
mov ecx, esi
call edx
xorps xmm0, xmm0
movsd qword [esp + 0x9c], xmm0
movsd qword [esp + 0x94], xmm0
movsd qword [esp + 0x8c], xmm0
movsd xmm0, qword [eax]
subsd xmm0, qword [ebx]
movsd qword [esp + 0x8c], xmm0
movsd xmm0, qword [eax + 8]
subsd xmm0, qword [ebx + 8]
movsd qword [esp + 0x94], xmm0
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [ebx + 0x10]
lea eax, [esp + 0x2b4]
push eax
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0x94]
movsd qword [esp + 0xa4], xmm0
call fcn.00473cd0
movsd xmm0, qword [esp + 0x134]
movsd xmm1, qword [esp + 0x13c]
movsd qword [esp + 0x6c], xmm0
subsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x74], xmm1
subsd xmm1, qword [esp + 0x34]
lea ecx, [esp + 0x174]
movsd qword [esp + 0x174], xmm0
movsd qword [esp + 0x17c], xmm1
call fcn.00472ec0
fld qword [0x57e398]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4b6e44
push 0x88
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x44], edi
xor eax, eax
mov dword [esp + 0x340], eax
cmp edi, eax
je 0x4b6e0b
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x218]
call fcn.0049c6a0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x238]
mov byte [esp + 0x344], 1
mov dword [esp + 0x28], 1
call fcn.0049c6a0
mov ecx, dword [esp + 0x28]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x348], 2
mov dword [esp + 0x2c], 3
call fcn.004af970
mov ecx, dword [esp + 0x24]
mov edi, eax
mov edx, vtable.CGeom2d_Abs.0
test cl, 2
je 0x4b6e25
and ecx, 0xfffffffd
mov dword [esp + 0x234], edx
mov dword [esp + 0x340], 0xffffffff
test cl, 1
je 0x4b6e3c
mov dword [esp + 0x214], edx
test eax, eax
jne 0x4b6f42
movsd xmm0, qword [esi + 0xb0]
subsd xmm0, qword [ebx]
movsd qword [esp + 0x1cc], xmm0
movsd xmm0, qword [esi + 0xb8]
subsd xmm0, qword [ebx + 8]
lea edx, [esp + 0x2b4]
movsd qword [esp + 0x1d4], xmm0
movsd xmm0, qword [esi + 0xc0]
subsd xmm0, qword [ebx + 0x10]
push edx
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x1d4]
movsd qword [esp + 0x1e4], xmm0
call fcn.00473cd0
movsd xmm0, qword [esp + 0x13c]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x144]
lea ecx, [esp + 0x7c]
movsd qword [esp], xmm0
call fcn.0049c660
lea ecx, [esp + 0x2b4]
push ecx
lea edx, [esp + 0x158]
push edx
lea ecx, [esi + 0xc8]
mov dword [esp + 0x348], 5
call fcn.00473cd0
movsd xmm0, qword [esp + 0x154]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [esp + 0x15c]
push 0x88
movsd qword [esp + 0x38], xmm0
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0x340], 6
test eax, eax
je 0x4b6f3e
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, eax
call fcn.004af850
jmp 0x4b6f40
xor eax, eax
mov edi, eax
mov eax, edi
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret 0x14