Function at 0x4b2090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
fld qword [esi + 0x18]
fld qword [esi]
lea edi, [esi + 0x18]
fsub st(1)
fxch st(1)
fstp st(0)
fld qword [edi + 8]
fld qword [esi + 8]
fsub st(1)
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fstp st(0)
fld qword [edi + 0x10]
fld qword [esi + 0x10]
fsub st(1)
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esi + 0x30], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x38], eax
mov dword [esi + 0x34], edx
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x44], eax
mov ecx, dword [edi]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 4]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 8]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x14]
fstp st(0)
fstp qword [esp + 0x24]
mov dword [esp + 0x20], 0x3ff00000
mov dword [esi + 0x5c], eax
call fcn.0042fb20
mov ebp, eax
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4b21f4
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004ce810
add esp, 0x10
lea ecx, [esp + 0x24]
push eax
call fcn.004ce140
lea ecx, [esp + 0x24]
call fcn.004ce6c0
fcom qword [ebp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4b21f2
fld qword [ebp + 0x40]
fdiv st(1)
lea ecx, [esp + 0x24]
fstp qword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea edx, [esp + 0x50]
push ecx
push edx
fstp st(0)
call fcn.004ce810
add esp, 0x10
lea ecx, [esp + 0x24]
push eax
call fcn.004ce140
jmp 0x4b21f4
fstp st(0)
test byte [esi + 0x60], 1
je 0x4b2298
lea ecx, [esp + 0xc0]
call fcn.004cd860
fld qword [ebp + 0x38]
lea eax, [esp + 0xc]
lea ecx, [esp + 0xc0]
push eax
mov dword [esp + 0x144], 0
sub esp, 8
fchs
fstp qword [esp]
call fcn.004cdae0
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.004ce840
lea ecx, [esp + 0x54]
lea edx, [esp + 0x12c]
push ecx
push edi
push edx
call fcn.004ccdc0
mov ecx, dword [eax]
add esp, 0x18
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x3c], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc0]
mov dword [esi + 0x44], edx
mov dword [esp + 0x140], 0xffffffff
call fcn.0042bd50
test byte [esi + 0x60], 2
je 0x4b2330
lea ecx, [esp + 0x78]
call fcn.004cd860
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x38]
lea eax, [esp + 0xc]
mov dword [esp + 0x140], 1
push eax
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.004cdae0
lea eax, [esp + 0x78]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.004ce840
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x114]
push eax
push edi
push ecx
call fcn.004ccdc0
mov edx, dword [eax]
add esp, 0x18
mov dword [esi + 0x48], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x4c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x50], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x54], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x58], edx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x78]
mov dword [esi + 0x5c], eax
mov dword [esp + 0x140], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x138]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
mov esp, ebp
pop ebp
ret