Function at 0x410cc5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x4a]
mov dword [ebp - 4], ecx
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x4e]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
sub eax, 0x21
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 7
ja case.0x410d0b.2
mov ecx, dword [ebp - 0x28]
jmp dword [ecx*4 + 0x41113d]
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x24], edx
jmp 0x410d26
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ecx + 0xa]
jge 0x410d54
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x26
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x32]
cmp dword [edx + eax + 0x18], 0
je 0x410d52
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
jmp 0x410d54
jmp 0x410d1d
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x2a]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0
jmp 0x410d72
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 4]
jg 0x410d94
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x26
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x32]
mov eax, dword [ebp - 0x1c]
add eax, dword [ecx + edx + 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x410d69
mov ecx, dword [0x41e460]
xor edx, edx
mov dx, word [ecx + 8]
and edx, 2
test edx, edx
je 0x410db5
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x1e]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x10]
jle 0x410e3b
mov edx, dword [0x41e460]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x4a]
jne 0x410df1
push 0
push 0x3e80004
push 0x114
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x410e3b
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x2a]
add ecx, dword [ebp - 4]
mov edx, dword [0x41e460]
sub ecx, dword [edx + 0x4a]
and ecx, 0xffff
shl ecx, 0x10
or ecx, 4
push ecx
push 0x114
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x410d0b.2
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 0x24], edx
jmp 0x410e54
mov eax, dword [ebp - 0x24]
sub eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x410e7a
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x26
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x32]
cmp dword [eax + ecx + 0x18], 0
je 0x410e78
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
jmp 0x410e7a
jmp 0x410e4b
mov edx, dword [0x41e460]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x4a]
jne 0x410e9b
push 0
push 4
push 0x114
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x41e460]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x2a]
jge 0x410ee2
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 4]
and edx, 0xffff
shl edx, 0x10
or edx, 4
push edx
push 0x114
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x410d0b.2
mov edx, dword [ebp - 8]
add edx, 1
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x22]
sub ecx, 1
cmp edx, ecx
jge 0x410f07
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x410f15
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x22]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
jmp case.0x410d0b.2
mov eax, dword [ebp - 8]
sub eax, 1
test eax, eax
jge 0x410f33
mov dword [ebp - 0x30], 0
jmp 0x410f3c
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 8], edx
jmp case.0x410d0b.2
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x26]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx - 1]
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
sub edx, 1
cmp eax, edx
jge 0x410f77
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x26]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx - 1]
mov dword [ebp - 0x34], eax
jmp 0x410f86
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x22]
sub edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
jmp case.0x410d0b.2
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 8]
sub edx, dword [ecx + 0x26]
add edx, 1
test edx, edx
jge 0x410faa
mov dword [ebp - 0x38], 0
jmp 0x410fbb
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax + 0x26]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 8], edx
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x4a]
jne 0x410fdc
mov edx, dword [0x41e460]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x4e]
je 0x41102c
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x2e]
jl 0x41102c
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x4a], ecx
mov edx, dword [0x41e460]
mov eax, dword [ebp - 8]
mov dword [edx + 0x4e], eax
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x52]
push edx
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x56]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00411ac0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00410a74
add esp, 4
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x2e]
mov eax, dword [0x41e460]
mov ecx, dword [eax + 0x26]
lea edx, [edx + ecx - 1]
cmp dword [ebp - 8], edx
jle 0x41108b
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 8]
sub edx, dword [ecx + 0x26]
add edx, 1
and edx, 0xffff
shl edx, 0x10
or edx, 4
push edx
push 0x115
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x41e460]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x2e]
jge 0x411139
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov edx, dword [ebp - 8]
and edx, 0xffff
shl edx, 0x10
or edx, 4
push edx
push 0x115
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x4a]
push eax
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x4e]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041013a
add esp, 0xc
mov ecx, dword [0x41e460]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x4a], edx
mov eax, dword [0x41e460]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x4e], ecx
mov edx, dword [0x41e460]
mov eax, dword [edx + 0x52]
push eax
mov ecx, dword [0x41e460]
mov edx, dword [ecx + 0x56]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00411ac0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410a74
add esp, 4
mov esp, ebp
pop ebp
ret