Function at 0x21045078
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
jne 0x2104508f
jmp 0x2104524d
push 2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 8], 0
je 0x2104521d
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x2c], 0
je 0x210450ce
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x34]
imul eax, eax, 0xb
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x3c], eax
jmp 0x210450da
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x3c], edx
cmp dword [ebp - 0x18], 0
je 0x2104510f
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x3c], edx
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
cmp ecx, dword [edx + 0x38]
jne 0x2104513c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
cmp eax, dword [ecx + 0x3c]
je 0x210451a5
push 0x16
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x38]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 0x18], 0
je 0x210451a5
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x15
push 0
push 0
mov eax, dword [ebp - 0x1c]
imul eax, eax, 3
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x20]
sub edx, eax
push edx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x10000000
test eax, eax
je 0x210451bf
jmp 0x2104521b
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x44], 0
je 0x210451f5
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x48], 0
jne 0x210451f3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x48], eax
push 0
push 0x3e8
push 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x2104521b
push 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x21045245
push 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x48], 0
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x30]
call fcn.21044dd0
mov esp, ebp
pop ebp
ret 4