Function at 0x412220
Capabilities:
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51cfb7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x569564]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
mov ebx, dword [ebp + 8]
push ebx
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [ebx]
mov dword [esi], eax
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov dword [ebx + 4], ecx
add esi, 8
mov dword [ebp - 4], 1
push 0
mov dword [ebp + 8], esi
lea edi, [ebx + 8]
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 3
lea edi, [ebx + 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x10
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 5
lea edi, [ebx + 0x18]
mov esi, dword [ebp - 0x10]
add esi, 0x18
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 7
lea edi, [ebx + 0x20]
mov esi, dword [ebp - 0x10]
add esi, 0x20
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 9
lea edi, [ebx + 0x28]
mov esi, dword [ebp - 0x10]
add esi, 0x28
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0xb
lea edi, [ebx + 0x30]
mov esi, dword [ebp - 0x10]
add esi, 0x30
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0xd
lea edi, [ebx + 0x38]
mov esi, dword [ebp - 0x10]
add esi, 0x38
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0xf
lea edi, [ebx + 0x40]
mov esi, dword [ebp - 0x10]
add esi, 0x40
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0x11
lea edi, [ebx + 0x48]
mov esi, dword [ebp - 0x10]
add esi, 0x48
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0x13
lea edi, [ebx + 0x50]
mov esi, dword [ebp - 0x10]
add esi, 0x50
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0x15
lea edi, [ebx + 0x58]
mov esi, dword [ebp - 0x10]
add esi, 0x58
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0x17
lea edi, [ebx + 0x60]
mov esi, dword [ebp - 0x10]
add esi, 0x60
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
mov byte [ebp - 4], 0x19
lea edi, [ebx + 0x68]
mov esi, dword [ebp - 0x10]
add esi, 0x68
push 0
mov dword [ebp + 8], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00411f00
mov dword [esi], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.004098a0
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [edi + 4], ecx
lea eax, [ebx + 0x70]
mov byte [ebp - 4], 0x1b
mov ebx, dword [ebp - 0x10]
push eax
lea ecx, [ebx + 0x70]
call fcn.00412660
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4