Function at 0x472ac0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x5225a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x561be8]
xor eax, esp
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x48], eax
xor ebx, ebx
mov eax, 0xf
push edi
mov edi, dword [esp + 0x60]
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [esi + 4], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov dword [esp + 0x58], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], ebx
mov byte [esi + 0x90], bl
mov dword [esi + 0xc0], eax
mov dword [esi + 0xbc], ebx
mov byte [esi + 0xac], bl
mov dword [esi + 0xe8], eax
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xd4], bl
lea ebp, [esi + 0xec]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
cmp edi, esi
mov byte [esp + 0x58], 9
je 0x472d3d
push 0xffffffffffffffff
push ebx
push edi
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x38]
push ecx
lea ecx, [esi + 0x38]
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0x54]
push edx
lea ecx, [esi + 0x54]
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x70]
push eax
lea ecx, [esi + 0x70]
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x8c]
push ecx
lea ecx, [esi + 0x8c]
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0xa8]
push edx
lea ecx, [esi + 0xa8]
call fcn.0040270b
mov eax, dword [edi + 0xc4]
mov dword [esi + 0xc4], eax
mov ecx, dword [edi + 0xc8]
push 0xffffffffffffffff
mov dword [esi + 0xc8], ecx
mov edx, dword [edi + 0xcc]
push ebx
lea eax, [edi + 0xd0]
push eax
lea ecx, [esi + 0xd0]
mov dword [esi + 0xcc], edx
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x108]
push ecx
lea ecx, [esi + 0x108]
call fcn.0040270b
push 0xffffffffffffffff
push ebx
lea edx, [edi + 0xec]
push edx
mov ecx, ebp
call fcn.0040270b
lea ecx, [esi + 0x124]
call fcn.00471f40
mov ebp, dword [edi + 0x128]
cmp ebp, dword [edi + 0x12c]
je 0x472d3d
jmp 0x472c90
mov eax, 0xf
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0xa
call fcn.0040270b
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x20]
call fcn.0040270b
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x124]
call fcn.004729c0
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0x58], 9
jb 0x472cf8
mov edx, dword [esp + 0x34]
push edx
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x472d1c
mov eax, dword [esp + 0x18]
push eax
call fcn.00507ed8
add esp, 4
mov eax, dword [edi + 0x12c]
add ebp, 0x38
cmp ebp, eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jne 0x472c90
mov ecx, dword [esp + 0x50]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
xor ecx, esp
call fcn.004a2d97
add esp, 0x4c
ret 4