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

Disassembly:
push 0xffffffffffffffff
push 0x662dae
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push esi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x70f780]
lea eax, [esp + 0x40]
push eax
call fcn.00556cc0
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 [0x68a9e0]
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 [0x70f780]
fmulp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
call fcn.00556c90
mov ecx, dword [0x70f780]
push 1
push 0x16
call fcn.00557430
mov eax, dword [esi + 0x4c0]
cmp eax, 3
ja case.default.0x515a56
jmp dword [eax*4 + 0x515e60]
mov ecx, esi
call fcn.00515210
mov ecx, esi
call fcn.005b32f0
mov ecx, esi
call fcn.00515290
mov ecx, esi
call fcn.005152a0
mov ecx, esi
call fcn.005b3338
mov ecx, esi
call fcn.00515310
jmp case.default.0x515a56
fld1
fcomp dword [esi + 0x4d4]
fnstsw ax
test ah, 0x44
jnp case.0x515a56.0
fldz
fcomp dword [esi + 0x4d4]
fnstsw ax
test ah, 5
jp case.default.0x515a56
mov ecx, esi
call fcn.00515340
mov ecx, esi
call fcn.005b32f0
mov ecx, esi
call fcn.005b3338
mov ecx, esi
call fcn.00515470
jmp case.default.0x515a56
mov ecx, esi
call fcn.005154a0
mov ecx, esi
call fcn.005b32f0
mov ecx, esi
call fcn.005b3338
mov ecx, esi
call fcn.00515940
jmp case.default.0x515a56
mov ecx, esi
call fcn.005156f0
mov ecx, esi
call fcn.005b32f0
mov ecx, esi
call fcn.005b3338
mov ecx, esi
call fcn.00515940
mov ecx, dword [0x70f780]
push 0x16
call fcn.00557450
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 [0x70f780]
push edx
mov dword [esp + 0x4c], eax
call fcn.00556c90
cmp byte [0x718a80], 0
je 0x515e47
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 [0x6763a0]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x20]
call fcn.00514590
fmul qword [0x6763a8]
push ecx
lea eax, [esp + 0x88]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push eax
call fcn.005dc97b
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push eax
call fcn.005db862
fld dword [esp + 0x18]
fld qword [0x67c430]
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 [0x6763a0]
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
call fcn.005145b0
fmul qword [0x6763a8]
push ecx
lea ecx, [esp + 0xc8]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push ecx
call fcn.005dc97b
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, eax
push ecx
call fcn.005db862
fld dword [esp + 0xc]
fld qword [0x67c430]
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 [0x718a88], 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 0x515ce4
or dword [0x718a88], 1
mov ecx, 0x718a84
mov dword [esp + 0x10c], 0
call fcn.00558470
push 0x673920
call fcn.006141c9
add esp, 4
mov dword [esp + 0x10c], 0xffffffff
mov ecx, dword [0x70f780]
push 0
push 2
push 0
call fcn.00557470
mov ecx, dword [0x70f780]
push 2
push 1
push 0
call fcn.00557470
mov ecx, dword [0x70f780]
push 1
push 4
push 0
call fcn.00557470
mov ecx, dword [0x70f780]
push 0
push 7
call fcn.00557430
mov ecx, dword [0x70f780]
push 0
push 0x89
call fcn.00556cf0
fld1
sub esp, 0x10
fst dword [esp + 0xc]
fldz
mov ecx, 0x718a84
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.005582b0
fld dword [esp + 0x14]
sub esp, 0x18
fstp dword [esp + 0x14]
mov ecx, 0x718a84
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.00558530
fld1
sub esp, 0x10
fst dword [esp + 0xc]
mov ecx, 0x718a84
fst dword [esp + 8]
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.005582b0
fld dword [esp + 0x20]
sub esp, 0x18
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
mov ecx, 0x718a84
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.00558530
mov ecx, dword [0x70f780]
push 1
push 0x89
call fcn.00556cf0
mov ecx, dword [0x70f780]
push 7
call fcn.00557450
mov ecx, dword [0x70f780]
push 2
push 0
call fcn.005574a0
mov ecx, dword [0x70f780]
push 1
push 0
call fcn.005574a0
mov ecx, dword [0x70f780]
push 4
push 0
call fcn.005574a0
mov ecx, dword [0x70f780]
call fcn.005574f0
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x108
ret