Function at 0x40c820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4b0f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x572b90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 4], vtable.Enemy.0
mov dword [ebx + 0x20], vtable.Enemy.1.0
mov word [ebx + 0x28], 1
mov byte [ebx + 0x2a], 1
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0x3f000000
mov dword [ebx + 0x34], 0x3dcccccd
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0xc37a0000
mov dword [ebx + 0x44], 0xc37a0000
mov dword [ebx + 0x48], 0x43fa0000
mov dword [ebx], vtable.Squid.0
mov dword [ebx + 4], vtable.Squid.1.0
mov dword [ebx + 0x20], vtable.Squid.2.0
mov dword [ebx + 0x4c], 0
mov byte [ebp - 4], 2
push 0x110
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0xc37a0000
mov dword [ebx + 0x5c], 0xc37a0000
mov dword [ebx + 0x60], 0x437a0000
mov dword [ebx + 0x64], 0x43fa0000
mov dword [ebx + 0x6c], 0x43c80000
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0x3f000000
call fcn.004c0775
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x110
push 0
push esi
mov byte [ebp - 4], 3
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00418970
mov ecx, eax
mov byte [ebp - 4], 2
lea esi, [ebx + 8]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], esi
cmp esi, eax
je 0x40c974
mov edx, dword [esi]
mov dword [esi], ecx
test edx, edx
je 0x40c97e
mov eax, dword [edx]
mov ecx, edx
jmp 0x40c97a
test ecx, ecx
je 0x40c97e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi]
push 0
push dword [ebp - 0x20]
call fcn.00418ad0
mov ecx, dword [esi]
sub esp, 8
add ecx, 4
mov dword [esp + 4], 0x41500000
mov dword [esp], 0x41400000
call fcn.00419150
mov ecx, dword [esi]
sub esp, 8
add ecx, 4
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40000000
call fcn.00419270
lea ecx, [ebx + 4]
call fcn.0040d0f0
mov eax, dword [ebp + 0xc]
push 0x11c
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x1c], 1
call fcn.004c0775
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x11c
push 0
push esi
mov byte [ebp - 4], 4
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1e
push ecx
mov ecx, esi
mov dword [esp], 0
call fcn.00418ce0
mov ebx, eax
mov dword [ebp - 0x18], ebx
push ecx
mov byte [ebp - 4], 5
mov ecx, ebx
mov dword [esp], 0x41400000
call fcn.00418e60
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, 4
call fcn.00418f30
push eax
lea ecx, [ebx + 4]
call fcn.00419240
push 0xff0000aa
lea ecx, [ebp - 0x1c]
call fcn.0041a7c0
push eax
mov ecx, ebx
call fcn.0041c410
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.0041c3e0
mov ecx, ebx
mov esi, eax
call fcn.00418e50
movss xmm0, dword [esi + 4]
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
movss dword [ebp - 0x20], xmm0
fstp dword [ebp - 0x24]
call fcn.0041c3e0
mov ecx, ebx
mov esi, eax
call fcn.00418e50
movss xmm0, dword [ebp - 0x24]
sub esp, 8
addss xmm0, dword [ebp - 0x20]
fstp dword [ebp - 0x1c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
lea ecx, [ebx + 4]
addss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.00419150
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], ebx
test ecx, ecx
je 0x40cac2
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [ebp + 0x10]
mov eax, esi
mov dword [esi + 0x24], 0x40800000
mov dword [esi + 0x74], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c0767
mov esp, ebp
pop ebp
ret 0xc