Function at 0x593cbfb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 0x4c]
push 0x44d
push dword [esi + 4]
mov dword [esp + 0x28], eax
call edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
call fcn.593d1a21
xor ebx, ebx
inc ebx
cmp dword [esi + 0x5c], ebx
jne 0x593cc007
push dword [esp + 0x24]
lea ecx, [esp + 0x18]
call fcn.593d249a
test eax, eax
je 0x593cc007
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp dword [eax - 8], ebp
je 0x593cc009
mov dword [esp + 0x18], ebx
jmp 0x593cc00d
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp dword [esi + 0x5c], 2
jne 0x593cc033
push 0x452
push dword [esi + 4]
call edi
push ebp
push ebp
push 0xc1
push eax
call dword [sym.imp.vsansi.dll_SendMessageW]
test eax, eax
mov dword [esp + 0x10], ebx
jg 0x593cc037
mov dword [esp + 0x10], ebp
cmp dword [esi + 0x5c], 3
jne 0x593cc05a
push dword [esi + 0x58]
lea ecx, [esp + 0x18]
call fcn.593d249a
test eax, eax
je 0x593cc05a
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebp
mov dword [esp + 0x1c], ebx
jne 0x593cc05e
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x6c], ebp
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
je 0x593cc179
push 0x454
push dword [esi + 4]
call edi
push 0x455
push dword [esi + 4]
mov dword [esp + 0x74], eax
call edi
push 0x456
push dword [esi + 4]
mov dword [esp + 0x30], eax
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0x2c], eax
xor eax, eax
cmp dword [esi + 0x5c], 1
sete al
push eax
push dword [esp + 0x70]
call ebp
push dword [esp + 0x18]
push dword [esp + 0x70]
call ebx
xor eax, eax
cmp dword [esi + 0x5c], 1
sete al
push eax
push dword [esp + 0x28]
call ebx
xor eax, eax
cmp dword [esi + 0x5c], 2
sete al
push eax
push dword [esp + 0x2c]
call ebp
push dword [esp + 0x10]
push dword [esp + 0x2c]
call ebx
push 0x452
push dword [esi + 4]
call edi
xor ecx, ecx
cmp dword [esi + 0x5c], 2
sete cl
push ecx
push eax
call ebx
push 0x44f
push dword [esi + 4]
call edi
push dword [esp + 0x10]
push eax
call ebx
cmp dword [esp + 0x10], 0
je 0x593cc138
push 0x44f
push dword [esi + 4]
call edi
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.vsansi.dll_SendMessageW]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x593cc138
mov dword [esp + 0x6c], ecx
jmp 0x593cc13d
and dword [esp + 0x6c], 0
push 0x44e
push dword [esi + 4]
call edi
push dword [esp + 0x6c]
push eax
call ebx
xor eax, eax
cmp dword [esi + 0x5c], 3
sete al
push eax
push dword [esp + 0x30]
call ebp
push dword [esp + 0x1c]
push dword [esp + 0x30]
call ebx
xor eax, eax
cmp dword [esi + 0x5c], 3
sete al
push eax
push dword [esi + 0x58]
call ebx
xor ebp, ebp
cmp dword [esp + 0x60], ebp
je 0x593cc190
push 0x45e
push dword [esi + 4]
call edi
push dword [esp + 0x20]
push eax
call ebx
cmp dword [esp + 0x64], ebp
je 0x593cc1be
cmp dword [esp + 0x18], ebp
jne 0x593cc1ae
cmp dword [esp + 0x10], ebp
jne 0x593cc1ae
cmp dword [esp + 0x1c], ebp
jne 0x593cc1ae
cmp dword [esp + 0x20], ebp
je 0x593cc1b1
xor ebp, ebp
inc ebp
push 1
push dword [esi + 4]
call edi
push ebp
push eax
call ebx
xor ebp, ebp
cmp dword [esp + 0x68], ebp
je 0x593cc258
push 0x460
push dword [esi + 4]
call edi
push 0
mov ebp, eax
push 9
xor eax, eax
inc eax
push 0x110a
push ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], 4
call dword [sym.imp.vsansi.dll_SendMessageW]
or dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push 0
push 0x113e
push ebp
call dword [sym.imp.vsansi.dll_SendMessageW]
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, ecx
jge 0x593cc223
mov dword [esp + 0x6c], ecx
jmp 0x593cc232
jne 0x593cc229
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x20]
dec edx
cmp eax, edx
jne 0x593cc236
mov dword [esp + 0x60], ecx
push 0x45d
push dword [esi + 4]
call edi
push dword [esp + 0x6c]
push eax
call ebx
push 0x45f
push dword [esi + 4]
call edi
push dword [esp + 0x60]
push eax
call ebx
lea ecx, [esp + 0x14]
call fcn.593d1996
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10