Function at 0x49ed20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call edi
mov eax, dword [esi + 0x3c]
lea edx, [ebp - 0x50]
push edx
push eax
call edi
mov eax, dword [esi + 0x7e0]
push 0x20
cmp eax, ebx
je 0x49eebf
mov ecx, dword [0x6fcacc]
mov eax, dword [ebp - 0x3c]
neg ecx
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
sbb ecx, ecx
and ecx, 5
add ecx, 9
sub ecx, eax
add ecx, edi
push ecx
mov ecx, dword [ebp - 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x10]
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x14], ebx
je 0x49ee49
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x20], bx
mov ecx, dword [0x6fca90]
mov ebx, dword [0x6fd9c0]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00401070
test ebx, ebx
je 0x49ee26
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49ee26
mov edx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push edx
call edi
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x49ee26
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x49ee2d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push ecx
push eax
push 0xffffffffffffffff
push ebx
push 0
push edx
call edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x49ee30
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x49ee70
mov eax, dword [esi + 0x3c]
mov edi, dword [0x6fd9c0]
test eax, eax
je 0x49ee70
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49ee70
mov ecx, dword [esi + 0x3c]
push edi
push 0
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x10]
push 0
push 0x519
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x7e0]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0x7e0], eax
mov ecx, dword [esi + 0x7e0]
test ecx, ecx
setne cl
push ecx
mov ecx, esi
call fcn.0049bde0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x7c0]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x14], ebx
je 0x49ef81
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x2c], bx
mov eax, dword [0x6fca90]
mov ebx, dword [0x6fd9bc]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], eax
call fcn.00401070
test ebx, ebx
je 0x49ef5e
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49ef5e
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push ecx
call edi
test eax, eax
mov dword [ebp - 0x28], eax
je 0x49ef5e
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x49ef65
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
push ecx
push eax
push 0xffffffffffffffff
push ebx
push 0
push edx
call edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x49ef68
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x49efa8
mov eax, dword [esi + 0x3c]
mov edi, dword [0x6fd9bc]
test eax, eax
je 0x49efa8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49efa8
mov ecx, dword [esi + 0x3c]
push edi
push 0
push 0xc
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x10]
push 5
push 0x519
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x7e0]
xor eax, eax
test ecx, ecx
mov ecx, dword [esi]
sete al
mov dword [esi + 0x7e0], eax
mov ecx, dword [ecx + 0x8f8]
test ecx, ecx
je 0x49ee9b
mov edx, dword [ecx]
call dword [edx]
jmp 0x49ee9b