Function at 0x5d4147
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x684764
call fcn.0062921c
sub esp, 0x28
push ebx
push esi
push edi
mov edi, 0x7a21d4
xor ebx, ebx
inc ebx
mov dword [ebp - 0x14], edi
push edi
mov esi, ecx
mov byte [ebp - 0x10], bl
call fcn.00465e86
and dword [ebp - 4], 0
cmp dword [esi + 0x294], 0
jne 0x5d41c6
cmp byte [0x7a21d1], 0
jne 0x5d41c6
movzx eax, word [0x765a88]
mov ecx, esi
push eax
call fcn.0057def2
test al, al
je 0x5d41c6
mov esi, dword [esi + 4]
push 0x40
push 0x6ee
call fcn.0057b788
push eax
push 0x6ed
call fcn.0057b788
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [ebp - 4], ebx
call fcn.00465f79
jmp 0x5d4453
push edi
mov dword [ebp - 4], 2
call fcn.00465f79
movzx eax, word [0x765ac8]
mov ecx, esi
or dword [ebp - 4], 0xffffffff
push eax
call fcn.0057def2
test al, al
je 0x5d4222
mov ecx, esi
call fcn.005d25d8
test eax, eax
je 0x5d4222
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push 0x68ea78
push eax
mov dword [ebp - 0x30], 0x10
call fcn.0057c60a
add esp, 0xc
mov ecx, esi
push 0x4d8
call fcn.0057db53
jmp 0x5d4453
push 0x6f9
mov dword [esi + 0x274], ebx
call fcn.0057b788
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 + 0x765a94]
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x765a88]
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
movzx eax, word [edi + 0x765a88]
mov ecx, esi
push eax
call fcn.0057def2
test al, al
je 0x5d42ed
push 0x7a4
call fcn.0057b788
push eax
push dword [edi + 0x765abc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0x765abc]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x765aa8], 0
push 0
push dword [edi + 0x765a8c]
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x765ab4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x765ab8]
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 0x40
cmp edi, 0x80
jb 0x5d4249
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