Function at 0x4dbd0c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, 0x547c98
cmp dword [ebx], 0
je 0x4dbd3d
mov eax, dword [ebx]
cmp dword [eax + 0xc4], 0
je 0x4dbd3d
mov eax, dword [ebx]
add eax, 0xc4
call fcn.0040e634
mov eax, dword [ebp - 4]
mov ecx, 0xa
cdq
idiv ecx
test eax, eax
jne 0x4dbd6b
test esi, esi
je 0x4dbd57
mov eax, esi
call fcn.00403608
test edi, edi
je 0x4dbffa
mov eax, edi
call fcn.00403608
jmp 0x4dbffa
cmp dword [ebx], 0
jne 0x4dbd86
mov ecx, dword [0x548380]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4daadc]
call fcn.004e02cc
mov dword [ebx], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 0xbc], edx
mov eax, dword [ebx]
mov byte [eax + 0x12d], 0
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
test eax, eax
je 0x4dbdc0
cmp edi, eax
je 0x4dbdc0
mov eax, dword [ebx]
add eax, 0x130
call fcn.0040e634
mov eax, dword [ebx]
mov dword [eax + 0x130], edi
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x124], edx
mov eax, dword [ebx]
mov dword [eax + 0xc4], esi
mov eax, dword [ebx]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x12c], dl
mov edx, 0xa
mov eax, dword [ebx]
call fcn.004d9734
mov eax, dword [ebp - 4]
mov ecx, 0xa
cdq
idiv ecx
mov edx, dword [ebx]
mov dword [edx + 0x128], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
mov eax, dword [eax + 0x130]
call fcn.0051bef4
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xc8], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0xcc], edx
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0051bf40
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0xd0], edx
mov edx, dword [ebp - 8]
mov dword [eax + 0xd4], edx
mov al, byte [ebp + 0x10]
mov edx, dword [ebx]
mov byte [edx + 0xda], al
mov eax, dword [ebx]
mov byte [eax + 0xd8], 0
mov eax, dword [ebx]
mov byte [eax + 0xd9], 0
mov eax, dword [ebx]
mov byte [eax + 0xdb], 1
push 0
call sub.user32.dll_GetDC
mov edx, dword [ebx]
mov dword [edx + 0xc0], eax
push 0xffffffffffffffec
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [ebx]
add eax, 0xd8
push eax
push 0x1fffffff
mov eax, dword [ebx]
add eax, 0xd0
push eax
mov eax, edi
call fcn.0042bbfc
call fcn.00427080
push eax
mov eax, dword [ebx]
add eax, 0xc8
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
push eax
mov eax, esi
call fcn.00458204
push eax
call dword [0x54b4f4]
push 4
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4dbf17
or edi, 0xffffffff
jmp 0x4dbf20
mov eax, esi
call fcn.00458204
mov edi, eax
push 0x318
mov eax, dword [ebx]
mov eax, dword [eax + 0xcc]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc8]
push eax
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x40]
push eax
push edi
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx]
cmp dword [eax + 0x134], 0
je 0x4dbf64
mov eax, dword [ebx]
add eax, 0x134
call fcn.0040e634
mov eax, dword [ebx]
add eax, 0xc8
call fcn.005265c4
mov edx, dword [ebx]
mov dword [edx + 0x134], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx]
call fcn.004e013c
mov eax, dword [0x548380]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4dbfe8
mov eax, dword [ebx]
push eax
push fcn.004e0360
mov eax, dword [ebx]
call fcn.004d975c
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x120], edx
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004e0360
mov dl, 1
mov eax, dword [ebx]
call fcn.004d9724
jmp 0x4dbffa
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov edx, dword [ebx]
mov eax, dword [ebx]
call fcn.004e0360
call sub.kernel32.dll_GetTickCount_1
lea edx, [esi + 0xa]
cmp eax, edx
jb 0x4dbfdc
mov eax, dword [ebx]
mov eax, dword [eax + 0x120]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x128]
jle 0x4dbfcc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc