Function at 0x483640
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
test edi, edi
mov esi, ecx
je 0x483665
cmp edi, 1
je 0x483665
cmp edi, 0xffffffff
je 0x48369f
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret 4
cmp edi, 0xffffffff
je 0x48369f
mov eax, dword [esi + edi*4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x483686
mov ecx, dword [esi + edi*4]
push 5
push ecx
call ebx
xor edx, edx
push 0
test edi, edi
sete dl
mov eax, dword [esi + edx*4]
push eax
call ebx
cmp dword [esi + 0x20], edi
je 0x4836ba
mov dword [esi + 0x20], edi
jmp 0x4836ba
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x4836ba
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [esi + ecx*4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 0xffffffff
push ebp
mov dword [esi + 0x48], edi
jne 0x4836cc
cmp dword [esi + 0x1c], edi
je 0x483828
test esi, esi
je 0x4836d5
lea ebp, [esi - 0x20]
jmp 0x4836d7
xor ebp, ebp
xor ebx, ebx
cmp edi, 0xffffffff
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jne 0x4837ce
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x483764
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
mov ecx, dword [esi + 8]
je 0x48372e
mov edi, dword [esi + 0x24]
lea edx, [ecx + eax]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x30]
add edx, edi
add edx, ecx
add edx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jmp 0x483753
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x24]
lea edx, [ecx + eax]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x30]
add edx, edi
add edx, ecx
add edx, eax
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x10]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
xor edi, edi
mov ebx, esi
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push edi
call fcn.0042e260
test al, al
je 0x4837b9
mov edx, dword [ebx]
test edx, edx
je 0x4837a8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
sub ecx, eax
push 4
push ecx
mov ecx, dword [esp + 0x18]
sub ebp, ecx
push ebp
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebp, dword [esp + 0x24]
jmp 0x4837b9
mov eax, dword [ebp + 4]
lea edx, [esp + 0x10]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
inc edi
add ebx, 4
cmp edi, 2
jl 0x483768
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.0042e260
test al, al
je 0x483828
mov edx, dword [esi + 0x48]
mov esi, dword [esi + edx*4]
cmp esi, ebx
je 0x483817
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub ecx, eax
push 4
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x10]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4