Function at 0x5636e4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x667710]
xor eax, esp
mov dword [esp + 0x40], eax
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov ebx, ecx
jne 0x563ad5
push dword [ebx + 0x344]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x563ad5
mov eax, dword [0x668294]
push 0x7dd9
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0041129f
mov esi, dword [esp + 0x14]
push ecx
push esi
mov ecx, ebx
call fcn.00433abe
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x563750
call fcn.00407965
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea edi, [ebx + 4]
push 1
push dword [edi]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [edi]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x3c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
push dword [edi]
call esi
push 8
mov dword [ebx + 0x33c], eax
mov eax, dword [0x668294]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0041129f
mov esi, dword [esp + 0x14]
push esi
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5637c6
call fcn.00407965
lea eax, [esp + 0x2c]
push eax
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.0040390c
push 0
push 0
push 0x31
push dword [ebx + 0x33c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x34]
lea esi, [esp + 0x2c]
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
sub ecx, eax
movsd dword es:[edi], dword [esi]
add eax, 0xfffffffa
push ecx
push ecx
mov dword [esp + 0x1c], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], eax
sub eax, ecx
sub eax, 0xa
mov dword [esp + 0x24], eax
mov eax, esp
push 0x821c
push ecx
lea ecx, [esp + 0x20]
mov dword [eax], 0x82e
mov eax, dword [0x668294]
mov dword [esp + 0x20], eax
call fcn.0041129f
mov esi, dword [esp + 0x18]
push ecx
push 0x50000000
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0x34]
mov dword [eax], ecx
lea ecx, [ebx + 0x344]
push dword [ebx + 4]
call fcn.00429ed8
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x563877
call fcn.00407965
mov edi, dword [esp + 0x18]
push 1
push edi
push 0x30
push dword [ebx + 0x344]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffa
mov dword [esp + 0x24], eax
sub eax, dword [esp + 0x14]
push ecx
sub eax, 0xa
push ecx
mov dword [esp + 0x24], eax
mov eax, esp
push 0x821d
push ecx
lea ecx, [esp + 0x20]
mov dword [eax], 0x855
mov eax, dword [0x668294]
mov dword [esp + 0x20], eax
call fcn.0041129f
mov esi, dword [esp + 0x18]
push ecx
push 0x50000000
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0x34]
mov dword [eax], ecx
lea ecx, [ebx + 0x340]
push dword [ebx + 4]
call fcn.00429ed8
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5638f6
call fcn.00407965
push 1
push edi
push 0x30
push dword [ebx + 0x340]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
add eax, ecx
push ecx
push ecx
mov dword [esp + 0x2c], eax
mov eax, esp
push 0x8217
push ecx
lea ecx, [esp + 0x20]
mov dword [eax], 0x835
mov eax, dword [0x668294]
mov dword [esp + 0x20], eax
call fcn.0041129f
mov esi, dword [esp + 0x18]
push ecx
push 0x50000000
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0x34]
mov dword [eax], ecx
lea ecx, [ebx + 0x348]
push dword [ebx + 4]
call fcn.00429ed8
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x563971
call fcn.00407965
push 1
push edi
push 0x30
push dword [ebx + 0x348]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add eax, 6
mov dword [esp + 0x1c], eax
add eax, ecx
push ecx
push ecx
mov dword [esp + 0x2c], eax
mov eax, esp
push 0x8218
push ecx
lea ecx, [esp + 0x20]
mov dword [eax], 0x836
mov eax, dword [0x668294]
mov dword [esp + 0x20], eax
call fcn.0041129f
mov esi, dword [esp + 0x18]
push ecx
push 0x50000000
push esi
push ecx
mov eax, esp
lea ecx, [esp + 0x34]
mov dword [eax], ecx
lea ecx, [ebx + 0x34c]
push dword [ebx + 4]
call fcn.00429ed8
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5639eb
call fcn.00407965
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebx + 0x34c]
push 0x30
push dword [esi]
call edi
mov eax, dword [ebx + 0x348]
xor ecx, ecx
push ecx
cmp dword [ebx + 0x354], ecx
jne 0x563a57
push ecx
push dword [0x67329c]
push eax
call edi
test eax, eax
je 0x563a31
push 0xc0c0c0
push ecx
push 0x412
mov ecx, eax
call fcn.0040f15b
push 0
push 0
push dword [0x67329c]
push dword [esi]
call edi
test eax, eax
je 0x563abd
push 0xc0c0c0
push ecx
push 0x415
mov ecx, eax
call fcn.0040f15b
jmp 0x563abd
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
push 0
push dword [ebx + 0x348]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call edi
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x668294]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x64]
push dword [eax + 4]
lea eax, [esp + 0x14]
push 0x816d
push eax
call fcn.0041c926
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x563abd
call fcn.00407965
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
lea ecx, [ebx + 4]
call fcn.00403b0a
push 0
mov ecx, ebx
call fcn.005641cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004da623
mov esp, ebp
pop ebp
ret 0x10