Function at 0x4d1860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
cmp edi, 0x110
ja 0x4d1c14
je 0x4d1a0e
lea eax, [edi - 2]
cmp eax, 0x79
ja case.0x4d18b9.3
movzx eax, byte [eax + 0x4d1ccc]
jmp dword [eax*4 + 0x4d1cb8]
push esi
mov ecx, ebx
call fcn.004d01c0
mov eax, 1
jmp 0x4d1c97
movzx eax, si
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x6c]
push 0
push 0
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebx + 0x70]
test edx, edx
je case.0x4d18b9.3
mov ecx, dword [ebp - 0x3c]
mov eax, esi
shr eax, 0x10
push 1
sub eax, ecx
sub eax, 2
push eax
push dword [ebp - 0x6c]
lea eax, [ecx + 2]
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x4d18b9.3
cmp byte [ebx + 0x80], 0
jne 0x4d19a7
movsx ecx, si
shr esi, 0x10
movsx eax, si
cmp ecx, 0xffffffff
jne 0x4d199e
cmp eax, ecx
jne 0x4d199e
lea ecx, [ebx + 0x64]
call fcn.004cf4b0
mov esi, eax
test esi, esi
je 0x4d19a7
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
push 1
push 0x1104
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4d19a7
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
add eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.004d2240
mov eax, 1
jmp 0x4d1c97
push eax
push ecx
mov ecx, ebx
call fcn.004d21c0
mov eax, 1
jmp 0x4d1c97
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x64]
call dword [eax + 8]
mov ecx, ebx
call fcn.004cefa0
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp edi, 0x4e
jne 0x4d1c95
mov eax, dword [esi]
cmp eax, dword [ebx + 8]
jne 0x4d1c95
movzx eax, word [esi + 8]
sub eax, 0x41c
je 0x4d19fe
sub eax, 1
jne 0x4d1c95
mov byte [ebx + 0x28], 1
jmp 0x4d1c95
movzx eax, word [esi + 0xa]
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x28], 0
jmp 0x4d1c95
mov ecx, ebx
call fcn.004cf4d0
push 0
push dword [ebx + 4]
push 0
push dword [ebx + 0xc]
push 0
push 0
push 0
push 0
push 0x50001830
push 0
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0xa0], eax
call fcn.0040baa0
push 0x5bacb8
push 0
push str.Entries
mov esi, dword [eax + 0x234d8]
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.00460330
mov dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push 0x5968c0
push 1
push str.Entries
push eax
mov ecx, esi
call fcn.00460330
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], 0xc3c
mov dword [ebp - 0x38], 0xfffffffe
mov word [ebp - 0x30], 0x1004
jae 0x4d1aa5
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x3c], 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0xc3d
mov dword [ebp - 0x24], 0xfffffffe
mov word [ebp - 0x1c], 0x1004
jae 0x4d1ac8
lea eax, [ebp - 0x50]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push dword [ebx + 0xa0]
mov dword [ebp - 0x14], eax
call esi
lea eax, [ebp - 0x38]
push eax
push 2
push 0x444
push dword [ebx + 0xa0]
call esi
push 0
push 0
push 0x421
push dword [ebx + 0xa0]
call esi
push 5
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x64]
push 0xc3b
push dword [ebx + 0xc]
push dword [ebx + 4]
call dword [eax + 0x30]
push 0x25f
push 0x25e
push 0x25d
push 0x25c
push 0x25b
push 0x25a
push 0x259
mov ecx, ebx
call fcn.004d2020
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 5
push eax
lea ecx, [ebx + 0x90]
call fcn.00514e20
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 6
push eax
lea ecx, [ebx + 0x90]
call fcn.00514e20
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
lea ecx, [ebx + 0x84]
call fcn.00514e20
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 1
push eax
lea ecx, [ebx + 0x84]
call fcn.00514e20
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 2
push eax
lea ecx, [ebx + 0x84]
call fcn.00514e20
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x64]
push 1
call dword [eax + 0xc]
cmp dword [ebx + 0xc8], 8
lea eax, [ebx + 0xb4]
jb 0x4d1bdc
mov eax, dword [eax]
push eax
mov ecx, ebx
call fcn.004d0650
test al, al
jne 0x4d1bef
mov ecx, ebx
call fcn.004d00c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004038c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004038c0
mov eax, 1
jmp 0x4d1c97
mov eax, edi
sub eax, 0x111
je 0x4d1c89
sub eax, 0xef
je 0x4d1c69
sub eax, 2
jne case.0x4d18b9.3
cmp byte [ebx + 0x80], al
je 0x4d1c95
lea ecx, [ebx + 0x64]
call fcn.004f7a40
test al, al
je 0x4d1c95
push 1
push 1
push 0
push 0
push 0x110a
push dword [ebx + 0x70]
mov byte [ebx + 0xe4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [ebx + 0x64]
call fcn.004f8980
jmp 0x4d1c95
cmp byte [ebx + 0x80], 0
je 0x4d1c95
mov eax, esi
lea ecx, [ebx + 0x64]
shr eax, 0x10
push eax
movzx eax, si
push eax
push dword [ebx + 0xc]
call fcn.004f79b0
jmp 0x4d1c95
movzx eax, word [ebp + 0x10]
mov ecx, ebx
push eax
call fcn.004d0850
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0x10