Function at 0x4050f0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4301b6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x43a00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0xc]
call fcn.00401570
lea ecx, [edi + 0x14]
call fcn.00401570
lea ecx, [edi + 0x1c]
call fcn.00401570
lea ecx, [edi + 0x24]
call fcn.00401570
lea ecx, [edi + 0x2c]
call fcn.00401570
lea ecx, [edi + 0x34]
call fcn.00401570
lea ecx, [edi + 0x3c]
call fcn.00401570
lea ecx, [edi + 0x58]
call fcn.00401570
lea ecx, [edi + 0x60]
call fcn.00401570
lea ecx, [edi + 0x68]
call fcn.00401570
lea ecx, [edi + 0x70]
call fcn.00401570
lea ecx, [edi + 0x78]
call fcn.00401570
lea ecx, [edi + 0x80]
call fcn.00401570
lea ecx, [edi + 0xb4]
call fcn.00401570
lea ecx, [edi + 0xbc]
call fcn.00401570
lea ecx, [edi + 0xc4]
call fcn.00411840
lea ecx, [edi + 0xd0]
mov dword [ebp - 4], 0
call fcn.004053c0
lea ecx, [edi + 0x1e0]
call fcn.00401d20
lea ecx, [edi + 0x1f0]
call fcn.00401d20
lea ecx, [edi + 0x200]
call fcn.00401d20
lea ecx, [edi + 0x210]
call fcn.00401d20
lea ecx, [edi + 0x220]
call fcn.00401d20
lea ecx, [edi + 0x230]
call fcn.00401d20
lea ecx, [edi + 0x240]
call fcn.00401d20
lea ecx, [edi + 0x250]
call fcn.00401cf0
lea ecx, [edi + 0x254]
call fcn.00401cf0
lea ecx, [edi + 0x264]
call fcn.00401660
lea ecx, [edi + 0x270]
call fcn.00411840
lea ecx, [edi + 0x288]
push 0
call fcn.00401730
push fcn.00401d20
push 2
lea ecx, [edi + 0x334]
mov byte [ebp - 4], 4
mov edx, 0x10
call fcn.00403510
push 0x360
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.00403940
mov edx, dword [ebp + 0xc]
mov dword [edi], eax
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x405280
sub edx, ecx
lea esi, [edi + 4]
mov ecx, dword [ebp + 0xc]
push 0
lea eax, [edx + 1]
xor edx, edx
mov dword [edi + 0x4c], eax
call fcn.00403b00
add esp, 4
mov dword [esi], eax
lea ecx, [edi + 0xc4]
push esi
call fcn.00411bd0
push ecx
push str.MOVE
mov ecx, edi
call fcn.004054f0
movss xmm0, dword [0x435f08]
lea ecx, [ebp - 0x14]
movaps xmm2, xmm0
mov dword [edi + 0x50], eax
movaps xmm1, xmm0
call fcn.00401580
movss xmm2, dword [0x435d90]
movaps xmm1, xmm2
mov ecx, dword [eax]
mov dword [edi + 0x68], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [edi + 0x6c], eax
call fcn.00401580
movaps xmm2, xmm0
movaps xmm1, xmm0
mov ecx, dword [eax]
mov dword [edi + 0x70], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [edi + 0x74], eax
mov word [edi + 0xa4], 0xffff
mov dword [edi + 0xa8], 0xffffffff
mov word [edi + 0xb1], 0xf0f
mov byte [edi + 0xb0], 0xf
call fcn.00401580
mov ecx, dword [eax]
mov dword [edi + 0xbc], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0xc0], ecx
mov ecx, dword [eax]
mov dword [edi + 0xb4], ecx
lea ecx, [edi + 0x288]
mov eax, dword [eax + 4]
mov dword [edi + 0xb8], eax
mov eax, dword [ebp + 8]
add eax, 0x1938
mov dword [edi + 0x284], ecx
mov dword [edi + 0x258], 0xffffffff
mov dword [edi + 0x25c], 0xbf800000
mov dword [edi + 0x27c], 0x3f800000
mov dword [edi + 0x280], 0xffffffff
mov dword [ecx + 0x2c], eax
mov ecx, dword [edi + 0x284]
mov eax, dword [edi]
mov dword [ecx + 0x30], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8