Function at 0x47042a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov esi, ecx
call fcn.004703e0
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x58b
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x24]
add eax, 0x190
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x54]
push eax
push dword [esi + 4]
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 9
push 0
push 0x454
push dword [esi + 0x30]
call ebx
lea eax, [ebp - 0x14]
push eax
push 0
push 0x453
push dword [esi + 0x30]
call ebx
lea eax, [ebp - 0x34]
push eax
push 0
push 0x41d
push dword [esi + 0x30]
call ebx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jge 0x4704bf
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x68]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0x5c3
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
push eax
call edi
mov ecx, dword [esi + 0x68]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push ecx
push ecx
sub ecx, dword [esi + 0x60]
push 0x14
pop edx
shr ecx, 1
sub edx, ecx
push edx
push 0x14
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5c6
push eax
call edi
mov ecx, dword [esi + 0x68]
push 0x40
push ecx
push ecx
push 0x14
push 0x14
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5b7
push eax
call edi
push 0x40
push dword [esi + 0x48]
push 0x1f4
push 0x14
push dword [ebp - 8]
push 0
push eax
call ebx
mov eax, dword [esi + 0x48]
add eax, 0x19
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x5b9
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add ecx, 0xc
push 0x244
push ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [edx + ecx + 0xe]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffffd
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffffd
push ecx
push 0
push eax
call ebx
mov eax, dword [esi + 4]
add dword [ebp - 4], 6
push 0x58b
push eax
call edi
push 0x40
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffffe
push ecx
push dword [ebp - 8]
push 0
push eax
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x40
push dword [ebp - 0x10]
add eax, 0xfffffffd
push dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + ecx + 4]
push eax
push 0
push dword [esi + 0x30]
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [ecx + eax + 7]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x5bf
push eax
call edi
push 0x40
push dword [esi + 0x54]
push 0x1f4
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5c4
push eax
call edi
mov ecx, dword [esi + 0x54]
mov edx, dword [ebp - 4]
lea edx, [edx + ecx + 0x32]
mov ecx, dword [esi + 0x68]
push 0x40
push ecx
push ecx
sub ecx, dword [esi + 0x60]
mov dword [ebp - 4], edx
shr ecx, 1
sub edx, ecx
push edx
push 0x14
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5c7
push eax
call edi
mov ecx, dword [esi + 0x68]
push 0x40
push ecx
push ecx
push dword [ebp - 4]
push 0x14
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5bd
push eax
call edi
push 0x40
push dword [esi + 0x4c]
push 0x1f4
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x4c]
lea eax, [ecx + eax + 5]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x5c0
push eax
call edi
push 0x40
push dword [esi + 0x58]
push 0x1f4
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push eax
call ebx
mov eax, dword [esi + 0x58]
add dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x5c2
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x64]
lea eax, [ecx + eax + 0x32]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x5c5
push eax
call edi
mov ecx, dword [esi + 0x68]
mov edx, dword [ebp - 4]
push 0x40
push ecx
push ecx
sub ecx, dword [esi + 0x60]
shr ecx, 1
sub edx, ecx
push edx
push 0x14
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5c8
push eax
call edi
mov ecx, dword [esi + 0x68]
push 0x40
push ecx
push ecx
push dword [ebp - 4]
push 0x14
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x5be
push eax
call edi
push 0x40
push dword [esi + 0x50]
push 0x1f4
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x50]
lea eax, [ecx + eax + 5]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 0x5c1
push eax
call edi
mov edi, eax
push 0x40
push dword [esi + 0x5c]
push 0x1f4
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push edi
call ebx
cmp byte [ebp + 8], 0
je 0x470754
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x38]
push 1
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.0046ff43
pop edi
pop esi
pop ebx
leave
ret 4