Function at 0x4bb6f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x50dc10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x58fc04]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x4c0250
push dword [eax + 0x98]
xor edi, edi
mov dword [ebp - 0x1b4], esi
push str.ToolbarDialog
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1a4], edi
mov byte [ebp - 0x6c], 0
call fcn.00493410
mov eax, dword [eax + 0x10]
push eax
call fcn.00493410
mov eax, dword [eax + 0x14]
push eax
call fcn.00488ad0
xor ecx, ecx
mov dword [ebp - 0x1a8], eax
xor ebx, ebx
mov dword [ebp - 0x1b0], ecx
add esp, 0x18
mov dword [ebp - 0x19c], ebx
cmp dword [esi + 0xc], ecx
jle 0x4bb9f5
lea edx, [edi + 1]
nop word [eax + eax]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + ecx*4]
mov ecx, dword [esi + 0x90]
test cl, 4
jne 0x4bb9d4
test cl, 1
je 0x4bb7aa
cmp dword [ebp - 0x1a0], 0
cmovne edi, edx
mov dword [ebp - 0x1a4], edi
mov eax, ecx
and eax, 0x4020
cmp eax, 0x20
jne 0x4bb9d4
test ecx, 0x100
je 0x4bb7c9
mov eax, 1
jmp 0x4bb7dc
push dword [esi + 4]
push dword [esi + 8]
push 0x4f166c
call fcn.004c91b0
add esp, 0xc
mov dword [esi + 0x94], eax
test eax, eax
je 0x4bb9d4
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x4bb842
push 0
call fcn.00493410
mov eax, dword [eax + 0x10]
push eax
push 0
push dword [ebp - 0x1a8]
lea eax, [ebx + 2]
push 0x18
push 2
push 2
push eax
push 0x50000011
push 0
push str.static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
add ebx, 6
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x19c], ebx
movzx eax, word [esi + 0x42]
test ax, ax
je 0x4bb89b
movzx ebx, word [esi + 0x40]
push eax
call fcn.004be2b0
push eax
test bl, 4
mov ecx, 0x4eb673
mov eax, str.Shift
cmove eax, ecx
test bl, 0x10
push eax
mov eax, str.Alt
cmove eax, ecx
test bl, 8
push eax
mov eax, str.Ctrl
cmove eax, ecx
push eax
push str.___s_s_s_s_
lea eax, [ebp - 0x68]
push 0x12c
push eax
call fcn.00482630
mov ebx, dword [ebp - 0x19c]
add esp, 0x20
mov eax, dword [esi + 0x90]
test eax, 0x1000
jne 0x4bb8bb
test byte [esi + 0x94], 1
mov dword [ebp - 0x19c], 0x50000000
jne 0x4bb8c5
mov dword [ebp - 0x19c], 0x58000000
test eax, 0x20000
jne 0x4bb8e4
call fcn.00493410
mov dword [ebp - 0x1ac], 0x14617c
test dword [eax + 4], 0x10000
je 0x4bb8ee
mov dword [ebp - 0x1ac], 0x34617c
mov edi, dword [esi + 0x88]
push 0
call fcn.00493410
mov eax, dword [eax + 0x10]
push eax
push dword [esi + 0xb0]
mov eax, dword [esi + 0x90]
push dword [ebp - 0x1a8]
and al, 8
push 0x16
push 0x17
push 2
movzx eax, al
push ebx
neg eax
sbb eax, eax
and eax, 0x1002
or eax, dword [ebp - 0x19c]
push eax
push str._s__0x_X____d__d__s__s_s_____d__X__X__X__X
push dword [esi + 0x80]
lea eax, [edi + 3]
push dword [esi + 0x70]
push dword [esi + 0x60]
push dword [esi + 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [esi + 0x10]
lea eax, [edi + 1]
push 0x4eb673
push eax
push edi
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x198]
push dword [esi + 0xc]
push str._s__0x_X____d__d__s__s_s_____d__X__X__X__X
push 0x12c
push eax
call fcn.0047f200
add esp, 0x40
push eax
push str.button
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test dword [esi + 0x90], 0x2000
lea ecx, [ebx + 0x17]
mov dword [esi + 0x98], eax
mov dword [esi + 0x34], 1
mov dword [esi + 0x3c], 0x17
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ecx
je 0x4bb9bf
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x1a4]
add ebx, 0x18
inc dword [ebp - 0x1a0]
mov dword [ebp - 0x19c], ebx
mov ecx, dword [ebp - 0x1b0]
mov edx, 1
mov esi, dword [ebp - 0x1b4]
inc ecx
mov dword [ebp - 0x1b0], ecx
cmp ecx, dword [esi + 0xc]
jl 0x4bb780
mov edi, dword [ebp - 0x1a8]
lea eax, [ebx + 3]
push 0x46
push 0x18
push eax
push 0
push 0
push 0
push edi
call dword [0x595d70]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov dword [esi + 0x14], ebx
xor ecx, ebp
mov dword [esi + 0x18], 0x18
pop esi
pop ebx
call fcn.004e2538
mov esp, ebp
pop ebp
ret