Function at 0x404e50
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f761
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00453e82
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CAppCommandLineInfo.0
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404ea4
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 1
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404ed1
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 2
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404efe
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 3
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f2b
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 4
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f58
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x64], eax
mov byte [ebp - 4], 5
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f85
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x68], eax
mov byte [ebp - 4], 6
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404fb2
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [ebp - 4], 7
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404fdf
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 8
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40500c
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7c], eax
mov byte [ebp - 4], 9
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405039
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x84], eax
mov byte [ebp - 4], 0xa
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405069
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x88], eax
mov byte [ebp - 4], 0xb
call fcn.00447edb
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405099
push 0x80004005
call fcn.00401fc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x8c], eax
lea ebx, [esi + 0x9c]
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.004542b8
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.004542b8
push edi
push 0x5a04b0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x28]
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x2c]
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x70]
mov dword [esi + 0xc4], edi
mov dword [esi + 0x34], edi
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x68]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x30]
mov dword [esi + 0x6c], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x78]
mov dword [esi + 0x48], SysStringLen
mov dword [esi + 0x74], edi
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x7c]
call fcn.00401e60
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esi + 0x80], edi
call fcn.00454339
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0xb0]
call fcn.00454339
push edi
push 0x5a04b0
lea ecx, [esi + 0x84]
call fcn.00401e60
push edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
push 0x5a04b0
lea ecx, [esi + 0x88]
call fcn.00401e60
push edi
push 0x5a04b0
lea ecx, [esi + 0x8c]
call fcn.00401e60
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov eax, esi
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