Function at 0x57b540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59a212
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov ecx, dword [0x603a38]
push ebx
push esi
push eax
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.004ff3e0
add esp, 0xc
mov eax, dword [0x5fd774]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
lea edx, [esp + 0x30]
push ecx
push str._sBCGToolbarParameters
push edx
mov byte [esp + 0x34], 1
call fcn.0054e388
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.004f8230
mov ecx, dword [esp + 0x30]
mov esi, eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
test eax, eax
jne 0x57b60e
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x28], 1
cmp ecx, ebx
je 0x57b5dd
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0055711e
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0055711e
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ebx
mov eax, dword [esi]
push 0x5fb418
push str.Tooltips
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x57b702
mov edx, dword [esi]
push 0x5fb41c
push str.ShortcutKeys
mov ecx, esi
call dword [edx + 0x98]
test eax, eax
je 0x57b702
mov eax, dword [esi]
push 0x6041f4
push str.LargeIcons
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x57b702
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
push str.MenuAnimation
mov ecx, esi
call dword [edx + 0x98]
test eax, eax
je 0x57b702
mov edx, dword [esi]
push 0x5fb930
push str.RecentlyUsedMenus
mov ecx, esi
call dword [edx + 0x98]
test eax, eax
je 0x57b702
mov eax, dword [esi]
push 0x5fb938
push str.MenuShadows
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x57b702
mov edx, dword [esi]
push 0x5fb934
push str.ShowAllMenusAfterDelay
mov ecx, esi
call dword [edx + 0x98]
test eax, eax
je 0x57b702
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push str.Look2000
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x57b702
mov edx, dword [esi]
push 0x604188
push str.CommandsUsage
mov ecx, esi
call dword [edx + 0x68]
test eax, eax
je 0x57b702
mov esi, 1
jmp 0x57b704
xor esi, esi
mov ecx, dword [0x6041f4]
mov eax, dword [esp + 0xc]
push ecx
mov dword [0x60396c], eax
call fcn.0057b9b0
mov ecx, dword [0x604240]
add esp, 4
cmp ecx, ebx
jne 0x57b787
mov ecx, dword [0x604244]
cmp ecx, ebx
jne 0x57b762
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x28], 3
je 0x57b759
push ebx
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0x28], 2
jmp 0x57b767
xor eax, eax
mov byte [esp + 0x28], 2
jmp 0x57b767
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [esp + 0x10]
push eax
call fcn.004d0c90
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x28], 1
cmp ecx, ebx
je 0x57b7a5
mov edx, dword [ecx]
push 1
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.0055711e
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0055711e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret