Function at 0x4df15c
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 0x4df60a
mov eax, ebx
call fcn.004dede8
test al, al
jne 0x4df60a
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x283], 1
je 0x4df60a
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1e2], 0
je 0x4df60a
cmp dword [ebx + 0x28c], 0
je 0x4df1c0
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x2a0], 0
je 0x4df60a
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x287], 1
jne 0x4df1ed
mov eax, dword [0x56b26c]
cmp dword [eax], 0
je 0x4df1ed
mov eax, dword [0x56b26c]
mov eax, dword [eax]
cmp dword [eax + 0xd4], 0
jg 0x4df60a
test byte [ebx + 0x26c], 0x80
jne 0x4df60a
cmp dword [ebx + 0x260], 0
jne 0x4df293
push 0
mov ecx, dword [0x56b194]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4a1514]
call fcn.00482154
mov esi, eax
mov dword [ebx + 0x260], esi
test esi, esi
je 0x4df60a
mov eax, esi
call fcn.00472cbc
mov eax, dword [ebx + 0x260]
call fcn.0047308c
test al, al
jne 0x4df25b
lea eax, [ebx + 0x260]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00403d30
jmp 0x4df60a
mov eax, dword [ebx + 0x260]
mov dword [eax + 0x30c], ebx
mov dword [eax + 0x308], 0x4e9cb8
mov edx, dword [eax + 0x38]
mov dword [ebx + 0x290], edx
mov edx, dword [eax + 0x3c]
mov dword [ebx + 0x294], edx
mov eax, dword [ebx + 0x260]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x4e9e5c
cmp dword [ebx + 0x28c], 0
je 0x4df346
mov eax, ebx
call fcn.004e8a20
mov esi, eax
mov eax, ebx
call fcn.004e83e8
imul esi, eax
inc esi
mov eax, dword [ebx + 0x25c]
call fcn.004829dc
mov edi, eax
mov eax, ebx
call fcn.004e82f4
add edi, eax
sub edi, esi
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.004eb514
sub edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x28c]
call fcn.004deb4c
sub edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.004de97c
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.004829bc
add ebp, eax
mov dword [esp + 0x10], ebp
mov ebp, dword [ebx + 0x25c]
mov eax, ebp
call fcn.00472ce0
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.004de97c
add eax, eax
mov edx, dword [ebp + 0x48]
sub edx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x4df4a6
inc esi
jmp 0x4df4a6
mov eax, dword [ebx + 0x25c]
mov esi, dword [eax + 0x4c]
call fcn.004829dc
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004829bc
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x14], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004dfa5c
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
lea edx, [esp + 0x18]
call fcn.004c7cb8
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 + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4df3e7
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x287], 1
jne 0x4df492
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
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 0x4df43a
lea eax, [ebx + 0x260]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00403d30
mov eax, dword [esp]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_ReleaseDC
jmp 0x4df60a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp edx, eax
jle 0x4df47d
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x24]
jge 0x4df47d
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 + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_ReleaseDC
push 0
push ebp
mov eax, dword [ebx + 0x260]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [esp + 0x14]
push eax
push esi
mov ecx, edi
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x260]
mov ebp, dword [eax]
call dword [ebp + 0x88]
mov ebp, dword [ebx + 0x25c]
cmp byte [ebp + 0x287], 1
jne 0x4df580
mov eax, dword [0x56b26c]
cmp dword [eax], 0
je 0x4df54a
mov eax, dword [0x56b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
mov cl, 1
mov dl, 1
call fcn.004c7e34
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004829dc
add esi, eax
push esi
mov eax, dword [0x56b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
mov cl, 1
mov dl, 3
call fcn.004c7e34
mov esi, eax
mov eax, ebp
call fcn.004829bc
add esi, eax
mov eax, esi
lea ecx, [esp + 0x3c]
pop edx
call fcn.004080dc
lea edx, [esp + 0x38]
lea ecx, [esp + 4]
mov eax, dword [0x56b26c]
mov eax, dword [eax]
mov eax, dword [eax + 0x25c]
call fcn.00469e00
push 0x658
mov eax, ebx
call fcn.004e8874
push eax
mov eax, dword [ebx + 0x25c]
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 + 0x260]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4df5dd
push 0xffffffffffffffec
mov eax, ebp
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4df5b9
push 0x658
push esi
mov eax, dword [esp + 0x1c]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x260]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4df5dd
push 0x658
push esi
mov eax, dword [esp + 0x1c]
push eax
push edi
mov eax, dword [esp + 0x20]
push eax
push 0
mov eax, dword [ebx + 0x260]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x260]
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
push 0x521
push 0
push 0
mov eax, dword [ebx + 0x260]
call fcn.00472ce0
push eax
call sub.user32.dll_RedrawWindow
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret