Function at 0x5e1918
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6aae41
call fcn.006375a8
sub esp, 0x28
push ebx
push esi
push edi
mov edi, 0x7d4dfc
xor ebx, ebx
inc ebx
mov dword [ebp - 0x14], edi
push edi
mov esi, ecx
mov byte [ebp - 0x10], bl
call fcn.00469175
and dword [ebp - 4], 0
cmp dword [esi + 0x294], 0
jne 0x5e1997
cmp byte [0x7d4df9], 0
jne 0x5e1997
movzx eax, word [0x796b68]
mov ecx, esi
push eax
call fcn.0058af31
test al, al
je 0x5e1997
mov esi, dword [esi + 4]
push 0x40
push 0x6ee
call fcn.00588778
push eax
push 0x6ed
call fcn.00588778
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [ebp - 4], ebx
call fcn.00469268
jmp 0x5e1c24
push edi
mov dword [ebp - 4], 2
call fcn.00469268
movzx eax, word [0x796ba8]
mov ecx, esi
or dword [ebp - 4], 0xffffffff
push eax
call fcn.0058af31
test al, al
je 0x5e19f3
mov ecx, esi
call fcn.005dfc0b
test eax, eax
je 0x5e19f3
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push 0x6b6d5c
push eax
mov dword [ebp - 0x30], 0x10
call fcn.00589668
add esp, 0xc
mov ecx, esi
push 0x4d8
call fcn.0058ab92
jmp 0x5e1c24
push 0x6f9
mov dword [esi + 0x274], ebx
call fcn.00588778
push eax
push 0x4c9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov eax, dword [esi + 0x30]
push 0
push 0
shl eax, 6
push 0x402
push dword [eax + 0x796b74]
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x796b68]
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
movzx eax, word [edi + 0x796b68]
mov ecx, esi
push eax
call fcn.0058af31
test al, al
je 0x5e1abe
push 0x7a4
call fcn.00588778
push eax
push dword [edi + 0x796b9c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0x796b9c]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x796b88], 0
push 0
push dword [edi + 0x796b6c]
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x796b94]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x796b98]
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 0x40
cmp edi, 0x80
jb 0x5e1a1a
push 0x59a
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
push 0x59b
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x59c
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x59d
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x59e
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x59f
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a0
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a1
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a2
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a3
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a4
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a5
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x5a6
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0
push 0x58d
push dword [esi + 4]
call ebx
push eax
call edi
push 0x597
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x4d8
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x594
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x592
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x595
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x4c8
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0
push 0x590
push dword [esi + 4]
call ebx
push eax
call edi
and dword [esi + 0x30], 0
push 0
push 3
push 0x464
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret