Function at 0x4a9290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x519603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
push edi
lea ecx, [esp + 0x68]
call fcn.0047ded0
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
mov dword [esp + 0xd4], 0
call fcn.0047de80
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x10]
mov ecx, eax
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov dword [esp + 0x70], edx
nop
call 0x608f0b
fstp qword [esp + 0x60]
add esp, 0x10
lea edx, [esp + 0x68]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0xd4], 1
call fcn.0047e900
mov ecx, edi
call fcn.0047e030
fstp qword [esp + 0xc]
mov ecx, edi
call fcn.0047e010
fld qword [esp + 0xc]
fmul qword [esp + 0xc]
fld st(1)
fmul st(2)
mov esi, dword [edi + 0x20]
test esi, esi
faddp st(1)
fsqrt
fadd qword [0x520868]
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x24]
fstp st(0)
fld qword [esp + 0x24]
fchs
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
je 0x4a9486
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00480680
fcom qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4a93e3
mov eax, dword [ebp + 0x28]
mov edx, dword [esi]
fst qword [esp + 0x34]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
fcom qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4a940d
mov eax, dword [ebp + 0x24]
mov edx, dword [esi]
fstp qword [esp + 0xc]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x4a940f
fstp st(0)
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.004806a0
fcom qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4a944f
mov eax, dword [ebp + 0x20]
mov ecx, dword [esi]
fst qword [esp + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4a9479
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi]
fstp qword [esp + 0x2c]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
jmp 0x4a947b
fstp st(0)
mov esi, dword [esi + 0x50]
test esi, esi
jne 0x4a93a3
mov esi, dword [edi + 0x28]
test esi, esi
je 0x4a9673
fld qword [esi + 0x18]
fadd qword [esi]
fstp qword [esp + 0x14]
fld qword [esi + 0x20]
fadd qword [esi + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
fstp qword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edi
push ebx
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.00480680
fcom qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4a94ea
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fst qword [esp + 0x34]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, ebx
mov ecx, edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
fcom qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4a9519
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fstp qword [esp + 0xc]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
jmp 0x4a951b
fstp st(0)
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edi
push ebx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.004806a0
fcom qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4a955f
mov edi, dword [ebp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
fst qword [esp + 0x24]
mov dword [edi], ecx
mov ecx, dword [esp + 0x20]
mov dword [edi + 8], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
jmp 0x4a9562
mov edi, dword [ebp + 0x20]
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4a9591
mov ebx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp qword [esp + 0x2c]
mov dword [ebx], edx
mov edx, dword [esp + 0x20]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edx
jmp 0x4a9596
mov ebx, dword [ebp + 0x1c]
fstp st(0)
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.00480680
fcom qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4a95d6
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi]
fst qword [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
fcom qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4a9600
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi]
fstp qword [esp + 0xc]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
jmp 0x4a9602
fstp st(0)
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.004806a0
fcom qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x4a963f
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
fst qword [esp + 0x24]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
fcom qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4a9666
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
fstp qword [esp + 0x2c]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [ebx + 0xc], edx
jmp 0x4a9668
fstp st(0)
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x4a9491
fld qword [esp + 0x34]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 0x41
je 0x4a96f5
fld qword [esp + 0x24]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 0x41
je 0x4a96f5
fld qword [esp + 0xc]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 1
jne 0x4a96f5
fld qword [esp + 0x2c]
fcomp qword [0x520dc0]
fnstsw ax
test ah, 1
jne 0x4a96f5
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 0
call fcn.00507a00
lea ecx, [esp + 0x68]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00507a00
mov al, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], 0
call fcn.00507a00
lea ecx, [esp + 0x68]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24