Function at 0x4dca0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffac
mov edi, edx
mov esi, eax
mov byte [0x54d5a4], 1
mov eax, esi
mov edx, dword [0x47cff8]
call fcn.0040389c
test al, al
je 0x4dca56
push 0
mov dx, 4
xor eax, eax
call fcn.004076fc
push eax
mov eax, dword [0x54e8d0]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4dca58
xor ebx, ebx
test ebx, ebx
je 0x4dca75
cmp dword [ebx + 0x210], 0
je 0x4dca75
call fcn.004de4c8
test al, al
je 0x4dca75
mov byte [esp + 0x14], 1
jmp 0x4dca7a
mov byte [esp + 0x14], 0
cmp byte [esp + 0x14], 0
je 0x4dd0f0
mov eax, esi
mov edx, dword [0x47cff8]
call fcn.0040389c
test al, al
je 0x4dd0f0
mov eax, dword [ebx + 0x1f4]
cmp byte [eax + 0x2e0], 0
je 0x4dcabc
mov dl, byte [eax + 0x2e1]
mov byte [esp + 0x30], dl
mov dl, 1
call fcn.00484a04
jmp 0x4dcac1
mov byte [esp + 0x30], 0xff
mov eax, ebx
call fcn.004f95f4
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.004e7230
mov dword [0x54fed8], eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427894
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427d44
mov dword [0x54d59c], eax
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [0x54fed8]
call fcn.004dc4d0
cmp dword [0x54fed8], 0
je 0x4dd3c3
xor eax, eax
mov dword [0x54d59c], eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427c3c
movzx eax, di
shr eax, 3
mov edi, eax
mov dword [esp + 0x18], 0x118
mov eax, dword [0x54fed8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x54fed8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
xor edx, edx
xor eax, eax
call fcn.00418a74
test edi, edi
jle 0x4dcb85
mov byte [esp + 0x2e], 0
jmp 0x4dcb8d
mov al, byte [esp + 0x30]
mov byte [esp + 0x2e], al
mov byte [esp + 0x2c], 0
mov byte [esp + 0x2d], 0
mov byte [esp + 0x2f], 1
cmp byte [ebx + 0x1c0], 0
je 0x4dcbbd
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004ff290
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
jmp 0x4dccb0
mov eax, dword [ebx + 0x1f4]
call fcn.0046dee0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4dcc6b
mov eax, dword [ebx + 0x54]
call fcn.005145ec
mov eax, dword [eax + 0x88]
mov bp, word [eax + 0x2e]
mov eax, dword [ebx + 0x54]
call fcn.005145ec
mov eax, dword [eax + 0x88]
cmp bp, word [eax + 0x2c]
je 0x4dcc6b
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004ff290
mov ebp, dword [esp + 0x48]
mov eax, dword [ebx + 0x210]
call fcn.004ee6ac
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004eff5c
sub ebp, eax
mov eax, dword [ebx + 0x1f4]
call fcn.0046dee0
xor ecx, ecx
mov edx, dword [ebx + 0x210]
call fcn.004ee644
sub ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.005145ec
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2c]
add ebp, eax
mov eax, dword [ebx + 0x54]
call fcn.005145ec
mov eax, dword [eax + 0x88]
movsx eax, word [eax + 0x2e]
sub ebp, eax
mov dword [esp + 0xc], ebp
jmp 0x4dccb0
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004ff290
mov ebp, dword [esp + 0x48]
mov eax, dword [ebx + 0x210]
call fcn.004ee6ac
add ebp, eax
xor edx, edx
mov eax, ebx
call fcn.004eff5c
sub ebp, eax
mov eax, dword [ebx + 0x1f4]
call fcn.0046dee0
xor ecx, ecx
mov edx, dword [ebx + 0x210]
call fcn.004ee644
sub ebp, eax
mov dword [esp + 0xc], ebp
mov eax, dword [ebx + 0x1f4]
call fcn.0046dee0
xor ecx, ecx
mov edx, dword [ebx + 0x210]
call fcn.004ee644
push eax
mov eax, dword [ebx + 0x210]
call fcn.004ee6cc
mov ebp, eax
pop eax
sub ebp, eax
lea edx, [esp + 0x44]
mov eax, ebx
call fcn.004ff290
add ebp, dword [esp + 0x44]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x31]
push eax
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47d2fc]
call fcn.0047fdcc
mov ebp, eax
mov dword [0x54d598], ebp
mov dword [ebp + 0xc], 0xffffff9e
xor edx, edx
mov eax, ebp
call fcn.00481590
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [0x54d598]
call fcn.00466d14
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [0x54d598]
call fcn.00466d38
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x48]
mov eax, dword [0x54d598]
call fcn.00466d60
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x54d598]
call fcn.00466d84
push 0xffffffffffffffec
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4dcda4
mov dl, 3
mov eax, dword [0x54d598]
call fcn.0048188c
or ebp, 0xffffffff
jmp 0x4dcdb9
push 3
mov eax, dword [ebx + 0x1f4]
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindow
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x20]
push eax
push ebp
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [esp + 4], eax
push 0xffffffffffffffec
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427d44
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
mov eax, dword [0x54e8ac]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_ShowWindow
test edi, edi
jle 0x4dcf72
xor eax, eax
mov al, byte [esp + 0x30]
cdq
idiv edi
mov dword [esp + 8], eax
xor ebp, ebp
cmp edi, ebp
jl 0x4dcf6a
xor edx, edx
mov dl, byte [esp + 0x30]
xor eax, eax
mov al, byte [esp + 0x2e]
add eax, dword [esp + 8]
call fcn.0042e448
mov byte [esp + 0x2e], al
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427d44
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
mov eax, dword [0x54e8ac]
mov eax, dword [eax]
call eax
mov eax, dword [0x54ec28]
cmp dword [eax], 0
je 0x4dcf56
push 0
mov dx, 3
xor eax, eax
call fcn.004076fc
push eax
mov eax, dword [0x54e8d0]
mov eax, dword [eax]
push eax
mov eax, dword [0x54ec28]
mov eax, dword [eax]
call fcn.0046dee0
push eax
call sub.user32.dll_SendMessageA
inc ebp
test edi, edi
jle 0x4dcf62
push 8
call sub.kernel32.dll_Sleep
cmp edi, ebp
jge 0x4dceca
mov al, byte [esp + 0x30]
mov byte [esp + 0x2e], al
push 0
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp + 0x18]
or eax, 4
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [esp + 0x30]
push eax
push 0x1fffffff
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427d44
push eax
lea eax, [esp + 0x30]
push eax
push 0
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
mov eax, dword [0x54e8ac]
mov eax, dword [eax]
call eax
push 0
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_ReleaseDC
mov byte [0x54d5a4], 0
mov eax, dword [ebx + 0x1f4]
cmp byte [eax + 0x2e0], 0
je 0x4dd032
mov dl, byte [esp + 0x30]
call fcn.00484a04
push 0
push 1
push 0xb
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x210]
call fcn.00503048
push eax
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowRgn
push 0x585
push 0
push 0
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x54d598
call fcn.0040e770
push 4
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x41]
sub eax, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.0046dee0
push eax
mov eax, dword [ebx + 0x210]
mov eax, dword [eax + 0x10]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
mov dword [0x54d59c], eax
mov eax, 0x54fed8
call fcn.0040e770
jmp 0x4dd3c3
cmp dword [0x54d598], 0
jne 0x4dd100
mov eax, esi
call fcn.004dc8f0
cmp dword [0x54d598], 0
je 0x4dd3c3
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004e71f0
mov dword [0x54fed8], eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427894
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427d44
mov dword [0x54d59c], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [0x54fed8]
call fcn.004dc4d0
cmp dword [0x54fed8], 0
je 0x4dd3c3
xor eax, eax
mov dword [0x54d59c], eax
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427c3c
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004e7230
mov dword [esp], eax
movzx eax, di
shr eax, 3
mov edi, eax
cmp byte [esp + 0x14], 0
jne 0x4dd1ca
test ebx, ebx
je 0x4dd1ca
mov ebp, ebx
mov eax, ebp
call fcn.004ef030
cmp dword [0x54d598], 0
je 0x4dd3c3
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebp
call fcn.004ef3f4
push eax
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowDC
mov dword [esp + 4], eax
test edi, edi
jle 0x4dd29c
mov eax, 0xff
cdq
idiv edi
mov dword [esp + 8], eax
mov ebx, 0xff
xor ebp, ebp
cmp edi, ebp
jl 0x4dd29c
push 0
mov edx, ebx
xor eax, eax
call fcn.0042e4c4
push eax
mov ecx, 0x54fed8
mov edx, 0x54d5a0
lea eax, [esp + 8]
call fcn.004e6f20
push 0xcc0020
push 0
push 0
mov eax, dword [esp + 0xc]
call fcn.0042c1dc
call fcn.00427d44
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x54ec28]
cmp dword [eax], 0
je 0x4dd280
push 0
mov dx, 3
xor eax, eax
call fcn.004076fc
push eax
mov eax, dword [0x54e8d0]
mov eax, dword [eax]
push eax
mov eax, dword [0x54ec28]
mov eax, dword [eax]
call fcn.0046dee0
push eax
call sub.user32.dll_SendMessageA
inc ebp
sub ebx, dword [esp + 8]
cmp edi, ebp
jl 0x4dd29c
test edi, edi
jle 0x4dd294
push 8
call sub.kernel32.dll_Sleep
cmp edi, ebp
jge 0x4dd201
push 0xcc0020
push 0
push 0
mov eax, dword [0x54fed8]
call fcn.0042c1dc
call fcn.00427d44
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x54ec28]
cmp dword [eax], 0
je 0x4dd2fd
push 0
mov dx, 3
xor eax, eax
call fcn.004076fc
push eax
mov eax, dword [0x54e8d0]
mov eax, dword [eax]
push eax
mov eax, dword [0x54ec28]
mov eax, dword [eax]
call fcn.0046dee0
push eax
call sub.user32.dll_SendMessageA
mov byte [0x54d5a4], 0
push 0
push 1
push 0xb
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x54ea20]
cmp dword [eax], 6
jl 0x4dd337
push 0x585
push 0
push 0
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x47cff8]
call fcn.0040389c
test al, al
je 0x4dd363
push 0xffffffffffffffec
mov eax, esi
call fcn.0046dee0
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4dd382
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [esp + 4]
push eax
mov eax, dword [0x54d598]
call fcn.0046dee0
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x54d598
call fcn.0040e770
mov eax, esp
call fcn.0040e770
xor eax, eax
mov dword [0x54d59c], eax
mov eax, 0x54d5a0
call fcn.0040e770
mov eax, 0x54fed8
call fcn.0040e770
add esp, 0x54
pop ebp
pop edi
pop esi
pop ebx
ret