Function at 0x10007a00
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100350dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x40], 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0x30
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x10007a46
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.10005380
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
je 0x10007a5d
cmp dword [ebp - 0x44], 4
jne 0x10007a66
mov edx, dword [ebp - 0x40]
add edx, 0xc
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x88]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x10
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x48]
mov dword [ebp - 0x28], edx
push 1
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x134]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x3c]
add eax, 0x30
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x10007b24
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1e0], 1
jne 0x10007b24
mov edx, 0xff
shl edx, 0x18
mov eax, 0xff
shl eax, 0x10
mov ecx, 0x65
shl ecx, 8
mov esi, 0x65
or esi, ecx
or esi, eax
or esi, edx
mov dword [ebp - 0x50], esi
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1dc], 1
jne 0x10007ba9
push 0x57b
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
push 0xa
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x134]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x1dc], 0
je 0x10007bcd
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1dc], 2
je 0x10007bcd
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x1dc], 3
jne 0x10007c33
mov eax, dword [ebp - 0x28]
sub eax, 6
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
push 1
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x1dc], 3
jne 0x10007c33
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002916b
mov esp, ebp
pop ebp
ret