Function at 0x421ca0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4789f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [0x49e880]
push esi
push edi
mov edi, dword [0x47a208]
push 0x258
push 0x320
push 0
push 0
lea eax, [esp + 0x60]
push eax
mov esi, ecx
call edi
mov ecx, 0xcce088
call fcn.00404bc0
mov edx, dword [ebp]
push 0
push 0x88888888
mov ecx, ebp
call dword [edx + 0x44]
push 0x6e
push 0x360
push 0
push 0x288
lea eax, [esp + 0x20]
push eax
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push 0
call dword [edx + 0x30]
push 0x6e
push 0xd8
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call edi
movzx eax, byte [0x490d10]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
lea ebx, [esp + 0x10]
push ebx
mov ebx, eax
shl ebx, 8
or ebx, eax
shl ebx, 8
or ebx, eax
push ebx
call dword [edx + 0x30]
push 0x6e
push 0x288
push 0
push 0x1b0
lea eax, [esp + 0x20]
push eax
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
push 0
push 0
push ecx
lea eax, [esp + 0x1c]
push eax
push ecx
push 0
push 0x288
call dword [edx + 0x94]
push 0x6e
push 0xd8
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
movzx ebx, byte [0x490d12]
push eax
movzx eax, byte [0x490d13]
shl eax, 8
or eax, ebx
movzx ebx, byte [0x490d11]
shl eax, 8
or eax, ebx
push eax
call dword [edx + 0x30]
push 0x163
push 0x1fc
push 0xf5
push 0x124
lea ecx, [esp + 0x20]
push ecx
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push ebp
xor ebx, ebx
push ebx
push 0x360
call dword [edx + 0x60]
push 0x6e
push 0xd8
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
push ebx
push 0x288
push ecx
lea eax, [esp + 0x1c]
push eax
push ecx
push ebx
push 0x360
call dword [edx + 0x94]
mov ecx, dword [esi + 0x48]
push ebx
push 0xd8
push ecx
lea eax, [esp + 0x2c]
push eax
push ecx
push ebx
mov dword [esp + 0x38], 0x1b0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x288
mov dword [esp + 0x44], 0x6e
mov edx, dword [ecx]
push 0x360
call dword [edx + 0x94]
push 0x6e
push 0x438
push ebx
push 0x360
lea ecx, [esp + 0x20]
push ecx
call edi
mov ecx, dword [esi + 0x48]
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ecx
push 0xf5
push 0x124
mov ecx, ebp
call dword [edx + 0x60]
push 0x46
push 0xd8
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
call edi
lea ecx, [esp + 0x30]
call fcn.0043a6c0
cmp byte [0xc06711], 1
mov dword [esp + 0x68], ebx
lea ecx, [esp + 0x30]
jne 0x421eb9
push 0xbc8a58
jmp 0x421ebe
push 0xbc894a
call fcn.0043aa40
lea eax, [esi + 0x70]
push 0x47a584
push eax
call dword [0x47a0f8]
mov edx, dword [esi + 0xac]
mov eax, 0x10
mov dword [esi + 0x54], eax
mov word [esi + 0xa8], ax
lea edi, [esi + 0xac]
lea eax, [esi + 0x4c]
push eax
mov ecx, edi
mov dword [esi + 0x58], 8
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x34]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x58]
mov eax, dword [edi]
mov ebx, dword [ebp]
push 0xff00ff
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call dword [eax + 0x40]
push eax
push 0x103
push 0x124
mov ecx, ebp
call dword [ebx + 0x64]
mov eax, 0x12
mov dword [esi + 0x54], eax
mov word [esi + 0xa8], ax
push 0x49e5f0
lea eax, [esi + 0x70]
push eax
mov dword [esi + 0x58], 9
call dword [0x47a0f8]
mov edx, dword [edi]
lea eax, [esi + 0x4c]
push eax
mov ecx, edi
call dword [edx + 0x4c]
xor ecx, ecx
mov dword [esi + 4], 0xb
xor eax, eax
jmp 0x421f70
mov dword [eax + 0xcd242c], ecx
add eax, 0x18
cmp eax, 0x780
jb 0x421f70
mov edi, 0x5a
mov dword [0xcd2544], edi
mov edx, 0x24
mov eax, 1
mov dword [0xcd255c], edi
mov ebx, 0x133
mov dword [0xcd2550], ecx
mov dword [0xcd2568], ecx
mov dword [0xcd253c], 0x130
mov dword [0xcd2540], ebx
mov dword [0xcd2548], edx
mov dword [0xcd254c], eax
mov dword [0xcd2554], 0x196
mov dword [0xcd2558], ebx
mov dword [0xcd2560], edx
mov dword [0xcd2564], eax
or edi, 0xffffffff
mov ecx, 0xcd2400
mov dword [esi + 0x2c], edi
call fcn.00404560
push ebp
mov ecx, 0xcce088
call fcn.00404c40
push ebp
mov ecx, 0xcce088
call fcn.00404d30
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], edi
call fcn.0043a700
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret