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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570601
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004549a8
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CAppCommandLineInfo.0
call fcn.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404ed4
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f01
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f2e
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f5b
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404f88
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404fb5
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404fe2
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40500f
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40503c
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405069
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405099
push 0x80004005
call fcn.00401fd0
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.00448a4d
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4050c9
push 0x80004005
call fcn.00401fd0
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.00454dde
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.00454dde
push edi
push 0x5a14b0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x28]
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x2c]
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x70]
mov dword [esi + 0xc4], edi
mov dword [esi + 0x34], edi
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x68]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x30]
mov dword [esi + 0x6c], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x78]
mov dword [esi + 0x48], SysStringLen
mov dword [esi + 0x74], edi
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x7c]
call fcn.00401e90
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esi + 0x80], edi
call fcn.00454e85
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0xb0]
call fcn.00454e85
push edi
push 0x5a14b0
lea ecx, [esi + 0x84]
call fcn.00401e90
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 0x5a14b0
lea ecx, [esi + 0x88]
call fcn.00401e90
push edi
push 0x5a14b0
lea ecx, [esi + 0x8c]
call fcn.00401e90
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