Function at 0x4fc610
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc0
mov ebx, eax
cmp byte [ebx + 0x47], 0
je 0x4fcac8
mov eax, ebx
call fcn.004fc25c
test al, al
jne 0x4fcac8
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x22b], 1
je 0x4fcac8
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x1a6], 0
je 0x4fcac8
cmp dword [ebx + 0x2a4], 0
je 0x4fc674
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x248], 0
je 0x4fcac8
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x22f], 1
jne 0x4fc69e
cmp dword [0x54b398], 0
je 0x4fc69e
mov eax, dword [0x54b398]
cmp dword [eax + 0xd4], 0
jg 0x4fcac8
mov eax, dword [ebx + 0x284]
and eax, 0x80
cmp eax, 0x80
je 0x4fcac8
cmp dword [ebx + 0x278], 0
jne 0x4fc790
mov ecx, dword [0x548380]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x467718]
call fcn.0046a1c8
mov esi, eax
mov dword [ebx + 0x278], esi
test esi, esi
je 0x4fcac8
xor edx, edx
mov eax, esi
call fcn.0046b00c
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.0046b98c
mov eax, dword [ebx + 0x278]
mov dword [eax + 0xc], pe_nt_image_headers32
call fcn.004581e0
mov eax, dword [ebx + 0x278]
call fcn.00458508
test al, al
jne 0x4fc72c
lea eax, [ebx + 0x278]
call fcn.0040e634
jmp 0x4fcac8
push 0xffffffffffffffe6
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_GetClassLongA
and eax, 0xfffdffff
push eax
push 0xffffffffffffffe6
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_SetClassLongA
mov eax, dword [ebx + 0x278]
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2b8], 0x507154
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x2a8], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x2ac], edx
mov eax, dword [ebx + 0x278]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x5072f8
cmp dword [ebx + 0x2a4], 0
je 0x4fc837
mov eax, ebx
call fcn.00505d28
mov esi, eax
mov eax, ebx
call fcn.00505630
imul esi, eax
inc esi
mov eax, ebx
call fcn.0050553c
mov edi, eax
mov eax, dword [ebx + 0x274]
add edi, dword [eax + 0x44]
sub edi, esi
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.0050896c
sub edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x2a4]
call fcn.004fbffc
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, dword [ebx + 0x274]
mov eax, edi
call fcn.00458204
xor ecx, ecx
mov edx, dword [ebx + 0x2a4]
call fcn.004fbe2c
add eax, dword [edi + 0x40]
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 0x274]
mov eax, edi
call fcn.00458204
xor ecx, ecx
mov edx, dword [ebx + 0x2a4]
call fcn.004fbe2c
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov edi, edx
test esi, esi
je 0x4fc97d
inc esi
jmp 0x4fc97d
mov eax, dword [ebx + 0x274]
mov esi, dword [eax + 0x4c]
mov edx, dword [eax + 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x14], edx
mov edi, dword [eax + 0x48]
push esi
push edi
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov ebp, eax
mov eax, dword [ebx + 0x274]
call fcn.00458204
lea edx, [esp + 0x18]
call fcn.004dfcd0
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [esp + 0xc], eax
push 4
mov eax, dword [esp + 0x10]
push eax
push ebp
push ebp
call sub.gdi32.dll_CombineRgn
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebx + 0x274]
cmp dword [eax + 0x30], 0
jne 0x4fc8c6
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x22f], 1
jne 0x4fc969
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_GetDC
mov dword [esp], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x4fc911
lea eax, [ebx + 0x278]
call fcn.0040e634
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_ReleaseDC
jmp 0x4fcac8
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp edx, eax
jle 0x4fc954
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x4fc954
mov ecx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [esp + 0xc], eax
push 1
mov eax, dword [esp + 0x10]
push eax
push ebp
push ebp
call sub.gdi32.dll_CombineRgn
mov eax, dword [esp + 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_ReleaseDC
push 0
push ebp
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowRgn
push edi
push esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x278]
mov ebp, dword [eax]
call dword [ebp + 0x84]
mov ebp, 0x658
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x22f], 1
jne 0x4fca3e
cmp dword [0x54b398], 0
je 0x4fca0c
mov eax, dword [0x54b398]
mov eax, dword [eax + 0x274]
mov cl, 1
mov dl, 1
call fcn.004dfe34
mov edx, dword [ebx + 0x274]
add eax, dword [edx + 0x44]
push eax
mov eax, dword [0x54b398]
mov esi, dword [eax + 0x274]
mov eax, esi
mov cl, 1
mov dl, 3
call fcn.004dfe34
mov edx, dword [ebx + 0x274]
add eax, dword [edx + 0x40]
lea ecx, [esp + 0x3c]
pop edx
call fcn.004067c0
lea edx, [esp + 0x38]
lea ecx, [esp + 4]
mov eax, esi
call fcn.004514e4
push ebp
mov eax, ebx
call fcn.00505b64
push eax
mov eax, dword [ebx + 0x274]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push 0
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4fca9b
push 0xffffffffffffffec
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4fca7b
push ebp
push esi
push edi
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4fca9b
push ebp
push esi
push edi
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
push 0
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_ShowWindow
push 0x501
push 0
push 0
mov eax, dword [ebx + 0x278]
call fcn.00458204
push eax
call sub.user32.dll_RedrawWindow
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret