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

Disassembly:
push 0xffffffffffffffff
push 0x5a9aab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00534010
push fcn.00556f70
push 0x551670
push 8
push 0x14
xor ebx, ebx
lea ebp, [esi + 0x5c]
push ebp
mov dword [esp + 0x34], ebx
mov dword [esi], ebx
call fcn.00590c28
push 0x40
lea edi, [esi + 0x15c]
push ebx
push edi
call fcn.0058ac30
fld1
fst dword [esi + 0x198]
mov dword [esi + 0x158], 1
fst dword [esi + 0x184]
add esp, 0xc
fst dword [esi + 0x170]
fst dword [edi]
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x20c], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x274], ebx
mov dword [esi + 0x278], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x290], ebx
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c4], ebx
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e4], ebx
lea edi, [esi + 0x30c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x324], ebx
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
mov dword [esi + 0x330], ebx
mov dword [esi + 0x334], ebx
mov dword [esi + 0x33c], ebx
mov dword [esi + 0x340], ebx
mov dword [esi + 0x344], ebx
mov dword [esi + 0x348], ebx
mov dword [esi + 0x34c], ebx
mov dword [esi + 0x354], ebx
mov dword [esi + 0x358], ebx
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
or dword [esi], 0x10000002
mov byte [esp + 0x20], 0x18
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
fstp dword [esi + 0x138]
push 0x5516b0
fld dword [0x639540]
mov ecx, ebp
fstp dword [esi + 0x134]
mov dword [esi + 0x4c], ebx
fld dword [0x5adc74]
mov dword [esi + 0x50], ebx
fstp dword [esi + 0x58]
mov dword [esi + 0x130], 0x400
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x54], 8
call fcn.005562a0
push 0x5516e0
lea ecx, [esi + 0x70]
call fcn.005562a0
push 0x5516b0
lea ecx, [esi + 0x84]
call fcn.005562a0
push 0x5516b0
lea ecx, [esi + 0x98]
call fcn.005562a0
push 0x5516e0
lea ecx, [esi + 0xac]
call fcn.005562a0
push 0x5516e0
lea ecx, [esi + 0xd4]
call fcn.005562a0
push 0x5516e0
lea ecx, [esi + 0xc0]
call fcn.005562a0
push 0x5516e0
lea ecx, [esi + 0xe8]
call fcn.005562a0
fld dword [0x63953c]
fst dword [esi + 0x100]
xor eax, eax
fst dword [esi + 0x104]
mov dword [esi + 0xfc], 0x808080
fstp dword [esi + 0x108]
mov dword [esi + 0x10c], ebx
fldz
mov dword [esi + 0x128], ebx
fst dword [esi + 0x110]
push 0xe8
fst dword [esi + 0x114]
fst dword [esi + 0x118]
fst dword [esi + 0x11c]
fstp dword [esi + 0x120]
fld dword [0x639538]
fstp dword [esi + 0x124]
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
mov dword [esi + 0x154], eax
call fcn.00588cb9
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x20], 0x19
je 0x552b83
mov ecx, eax
call fcn.00557860
mov ebp, eax
jmp 0x552b85
xor ebp, ebp
push 2
push str.DefaultDirLight
mov ecx, ebp
mov byte [esp + 0x28], 0x18
call fcn.005575b0
push 1
mov ecx, ebp
mov dword [ebp + 0xe4], esi
call fcn.005578d0
push 0xff
push 0xff
push 0xff
push 2
mov ecx, ebp
call fcn.005579d0
fld dword [0x639524]
sub esp, 0xc
fstp dword [esp + 8]
mov ecx, ebp
fldz
fstp dword [esp + 4]
fld dword [0x5ae064]
fstp dword [esp]
call fcn.00557ac0
mov ecx, edi
call fcn.00557150
mov dword [eax], ebp
mov byte [eax + 8], bl
cmp dword [edi], ebx
jne 0x552bf9
mov dword [edi], eax
mov dword [edi + 8], eax
jmp 0x552bff
mov ecx, dword [edi + 4]
mov dword [ecx + 4], eax
mov dword [edi + 4], eax
mov ecx, 1
add dword [edi + 0x10], ecx
mov eax, 6
mov dword [esi + 0x300], eax
mov dword [esi + 0x304], ebx
mov dword [esi + 0x308], ecx
mov dword [esi + 0x320], ebx
mov dword [esi + 0x338], ebx
mov dword [esi + 0x350], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x19c], eax
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x368], ebx
mov dword [esi + 0x37c], ebx
mov ecx, dword [esi + 0x374]
mov edx, dword [esi + 0x370]
cmp edx, ecx
je 0x552c94
mov eax, ecx
sub eax, ecx
sar eax, 2
cmp eax, ebx
lea edi, [eax*4]
lea ebp, [edi + edx]
jle 0x552c8e
push edi
push ecx
push edi
push edx
call fcn.005894ec
add esp, 0x10
mov dword [esi + 0x374], ebp
lea eax, [esi + 0x2f4]
mov ecx, 3
nop
mov dword [eax - 0xc], ebx
mov dword [eax], ebx
add eax, 4
sub ecx, 1
jne 0x552ca0
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret