Function at 0x407430
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4130f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x401], 0
jne 0x407717
mov eax, dword [esi + 0xdbc]
push ebx
push edi
push eax
call fcn.00402790
push 0x413148
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x16], 0
call fcn.0040e410
mov ecx, dword [esi + 0xdd4]
mov edx, dword [esi + 0xdc0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push ecx
push 0
push 0x8fbf
push edx
call edi
mov eax, dword [esi + 0xdbc]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
lea ecx, [ebp - 0x15]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x16]
mov edx, esi
mov byte [esi + 0x401], 1
call fcn.00403670
add esp, 0xc
cmp byte [ebp + 8], 0
je 0x4074ce
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
jmp 0x4074d4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x41396c]
push 0
push edx
mov edx, dword [ebp - 0x20]
push 0
push 0
push edx
mov edx, dword [ebp - 0x24]
push edx
push eax
push ecx
push 0x6cf0000
push str.MexalUnpinnedTab
push str.clMexalUnpinnedTab
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xdd4], eax
call fcn.004050b0
mov eax, dword [0x413970]
push 0
push 0
push 0x7f
push eax
call edi
mov ecx, dword [esi + 0xdd4]
mov ebx, eax
push ebx
push 0
push 0x80
push ecx
call edi
mov edx, dword [0x413970]
push 0
push 1
push 0x7f
push edx
call edi
push eax
mov eax, dword [esi + 0xdd4]
push 1
push 0x80
push eax
call edi
mov edx, dword [esi + 0xdd4]
mov eax, dword [ebp - 0x1c]
push edx
lea ecx, [esi + 0x514]
push eax
mov edx, ebx
call fcn.004063f0
mov ecx, dword [esi + 0xdc0]
add esp, 8
push 0
push 0
push 0x8052
push ecx
call edi
mov edx, dword [esi + 0xdbc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebx
mov eax, dword [esi + 0xdc4]
push 0
push eax
call ebx
mov ecx, dword [0x413974]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0xdd4]
mov eax, dword [esi + 0xdbc]
mov ebx, dword [sym.imp.USER32.dll_SetParent]
push edx
push eax
call ebx
mov ecx, dword [esi + 0xdd4]
mov edx, dword [esi + 0xdc4]
push ecx
push edx
call ebx
mov eax, dword [esi + 0xdd4]
mov ecx, dword [esi + 0xdc0]
push eax
push 1
push 0x8fc0
push ecx
call edi
push 1
mov ebx, esi
mov byte [esi + 0x511], 1
call fcn.00404d80
mov edx, dword [esi + 0xdd4]
movzx eax, word [ebp - 0x1c]
mov ecx, dword [esi + 0xdc0]
add esp, 4
push edx
push eax
push 0x8fbb
push ecx
call edi
mov edx, dword [esi + 0xdd4]
mov eax, dword [esi + 0xdc0]
push edx
push 1
push 0x8fbc
push eax
call edi
mov edx, dword [esi + 0xdd4]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
mov edx, dword [esi + 0xdbc]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
sub eax, 0x1a
push eax
push ecx
push 0
push 0
push 0
push edx
call edi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0xdc4]
push 0x10
push 0x1a
push eax
add ecx, 0xffffffe6
push ecx
push 0
push 0
push edx
call edi
mov eax, dword [esi + 0xdd4]
push esi
push 0x410cc0
push eax
call dword [sym.imp.USER32.dll_SetPropA]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
mov eax, dword [esi + 0xdbc]
push 0x10
sub ecx, 0x1a
push ecx
push edx
push 0
push 0
push 0
push eax
call edi
mov ecx, dword [esi + 0xdbc]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov edx, dword [esi + 0xdc4]
push 5
push edx
call edi
mov ecx, dword [esi + 0xdd4]
xor eax, eax
cmp byte [ebp - 0x15], al
setne al
lea eax, [eax + eax + 1]
push eax
push ecx
call edi
mov edx, dword [esi + 0xdd4]
push edx
call fcn.0040e2e0
add esp, 4
cmp byte [ebp + 0x14], 0
pop edi
pop ebx
jne 0x40770a
mov eax, dword [esi + 0xdd4]
push eax
call fcn.00404d40
add esp, 4
push 0x413148
call fcn.0040e420
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040e620
mov esp, ebp
pop ebp
ret