Function at 0x5d540e4a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x5d560624]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3f8
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, word [ebp + 0x10]
push 0x8000
push 0x10
push 0x10
push 1
push eax
push dword [0x5d560df4]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x34]
xor edi, edi
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0x1784
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0x14], edi
jne 0x5d540f9e
test eax, eax
je 0x5d540fe2
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [esp + 0x14]
push 0x3f7
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x14]
xor ecx, ecx
push 0x15
push ecx
mov ebx, eax
push ecx
sub ebx, esi
sub eax, ebx
push eax
push dword [esp + 0x20]
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0xc]
push 0x3f6
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x14]
push eax
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x14]
push 0x15
push edi
push edi
sub eax, ebx
push eax
push dword [esp + 0x20]
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [esp + 0xc]
jmp 0x5d540fe2
test eax, eax
jne 0x5d540fae
push 0x3f6
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x14]
push 0x15
push edi
push edi
push eax
push dword [esp + 0x40]
mov dword [esp + 0x48], eax
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
add dword [esp + 0x30], 0x15
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x24]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp + 0xc]
cmp esi, 0x7a
je 0x5d541052
cmp esi, 0x7d
je 0x5d541052
cmp esi, 0x7f
je 0x5d541052
cmp esi, 0x80
je 0x5d541052
cmp esi, 0x17
je 0x5d541052
cmp esi, 0x18
je 0x5d541052
cmp esi, 0x16
je 0x5d541052
mov eax, dword [esp + 0x2c]
jmp 0x5d541060
mov eax, dword [esp + 0x2c]
add eax, eax
sub eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
sub eax, dword [esp + 0x24]
push 0x14
push eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
test esi, esi
je 0x5d5410b4
xor eax, eax
push 0x400
mov word [esp + 0x44], ax
lea eax, [esp + 0x44]
push eax
push esi
push dword [0x5d560df4]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x40]
push eax
push 0x3f4
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esp + 0x844]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5d50eed0
mov esp, ebp
pop ebp
ret 0x10