Function at 0x49c070
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0042eff0
mov edi, eax
mov eax, dword [esp + 0x34]
cmp eax, 1
jne 0x49c24e
mov eax, dword [esi + 0x200]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x49c0af
mov ecx, dword [esi + 0x200]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x50
lea ebx, [esi + 0x184]
push 0
push 0
push 1
mov ecx, ebx
call fcn.0051dfc5
push 0x50
push 0
push 0
push 2
mov ecx, ebx
call fcn.0051dfc5
mov edx, dword [edi + 0xec]
mov ecx, esi
shr edx, 0xa
push edx
call fcn.0049c420
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 1
call fcn.0051df12
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esi + 0x204]
push edx
call ebp
test eax, eax
jne 0x49c17e
mov ecx, dword [esp + 0x1c]
push eax
push eax
mov eax, dword [esi + 0x1a0]
mov edx, dword [esp + 0x20]
push 0xc8
push eax
mov eax, dword [esp + 0x24]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
push 0x40000110
push 0
push str.msctls_trackbar32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push eax
mov dword [esi + 0x204], eax
call ebp
test eax, eax
je 0x49c17e
mov eax, dword [esi + 0x204]
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 0x204]
push 0x49c4a0
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [0x599dc8], eax
mov edx, dword [esi + 0x204]
push edx
call ebp
test eax, eax
je 0x49c411
mov eax, 0x10624dd3
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mul dword [edi + 0xf4]
mov eax, dword [esi + 0x204]
shr edx, 6
push edx
push 0
push 0x408
push eax
call ebp
mov ecx, dword [esi + 0x204]
push 1
push 0
push 0x407
push ecx
call ebp
mov eax, 0x10624dd3
mul dword [edi + 0xec]
shr edx, 6
push edx
mov edx, dword [esi + 0x204]
push 1
push 0x405
push edx
call ebp
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
push 1
call fcn.0051df12
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esi + 0x204]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x204]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x204]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
cmp eax, 2
jne 0x49c3a1
mov edx, dword [esi + 0x204]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push edx
call ebp
test eax, eax
je 0x49c279
mov eax, dword [esi + 0x204]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x50
lea ebx, [esi + 0x184]
push 0
push 0
push 1
mov ecx, ebx
call fcn.0051dfc5
push 0x50
push 0
push 0
push 2
mov ecx, ebx
call fcn.0051dfc5
mov ecx, dword [edi + 0xfc]
push ecx
mov ecx, esi
call fcn.0049c420
lea edx, [esp + 0x20]
mov ecx, ebx
push edx
push 1
call fcn.0051df12
mov eax, dword [esi + 0x200]
push eax
call ebp
test eax, eax
jne 0x49c302
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1a0]
push eax
push eax
push eax
mov eax, dword [esp + 0x30]
sub edx, eax
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
sub edx, ecx
push edx
push eax
push ecx
push 0x40000001
push 0
push 0x58cefc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x200], eax
mov eax, dword [esi + 0x200]
push eax
call ebp
test eax, eax
je 0x49c411
mov ecx, dword [edi + 0xf4]
mov edx, dword [esi + 0x200]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 0
push 0x406
push edx
call ebp
mov eax, dword [edi + 0xfc]
mov ecx, dword [esi + 0x200]
push 0
push eax
push 0x402
push ecx
call ebp
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
push 1
call fcn.0051df12
mov eax, dword [esi + 0x200]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 0x200]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov edx, dword [esi + 0x200]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x49c3c5
mov eax, dword [esi + 0x200]
push 0
push eax
call edi
mov ecx, dword [esi + 0x204]
push ecx
call ebx
test eax, eax
je 0x49c3dd
mov edx, dword [esi + 0x204]
push 0
push edx
call edi
push 0xa
add esi, 0x184
push 0
push 0
push 1
mov ecx, esi
call fcn.0051dfc5
push 0xa
push 0
push 0
push 2
mov ecx, esi
call fcn.0051dfc5
push 1
push 0x596660
push 2
mov ecx, esi
call fcn.0051e081
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4