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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4459cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x45b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.FooUI::Widgets::IWidgetContainer.0
mov dword [edi + 8], vtable.FooUI::Markup::FMarkupObject.0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.FooUI::Widgets::FWidget.2.0
mov dword [edi + 4], vtable.FooUI::Widgets::FWidget.0
mov dword [edi + 8], vtable.FooUI::Widgets::FWidget.1.0
mov dword [edi + 0x14], 0
mov eax, dword [0x45c5a8]
lea esi, [edi + 0x18]
mov ecx, 0x45c5a8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0x452dbc
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00407f10
mov byte [ebp - 4], 2
mov dword [edi + 0x1c], 0
mov eax, dword [0x45c5a8]
mov ecx, 0x45c5a8
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 3
mov eax, dword [0x45c5a8]
lea esi, [edi + 0x24]
mov ecx, 0x45c5a8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0x452dbc
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00407f10
mov byte [ebp - 4], 5
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0x2ad1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [0x45c5a8]
lea esi, [edi + 0x3c]
mov ecx, 0x45c5a8
mov dword [ebp - 0x14], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0x452dbc
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00407f10
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov word [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
lea esi, [edi + 0x94]
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [esi], vtable.FooUI::Markup::FResourceManager.0
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0
push 0x20
mov byte [ebp - 4], 8
call fcn.00433353
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4091e3
mov ecx, eax
call fcn.00425ba0
jmp 0x4091e5
xor eax, eax
mov dword [esi + 4], eax
inc dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, dword [0x45c5a8]
mov ecx, 0x45c5a8
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xa4], eax
lea ecx, [edi + 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00415d80
lea ecx, [edi + 0xb8]
mov byte [ebp - 4], 0xc
call fcn.00416200
push 0x6c
mov byte [ebp - 4], 0xd
call fcn.00433353
add esp, 4
test eax, eax
je 0x40923f
push edi
mov ecx, eax
call fcn.00417830
jmp 0x409241
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [edi + 0xc8], eax
test esi, esi
je 0x409282
mov ecx, dword [eax + 0x28]
cmp ecx, esi
je 0x409282
test ecx, ecx
je 0x409279
mov ecx, dword [ecx + 0xc8]
push edi
call fcn.00417ba0
mov eax, dword [edi + 0xc8]
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
push edi
call dword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4