Function at 0x4a6d10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4a6d91
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4a6d91
mov ecx, dword [edi + 0x10]
sub ecx, eax
sar ecx, 4
je 0x4a6d91
test eax, eax
je 0x4a6d41
mov edx, dword [edi + 0x10]
sub edx, eax
sar edx, 4
jne 0x4a6d46
call fcn.005d29f1
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a6d91
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
je 0x4a6d91
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4a6d6b
mov ecx, dword [edi + 0x10]
sub ecx, eax
sar ecx, 4
jne 0x4a6d70
call fcn.005d29f1
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 4]
test eax, eax
je 0x4a6d84
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
jne 0x4a6d89
call fcn.005d29f1
mov eax, dword [esi + 4]
mov esi, dword [eax]
mov dword [ebp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
lea edx, [ebx + 2]
je 0x4a6dd1
mov ecx, dword [esi + 0x38]
cmp ecx, 1
je 0x4a6dc8
mov eax, dword [esi + 0x64]
test eax, eax
je 0x4a6dc3
mov ebx, eax
mov dword [esp + 0x10], ebx
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x28], 1
jmp 0x4a6dd1
cmp ecx, 1
jne 0x4a6dd1
mov ebx, esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x60], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
jmp 0x4a6de0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a6f33
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp edx, eax
jae 0x4a6f33
test ecx, ecx
je 0x4a6e0b
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp edx, eax
jb 0x4a6e10
call fcn.005d29f1
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test eax, eax
je 0x4a6e28
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
jne 0x4a6e2d
call fcn.005d29f1
mov edx, dword [esi + 4]
mov esi, dword [edx]
mov ecx, dword [edi]
mov dword [esp + 0x1c], esi
call fcn.004a6090
test ebx, ebx
je 0x4a6f1c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 1
jne 0x4a6f04
mov ecx, esi
cmp eax, ecx
je 0x4a6f04
xor ecx, ecx
mov eax, esi
mov dword [eax + 0x28], ecx
mov dword [eax + 0x60], ecx
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a6e85
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x14], eax
jb 0x4a6e8a
call fcn.005d29f1
mov eax, dword [edi + 0xc]
add eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a6f04
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x4a6f04
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a6eb9
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x14], eax
jb 0x4a6ebe
call fcn.005d29f1
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4a6ed8
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4a6edd
call fcn.005d29f1
mov edx, dword [esi + 4]
mov esi, dword [edx + ebx*4]
mov ecx, dword [edi]
call fcn.004a6090
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x60], 0
add ebx, 1
jmp 0x4a6e70
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 1
jne 0x4a6f1c
cmp eax, dword [esp + 0x1c]
jne 0x4a6f1c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
add dword [esp + 0x14], 1
add dword [esp + 0x18], 0x10
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4a6de0
xor edx, edx
cmp dword [esp + 0xc], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], edx
jle 0x4a6ff3
mov dword [esp + 0x18], edx
jmp 0x4a6f55
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a6ff3
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp edx, eax
jae 0x4a6ff3
test ecx, ecx
je 0x4a6f80
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp edx, eax
jb 0x4a6f85
call fcn.005d29f1
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test eax, eax
je 0x4a6f9d
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
jne 0x4a6fa2
call fcn.005d29f1
mov eax, dword [esi + 4]
mov esi, dword [eax]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
add ebx, ecx
push 1
mov edx, ebx
sub edx, ecx
push edx
push eax
mov eax, dword [esi]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0x10
add eax, 1
add ebx, 0xffffffff
cmp eax, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jl 0x4a6f51
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a70f7
mov ebx, 1
cmp dword [eax + 0x38], ebx
jne 0x4a70f7
mov esi, dword [esp + 0xc]
shl esi, 4
mov dword [esp + 0x1c], esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a702c
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0xc], eax
jb 0x4a7031
call fcn.005d29f1
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + esi + 4]
add eax, esi
test ecx, ecx
je 0x4a70f7
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x4a70f7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a7067
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0xc], eax
jb 0x4a706c
call fcn.005d29f1
mov esi, dword [edi + 0xc]
add esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4a7086
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4a708b
call fcn.005d29f1
mov edx, dword [esi + 4]
mov esi, dword [edx + ebx*4]
cmp dword [esi + 0x24], 0
jne 0x4a70a3
mov esi, dword [esp + 0x1c]
add ebx, 1
jmp 0x4a7017
mov eax, 1
cmp dword [esi + 0x38], eax
jne 0x4a70c1
xor eax, eax
cmp dword [esi + 0x28], eax
mov dword [esi + 0x60], 0
sete al
mov dword [esi + 0x28], eax
jmp 0x4a70ce
mov ecx, dword [esi + 0x5c]
mov dword [ecx + 4], eax
mov dword [esi + 0x60], 2
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
push esi
push edx
push 0x7e8
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x18], 0
nop
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a7262
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0xc], eax
jae 0x4a7262
test ecx, ecx
je 0x4a712f
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0xc], eax
jb 0x4a7134
call fcn.005d29f1
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0xc]
mov ebx, edx
shl ebx, 4
mov ecx, dword [eax + ebx + 4]
add eax, ebx
test ecx, ecx
je 0x4a7262
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jae 0x4a7262
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a7173
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp edx, eax
jb 0x4a7178
call fcn.005d29f1
mov esi, dword [edi + 0xc]
mov ecx, dword [esi + ebx + 4]
add esi, ebx
test ecx, ecx
je 0x4a7193
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x4a7198
call fcn.005d29f1
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x18]
mov esi, dword [edx + ebx*4]
mov ecx, dword [edi]
call fcn.004a6090
cmp dword [ebp + 8], esi
je 0x4a71b5
mov dword [esi + 0x60], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4a724d
cmp dword [esi + 0x38], 1
jne 0x4a720d
test ebx, ebx
jne 0x4a720d
mov eax, dword [esp + 0x24]
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
add ebx, eax
push 1
mov edx, ebx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi]
push 0
push eax
mov dword [esi + 0x60], 2
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0xffffffff
add dword [esp + 0x18], 1
mov dword [esp + 0x24], ebx
jmp 0x4a7100
test eax, eax
je 0x4a724d
mov eax, dword [esp + 0x24]
mov ebx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
add ebx, eax
push 1
mov edx, ebx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0xffffffff
add dword [esp + 0x18], 1
mov dword [esp + 0x24], ebx
jmp 0x4a7100
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [esp + 0x18], 1
jmp 0x4a7100
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [edi + 0xc]
sub eax, 3
test ecx, ecx
mov dword [esp + 0x2c], eax
jne 0x4a728a
xor eax, eax
jmp 0x4a7292
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
add eax, 0xffffffff
cmp eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
jle 0x4a7339
mov ebx, eax
shl ebx, 4
mov dword [esp + 0x1c], ebx
jmp 0x4a72b4
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4a72c9
mov eax, dword [edi + 0x10]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x18], eax
jb 0x4a72ce
call fcn.005d29f1
mov esi, dword [edi + 0xc]
mov eax, dword [esi + ebx + 4]
add esi, ebx
test eax, eax
je 0x4a72e5
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
jne 0x4a72ea
call fcn.005d29f1
mov eax, dword [esi + 4]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x34]
mov esi, ecx
sub esi, dword [ebx + 0x30]
push 1
sub ecx, esi
push ecx
mov ecx, dword [ebx]
push eax
push esi
push 0
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebx]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
sub dword [esp + 0x1c], 0x10
sub eax, 1
add esi, 1
cmp eax, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], eax
jg 0x4a72b0
mov eax, dword [edi]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4