Function at 0x4a526c
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5ed2ae
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push esi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x67ace0]
lea eax, [esp + 0x40]
push eax
call fcn.004ea960
mov eax, dword [esi + 0x50c]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov dword [esp + 8], edx
mov ecx, eax
shr ecx, 8
fild dword [esp + 8]
movzx edx, cl
fld qword [0x5fdf28]
fmul st(1), st(0)
mov dword [esp + 8], edx
fxch st(1)
movzx ecx, al
fstp dword [esp + 0x2c]
fild dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
shr eax, 0x18
fmul st(1)
mov dword [esp + 0x40], edx
fstp dword [esp + 0x30]
fild dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
fmul st(1)
lea eax, [esp + 0x40]
push eax
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
fild dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x67ace0]
fmulp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
call fcn.004ea930
mov ecx, dword [0x67ace0]
push 1
push 0x16
call fcn.004eb0d0
mov eax, dword [esi + 0x4c0]
cmp eax, 3
ja case.default.0x4a4f96
jmp dword [eax*4 + 0x4a53a0]
mov ecx, esi
call fcn.004a4750
mov ecx, esi
call fcn.0053f0c0
mov ecx, esi
call fcn.004a47d0
mov ecx, esi
call fcn.004a47e0
mov ecx, esi
call fcn.0053f120
mov ecx, esi
call fcn.004a4850
jmp case.default.0x4a4f96
fld1
fcomp dword [esi + 0x4d4]
fnstsw ax
test ah, 0x44
jnp case.0x4a4f96.0
fldz
fcomp dword [esi + 0x4d4]
fnstsw ax
test ah, 5
jp case.default.0x4a4f96
mov ecx, esi
call fcn.004a4880
mov ecx, esi
call fcn.0053f0c0
mov ecx, esi
call fcn.0053f120
mov ecx, esi
call fcn.004a49b0
jmp case.default.0x4a4f96
mov ecx, esi
call fcn.004a49e0
mov ecx, esi
call fcn.0053f0c0
mov ecx, esi
call fcn.0053f120
mov ecx, esi
call fcn.004a4e80
jmp case.default.0x4a4f96
mov ecx, esi
call fcn.004a4c30
mov ecx, esi
call fcn.0053f0c0
mov ecx, esi
call fcn.0053f120
mov ecx, esi
call fcn.004a4e80
mov ecx, dword [0x67ace0]
push 0x16
call fcn.004eb0f0
fld1
fst dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fst dword [esp + 0x30]
mov edx, dword [esp + 0x30]
fst dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fstp dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x67ace0]
push edx
mov dword [esp + 0x4c], eax
call fcn.004ea930
cmp byte [0x683994], 0
je 0x4a5387
fld dword [esi + 0x460]
mov ecx, esi
fstp dword [esp + 8]
fld dword [esi + 0x464]
fstp dword [esp + 0x24]
fld dword [esi + 0x468]
fstp dword [esp + 0x28]
fldz
fst dword [esp + 0x18]
fld dword [0x5fe558]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x20]
call fcn.004ab5c0
fmul qword [0x5fe260]
push ecx
lea eax, [esp + 0x88]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push eax
call fcn.00568deb
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push eax
call fcn.00567cd2
fld dword [esp + 0x18]
fld qword [0x603290]
mov ecx, esi
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 8]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x24]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fldz
fst dword [esp + 0xc]
fld dword [0x5fe558]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
call fcn.004ab5e0
fmul qword [0x5fe260]
push ecx
lea ecx, [esp + 0xc8]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push ecx
call fcn.00568deb
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
call fcn.00567cd2
fld dword [esp + 0xc]
fld qword [0x603290]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x10]
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 8]
fadd dword [esp + 0xc]
test byte [0x68399c], 1
fstp dword [esp + 0xc]
fld dword [esp + 0x24]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jne 0x4a5224
or dword [0x68399c], 1
mov ecx, 0x683998
mov dword [esp + 0x10c], 0
call fcn.004ec110
push 0x5fbb70
call fcn.005a0bd2
add esp, 4
mov dword [esp + 0x10c], 0xffffffff
mov ecx, dword [0x67ace0]
push 0
push 2
push 0
call fcn.004eb110
mov ecx, dword [0x67ace0]
push 2
push 1
push 0
call fcn.004eb110
mov ecx, dword [0x67ace0]
push 1
push 4
push 0
call fcn.004eb110
mov ecx, dword [0x67ace0]
push 0
push 7
call fcn.004eb0d0
mov ecx, dword [0x67ace0]
push 0
push 0x89
call fcn.004ea990
fld1
sub esp, 0x10
fst dword [esp + 0xc]
fldz
mov ecx, 0x683998
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.004ebf50
fld dword [esp + 0x14]
sub esp, 0x18
fstp dword [esp + 0x14]
mov ecx, 0x683998
fld dword [esp + 0x28]
fstp dword [esp + 0x10]
fld dword [esp + 0x24]
fstp dword [esp + 0xc]
fld dword [esp + 0x40]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.004ec1d0
fld1
sub esp, 0x10
fst dword [esp + 0xc]
mov ecx, 0x683998
fst dword [esp + 8]
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.004ebf50
fld dword [esp + 0x20]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
mov ecx, 0x683998
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0x40]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.004ec1d0
mov ecx, dword [0x67ace0]
push 1
push 0x89
call fcn.004ea990
mov ecx, dword [0x67ace0]
push 7
call fcn.004eb0f0
mov ecx, dword [0x67ace0]
push 2
push 0
call fcn.004eb140
mov ecx, dword [0x67ace0]
push 1
push 0
call fcn.004eb140
mov ecx, dword [0x67ace0]
push 4
push 0
call fcn.004eb140
mov ecx, dword [0x67ace0]
call fcn.004eb190
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x108
ret