Function at 0x4b4920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a196f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push esi
push edi
sub esp, 0x10
mov edi, ecx
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x30], 0x3ff00000
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], 0
sub esp, 0x10
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
mov eax, esp
lea esi, [edi + 8]
mov dword [esp + 0x2c], 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004bcf60
sub esp, 0x10
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0x54]
mov eax, esp
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], 0x3ff00000
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov dword [esp + 0x54], 0
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
fstp qword [esp + 0x84]
mov dword [eax + 0xc], edx
mov eax, esp
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004bcf60
mov eax, dword [edi]
lea ecx, [esp + 0x44]
fstp qword [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x5c]
fild dword [eax]
mov edx, dword [edi + 4]
fstp qword [esp + 0x78]
fild dword [eax + 4]
fstp qword [esp + 0x80]
fild dword [eax + 8]
fstp qword [esp + 0x88]
fild dword [eax + 0xc]
fstp qword [esp + 0x90]
mov eax, dword [edx + 0x10]
mov edx, dword [eax + edi + 4]
push 0
push 0x5ffa30
lea ecx, [eax + edi + 4]
push 0x5fd238
push 0
push 0x5ffa30
call dword [edx + 4]
push eax
call fcn.0053ce5e
mov eax, dword [eax + 0x10]
add esp, 0x14
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
fmul qword [0x5af430]
fadd qword [0x5b39c0]
fstp qword [esp + 0x34]
fild dword [esp + 0xc]
fmul qword [0x5af430]
fadd qword [0x5b39c0]
fld qword [esp + 0x64]
fcomp qword [0x5b3130]
fld qword [esp + 0x34]
fnstsw ax
test ah, 0x40
jne 0x4b4b0e
fdiv qword [esp + 0x64]
fld qword [esp + 0x2c]
fcomp qword [0x5b3130]
fnstsw ax
test ah, 0x40
jne 0x4b4b27
fxch st(1)
fdiv qword [esp + 0x2c]
fxch st(1)
fild dword [edi + 0xd4]
fild dword [edi + 0xd8]
fstp qword [esp + 0x4c]
fild dword [edi + 0xdc]
fstp qword [esp + 0x54]
fild dword [edi + 0xe0]
fstp qword [esp + 0x5c]
fsub st(1)
fstp qword [esp + 0x44]
fld qword [esp + 0x54]
fadd st(1)
fstp qword [esp + 0x54]
fstp st(0)
fld qword [esp + 0x4c]
fsub st(1)
fstp qword [esp + 0x4c]
fld qword [esp + 0x5c]
fadd st(1)
fstp qword [esp + 0x5c]
fstp st(0)
fld qword [esp + 0x44]
fld qword [esp + 0x54]
fsub st(1)
fcomp qword [0x5b3130]
fnstsw ax
test ah, 1
je 0x4b4bb3
mov eax, dword [edi + 0xdc]
mov edx, dword [edi + 0xd4]
mov ecx, dword [edi + 0xd4]
sub eax, edx
cdq
fstp st(0)
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0x54]
fld qword [esp + 0x5c]
fsub qword [esp + 0x4c]
fcomp qword [0x5b3130]
fnstsw ax
test ah, 1
je 0x4b4bf3
mov eax, dword [edi + 0xe0]
mov edx, dword [edi + 0xd8]
mov ecx, dword [edi + 0xd8]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fst qword [esp + 0x5c]
fstp qword [esp + 0x4c]
fld qword [0x5b3130]
fld qword [esp + 0x54]
fsub st(2)
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
fcom qword [0x5b3130]
fst qword [esp + 0xc]
fnstsw ax
test ah, 0x40
jne 0x4b4c35
fld qword [esp + 0x88]
fsub qword [esp + 0x78]
fmul qword [esp + 0x64]
fdiv st(1)
fstp qword [esp + 0x34]
fstp st(0)
fld qword [esp + 0x5c]
fsub qword [esp + 0x4c]
fst qword [esp + 0x44]
fcomp qword [0x5b3130]
fnstsw ax
test ah, 0x40
jne 0x4b4c68
fstp st(0)
fld qword [esp + 0x90]
fsub qword [esp + 0x80]
fmul qword [esp + 0x2c]
fdiv qword [esp + 0x44]
fld qword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4b4c7b
fstp st(0)
fld qword [esp + 0x34]
fst qword [esp + 0x34]
fld qword [esp + 0x78]
fsub st(2)
mov eax, dword [edi]
mov ecx, edi
fmul st(1)
fstp qword [esp + 0x2c]
fstp st(0)
fstp st(0)
fild dword [edi + 0xe0]
fsubr qword [esp + 0x90]
fstp qword [esp + 0x44]
call dword [eax + 0x54]
cmp eax, 2
jne 0x4b4ccd
fld qword [esp + 0x88]
fsub qword [esp + 0x78]
fmul qword [esp + 0x64]
fld qword [esp + 0xc]
fmul qword [esp + 0x34]
fsubp st(1)
fmul qword [0x5af430]
jmp 0x4b4cf2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
cmp eax, 3
jne 0x4b4cfa
fld qword [esp + 0x88]
fsub qword [esp + 0x78]
fmul qword [esp + 0x64]
fld qword [esp + 0xc]
fmul qword [esp + 0x34]
fsubp st(1)
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0x34]
fcomp qword [0x5b3130]
fnstsw ax
test ah, 0x40
jne 0x4b4d17
fld qword [esp + 0x2c]
fdiv qword [esp + 0x34]
fstp qword [esp + 0x2c]
mov dword [esp + 0x98], 0x5b367c
mov dword [esp + 0xd4], vtable.CSerializable.0
mov dword [esp + 0xc], 2
mov eax, dword [0x5b3680]
mov edi, vtable.CMatrix_double_.0
mov dword [esp + 0x160], 0
mov dword [esp + eax + 0x98], edi
mov ecx, dword [esp + 0x98]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x98]
lea edx, [eax - 0x3c]
mov dword [esp + eax + 0x94], edx
call fcn.004bd050
mov dword [esp + 0x160], 1
mov dword [esp + 0xd8], 0x5b367c
mov dword [esp + method.CSerializable.virtual_0], vtable.CSerializable.0
mov dword [esp + 0xc], 6
mov eax, dword [0x5b3680]
mov byte [esp + 0x160], 2
mov dword [esp + eax + 0xd8], edi
mov ecx, dword [esp + 0xd8]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0xd8]
lea edx, [eax - 0x3c]
mov dword [esp + eax + 0xd4], edx
call fcn.004bd050
mov dword [esp + 0x160], 1
mov dword [esp + 0x118], 0x5b367c
mov dword [esp + method.CSerializable.virtual_0], vtable.CSerializable.0
mov dword [esp + 0xc], 0xe
mov eax, dword [0x5b3680]
mov byte [esp + 0x160], 4
mov dword [esp + eax + 0x118], edi
mov ecx, dword [esp + 0x118]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x118]
lea edx, [eax - 0x3c]
mov dword [esp + eax + 0x114], edx
call fcn.004bd050
fld qword [esp + 0x78]
fst qword [esp + 0x1c]
fld qword [esp + 0x90]
fstp qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [esi + 0x10]
fld st(1)
fmul qword [esi + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
faddp st(1)
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
fadd qword [esi + 0x18]
fld qword [esp + 0x24]
fmul qword [esi + 0x28]
fxch st(2)
fmul qword [esi + 0x20]
mov dword [esp + 0x160], 5
faddp st(2)
fxch st(1)
fadd qword [esi + 0x30]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x24]
fst qword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
fsub qword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
fstp qword [esp + 0x64]
fld qword [esp + 0x6c]
fsub qword [esp + 0x14]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
fstp qword [esp + 0x6c]
fld qword [esp + 0x64]
fadd qword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x98]
fstp qword [esp + 0xc]
fld qword [esp + 0x14]
fadd qword [esp + 0x44]
fstp qword [esp + 0x14]
call fcn.004bd050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xd8]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
call fcn.004bd050
fld qword [esp + 0x34]
fld qword [0x5b39c0]
fsub st(1)
fld qword [esp + 0x1c]
fmul st(1)
fstp qword [esp + 0xf0]
fmul qword [esp + 0x24]
fld qword [esp + 0xe8]
fld qword [esp + 0xe8]
fmul qword [esp + 0xb8]
fld qword [esp + 0xa0]
fmul st(4)
faddp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0xe8]
fmul qword [esp + 0xc0]
fld qword [esp + 0xa8]
fmul st(4)
faddp st(1)
fstp qword [esp + 0xe8]
fld qword [esp + 0xc8]
fmul st(1)
fld qword [esp + 0xb0]
fmul st(4)
faddp st(1)
fadd qword [esp + 0xf0]
fstp qword [esp + 0xf0]
fstp st(0)
fld qword [esp + 0xf8]
fld qword [esp + 0xf8]
fmul qword [esp + 0xa0]
fld qword [esp + 0xb8]
fmul st(4)
faddp st(1)
fstp qword [esp + 0xf8]
fld qword [esp + 0xa8]
fmul st(1)
fld qword [esp + 0xc0]
fmul st(4)
faddp st(1)
fstp qword [esp + 0x100]
fld qword [esp + 0xb0]
fmul st(1)
fld qword [esp + 0xc8]
fmul st(4)
faddp st(1)
fadd st(2)
fstp qword [esp + 0x108]
fstp st(0)
fstp st(0)
fstp st(0)
mov ecx, esi
call fcn.004a58b0
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
push ecx
lea ecx, [esp + 0x124]
call fcn.004bd510
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x118]
push edx
call fcn.00440d70
mov esi, dword [ebp + 8]
lea eax, [esp + 0x118]
push 1
push eax
mov ecx, esi
call fcn.00438ee0
lea ecx, [esp + 0x118]
call fcn.004385d0
lea ecx, [esp + 0xd8]
call fcn.004385d0
lea ecx, [esp + 0x98]
call fcn.004385d0
mov ecx, dword [esp + 0x158]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4