Function at 0x5fa350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 0x60], edx
jne 0x5fa8f7
cmp ebx, 0x110
jne 0x5fa3b1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f2260
mov ecx, dword [ebp - 0x60]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x10
je 0x5fa7c9
cmp ebx, 2
jne 0x5fa3eb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f29a0
mov ecx, dword [ebp - 0x60]
pop edi
pop esi
mov dword [ecx], eax
lea eax, [ebx - 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0xf
jne 0x5fa437
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x54]
push ecx
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 0x60]
lea eax, [ebx - 0xe]
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x84
jne 0x5fa450
mov ecx, dword [ebp + 0x10]
lea eax, [ebx - 0x2b]
mov dword [edx], 0
jmp 0x5fa80e
cmp ebx, 5
jne 0x5fa4a8
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 4
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push 0
push dword [esi + 0x874]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x60]
lea eax, [ebx - 4]
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x5fa4e5
mov dword [edi + 0x18], 0x2d0
lea eax, [ebx - 0x23]
mov dword [edi + 0x1c], 0x1bc
mov dword [edi + 0x20], 0x2d0
mov dword [edi + 0x24], 0x1bc
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7e9
jne 0x5fa51f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0x60]
mov eax, 1
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7ea
jne 0x5fa576
cmp byte [esi + 0xc50], 0
je 0x5fa608
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x898]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edx, dword [ebp - 0x60]
mov eax, 1
pop edi
mov byte [esi + 0xc50], 0
pop esi
mov dword [edx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x401
jne 0x5fa5ab
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [esi + 0x30]
call fcn.005d3b00
mov ecx, dword [ebp - 0x60]
mov eax, 1
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7e8
jne 0x5fa5e1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f2cc0
mov ecx, dword [ebp - 0x60]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x113
jne 0x5fa626
cmp dword [ebp + 0x10], 0
jne 0x5fa608
push 5
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x60]
pop edi
pop esi
mov dword [edx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x5fa7eb
mov ecx, dword [ebp + 0x10]
movzx eax, cx
mov dword [ebp - 0x64], 0x3e9
cmp word [ebp - 0x64], ax
mov dword [ebp - 0x6c], eax
mov eax, ecx
jne 0x5fa69c
shr eax, 0x10
mov dword [ebp - 0x64], 0
cmp word [ebp - 0x64], ax
jne 0x5fa69f
lea eax, [esi + 0x898]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x60]
mov eax, 1
pop edi
mov byte [esi + 0xc50], 1
pop esi
mov dword [ecx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x64], eax
mov ebx, eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], 0x3ea
movzx edx, bx
mov dword [ebp - 0x64], edx
cmp word [ebp - 0x68], ax
jne 0x5fa6fa
xor edx, edx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x60]
jne 0x5fa700
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x60]
mov eax, 1
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x60]
mov ecx, 0x3eb
cmp cx, ax
mov ecx, dword [ebp + 0x10]
jne 0x5fa7a6
mov ebx, dword [ebp - 0x64]
movzx eax, bx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x68], 0
cmp word [ebp - 0x68], ax
jne 0x5fa800
cmp byte [esi + 0x868], 0
mov eax, dword [esi + 4]
je 0x5fa74a
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0xd5
lea ecx, [eax + 1]
jmp 0x5fa75d
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0xd7
mov ecx, 0xd8
push ecx
push eax
lea ecx, [esi + 0x5c0]
call fcn.005f2e70
cmp byte [esi + 0x868], 0
lea ecx, [esi + 0x5c0]
sete al
mov byte [esi + 0x868], al
call fcn.00611b70
mov ecx, dword [ebp - 0x60]
mov eax, 1
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0x68], 0x7d0
cmp word [ebp - 0x68], ax
jne 0x5fa800
mov edx, dword [ebp - 0x64]
movzx eax, dx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], 0
cmp word [ebp - 0x68], ax
jne 0x5fa800
pop edi
mov byte [esi + 0x6c], 1
mov eax, 1
pop esi
mov dword [edx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x132
ja 0x5fa878
je case.0x5fa88c.307
mov ecx, dword [ebp + 0x10]
lea eax, [ebx - 0x2b]
cmp eax, 0xea
ja case.0x5fa88c.313
movzx eax, byte [eax + 0x5fa92c]
jmp dword [eax*4 + 0x5fa90c]
xor eax, eax
mov ecx, edi
test edi, edi
cmove ecx, eax
jmp 0x5fa8bd
mov ecx, dword [edi]
jmp 0x5fa8bd
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5fa88c.313
mov ecx, dword [edi + 0x14]
jmp 0x5fa8c0
test ecx, ecx
je case.0x5fa88c.313
push dword [edi + 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp - 0x60]
mov ecx, eax
jmp 0x5fa8bd
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5fa88c.313
mov ecx, dword [edi + 8]
jmp 0x5fa8c0
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5fa88c.313
mov ecx, dword [edi + 0xc]
jmp 0x5fa8c0
lea eax, [ebx - 0x133]
cmp eax, 0xdd
ja case.0x5fa88c.313
movzx eax, byte [eax + 0x5faa24]
jmp dword [eax*4 + 0x5faa18]
mov eax, dword [ebp + 0x10]
movzx ecx, ax
sub ecx, 1
je 0x5fa8b7
sub ecx, 1
je 0x5fa8b7
shr eax, 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp - 0x60]
mov ecx, eax
jmp 0x5fa8bd
mov ecx, edi
jmp 0x5fa8c0
mov ecx, edi
mov eax, dword [ebp + 0x10]
test ecx, ecx
je case.0x5fa88c.313
push edi
push eax
lea eax, [ebx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x60]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18
mov dword [edx], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x18