Function at 0x475861
Capabilities:
Hide graphical window

Disassembly:
push 0xb8
mov eax, 0x52a78f
call fcn.004ebc96
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00475abd
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp byte [eax + 0x16d], 0
je 0x4758e5
mov ecx, dword [esi + 0x10]
lea edi, [ebp - 0x20]
xor eax, eax
mov edx, 0x90000080
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x38], eax
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
dec eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
dec eax
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, 0x90000080
jmp 0x4758ed
mov eax, 0x40000080
mov dword [ebp - 0x28], eax
mov edx, dword [esi + 0x10]
xor esi, esi
inc esi
mov ecx, dword [edx + 0x55c]
test cl, 1
je 0x475902
or eax, esi
jmp 0x47590a
test cl, 2
je 0x47590d
or eax, 2
mov dword [ebp - 0x28], eax
mov al, byte [edx + 0x591]
mov ecx, edx
mov byte [ebp - 0x21], al
mov eax, dword [edx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x38]
mov edi, esp
mov ecx, dword [eax + 0xa8]
mov eax, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
or eax, 0x20
cmp byte [ebp - 0x21], 0
push ecx
cmove eax, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
push 0
push eax
push ecx
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.0044f4ab
mov ecx, dword [esi + 0x10]
mov edi, dword [ecx + 0x558]
cmp edi, 0xffffffff
je 0x47596c
mov eax, dword [ecx]
call dword [eax + 0x1c]
push edi
mov ecx, eax
call fcn.004442b9
test eax, eax
jne 0x47597d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00443a67
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x10]
push 0
push dword [eax + 0x58c]
push 0xc5
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
cmp byte [ecx + 0x591], 0
je 0x4759c5
movzx eax, word [ecx + 0x594]
push 0
push eax
push 0xcc
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [eax + 0x28]
call eax
and dword [ebp - 4], 0
push dword [eax]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0044e875
push 0
push 0
push 0xb9
push dword [esi + 4]
call edi
push 0
push 3
push 0xd3
push dword [esi + 4]
call edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x10]
xor ecx, ecx
push 0
cmp byte [eax + 0x590], 1
sete cl
push ecx
push 0xcf
push dword [esi + 4]
call edi
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x83c]
or ecx, eax
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
cmp byte [eax + 0x592], 0
je 0x475a9d
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 1
pop ecx
test eax, eax
cmove eax, ecx
push eax
push 0
jmp 0x475aa5
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [esi + 4]
call edi
xor eax, eax
inc eax
mov byte [esi + 0x18], al
call fcn.004ebc45
ret 4