Function at 0x4c85a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512c8c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x61ad68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push dword [ebp + 8]
call dword [0x51a1b4]
push 1
mov dword [ebp - 4], 0
mov dword [edi], vtable.TSPublishProductUI.0
mov dword [edi + 8], vtable.TSPublishProductUI.1.0
call fcn.004f27c0
add esp, 4
mov dword [edi + 0x18], eax
lea ecx, [edi + 0xcc]
call dword [0x518b6c]
lea ecx, [edi + 0xd4]
call dword [0x518b6c]
lea ecx, [edi + 0xdc]
call dword [0x518b6c]
lea ecx, [edi + 0xe0]
call dword [0x518b6c]
lea ecx, [edi + 0xe4]
call dword [0x518b6c]
lea ecx, [edi + 0xe8]
call dword [0x518b6c]
lea ecx, [edi + 0xec]
call dword [0x518b6c]
lea ecx, [edi + 0xf0]
call dword [0x518b6c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call dword [0x518af4]
lea ecx, [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax + 4]
call dword [0x518b64]
test esi, esi
jne 0x4c86a9
push 0xffffffffffffffff
lea eax, [ebp + 8]
push 0x52ba8c
push eax
call dword [0x518a94]
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call dword [0x518a88]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call dword [0x518b64]
push 0x286
push 0x43c
mov ecx, edi
call dword [0x51a1c4]
push 0xffffffffffffffff
push 0
push str.Dialog
lea eax, [ebp + 8]
push 0x52ba8c
push eax
call dword [0x518a68]
add esp, 0x14
mov esi, dword [0x51a1cc]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xa
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call dword [0x518b64]
push edi
call dword [0x518aa8]
add esp, 4
lea eax, [ebp + 8]
mov ecx, 0x61abf4
push 0xffffffffffffffff
push 0
push str.Publish
push eax
call dword [0x518aac]
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call dword [0x518b64]
mov eax, dword [edi + 0x14]
mov ecx, edi
mov eax, dword [eax + 8]
and eax, 0xfffeffff
push eax
call dword [0x51a1b8]
lea eax, [ebp + 8]
mov dword [edi + 0x1c], 0
push eax
mov ecx, edi
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 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 + 0xc0], 0
mov word [edi + 0xc8], 0
call fcn.004cb5a0
push eax
lea ecx, [edi + 0xcc]
call dword [0x518ab0]
lea ecx, [ebp + 8]
call dword [0x518b64]
mov ecx, edi
mov dword [edi + 0xd0], 0
call fcn.004ca350
mov ecx, edi
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
call fcn.004cfab0
push 0x10
mov dword [ebp - 0x1c], fcn.004c8a30
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0x4efdf0
mov dword [ebp - 0x20], 0
call fcn.004f27c0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x18]
push 0x61abf4
push 0
mov dword [eax], 1
push 0
push eax
mov dword [eax + 4], 0x407060
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push edi
push eax
call dword [0x518a7c]
add esp, 0x28
lea ecx, [ebp + 8]
call dword [0x518aa4]
mov ecx, edi
call fcn.004cfa20
push 2
mov ecx, edi
call dword [0x51a1f0]
mov eax, edi
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