Function at 0x454470
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502d88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5811a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 0xc]
call fcn.0046d5e0
lea edi, [ebx + 0xd8]
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c7a8c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x68]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c7a8c
push 0xcc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0x32
mov dword [edi + 0x18], 0x30d40
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0x33
call fcn.004e2df8
push 0xcc
push 0
push eax
mov dword [edi], eax
call fcn.004d3200
lea edi, [ebx + 0x148]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [edi], 0
mov dword [ebp - 0x18], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
push 0x2c
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004c7a8c
add esp, 0x1c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea ecx, [ebx + 0x1b8]
mov byte [ebp - 4], 5
call fcn.0042adf0
lea ecx, [ebx + 0x1cc]
mov byte [ebp - 4], 6
call fcn.004446f0
mov dword [ebx + 0x1f4], 0
mov dword [ebx + 0x1f8], 0
mov dword [ebx + 0x1fc], 0
lea esi, [ebx + 0x200]
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c7a8c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0x573694
push 0x573694
push 4
lea ecx, [ebx + 0x5cc]
mov byte [ebp - 4], 9
call fcn.004b88b0
push 0x573694
push 0x573694
push 8
lea ecx, [ebx + 0x60c]
mov byte [ebp - 4], 0xa
call fcn.004b88b0
push 0x573694
push 0x573694
push 2
lea ecx, [ebx + 0x64c]
mov byte [ebp - 4], 0xb
call fcn.004b88f0
push 0x573694
push 0x573694
push 1
lea ecx, [ebx + 0x684]
mov byte [ebp - 4], 0xc
call fcn.004b88f0
push 0x573694
push 0x573694
push 0x10
lea ecx, [ebx + 0x6bc]
mov byte [ebp - 4], 0xd
call fcn.004b88f0
push 0x573694
push 0x573694
push 0x20
lea ecx, [ebx + 0x6f4]
mov byte [ebp - 4], 0xe
call fcn.004b88f0
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call esi
cmp eax, 0xffffffff
je 0x45477c
push 0xfffffffffffffff5
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x45477c
mov dword [ebx + 0x1b0], 1
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
mov dword [ebx + 0x1b0], 2
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