Function at 0x411f10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
test eax, eax
push edi
mov esi, 1
mov dword [esp + 8], 5
je 0x411f35
or esi, 0xffffffff
mov dword [esp + 8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x42d144]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, edi
mov ecx, dword [esp + 0x24]
lea edi, [esi + esi*2]
mov ebx, edi
mov dword [esp + 0x14], eax
sub ebx, edx
lea edx, [esp + 0x18]
push edx
push ebp
add ebx, ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ebp, [esi + esi*2]
push 0
push ebx
push eax
mov eax, dword [esp + 0x24]
lea ebp, [ebp + ebp*4]
shl ebp, 2
lea edx, [ecx + ebp]
mov ecx, dword [0x42d144]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x42d140]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub edi, ecx
lea ecx, [esp + 0x18]
add edi, eax
push ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x30]
push edi
sub ebx, edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push edx
mov edx, dword [0x42d140]
add ebp, eax
push ebx
push ebp
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [0x42d138]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub ebx, edx
sub ebp, ecx
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x1c]
lea eax, [esi + esi*4]
push 0
push ebx
lea edx, [ecx + eax*4]
mov ecx, dword [0x42d138]
add eax, edx
push ebp
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x42d148]
test eax, eax
je 0x4120bd
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
sub ebx, ebp
mov ebp, dword [esp + 0x20]
push eax
push edi
sub ebp, edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x1c]
lea eax, [esi*8]
sub eax, esi
push 0
push ebx
push ebp
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x24]
mov edx, dword [0x42d148]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [esp + 0x10]
mov eax, dword [0x42d134]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push eax
call esi
mov ecx, dword [0x42c974]
push ebx
push 0x401
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
call fcn.00416db0
mov eax, dword [esp + 0x30]
pop ebp
test eax, eax
pop ebx
je 0x4120f9
push 4
jmp 0x4120fb
push 5
call fcn.0040cb50
add esp, 4
push 5
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
add esp, 0x18
ret