Function at 0x5f9e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x745694]
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 0x5fa3c7
cmp ebx, 0x110
jne 0x5f9e81
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f1d30
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x10
je 0x5fa299
cmp ebx, 2
jne 0x5f9ebb
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f2470
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0xf
jne 0x5f9f07
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x84
jne 0x5f9f20
mov ecx, dword [ebp + 0x10]
lea eax, [ebx - 0x2b]
mov dword [edx], 0
jmp 0x5fa2de
cmp ebx, 5
jne 0x5f9f78
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x5f9fb5
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7e9
jne 0x5f9fef
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7ea
jne 0x5fa046
cmp byte [esi + 0xc50], 0
je 0x5fa0d8
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x401
jne 0x5fa07b
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [esi + 0x30]
call fcn.005d3770
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7e8
jne 0x5fa0b1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f2790
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x113
jne 0x5fa0f6
cmp dword [ebp + 0x10], 0
jne 0x5fa0d8
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x5fa2bb
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 0x5fa16c
shr eax, 0x10
mov dword [ebp - 0x64], 0
cmp word [ebp - 0x64], ax
jne 0x5fa16f
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.0065cc3a
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 0x5fa1ca
xor edx, edx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x60]
jne 0x5fa1d0
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.0065cc3a
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 0x5fa276
mov ebx, dword [ebp - 0x64]
movzx eax, bx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x68], 0
cmp word [ebp - 0x68], ax
jne 0x5fa2d0
cmp byte [esi + 0x868], 0
mov eax, dword [esi + 4]
je 0x5fa21a
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0xd5
lea ecx, [eax + 1]
jmp 0x5fa22d
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.005f2940
cmp byte [esi + 0x868], 0
lea ecx, [esi + 0x5c0]
sete al
mov byte [esi + 0x868], al
call fcn.00611650
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0x68], 0x7d0
cmp word [ebp - 0x68], ax
jne 0x5fa2d0
mov edx, dword [ebp - 0x64]
movzx eax, dx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], 0
cmp word [ebp - 0x68], ax
jne 0x5fa2d0
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x132
ja 0x5fa348
je case.0x5fa35c.307
mov ecx, dword [ebp + 0x10]
lea eax, [ebx - 0x2b]
cmp eax, 0xea
ja case.0x5fa35c.313
movzx eax, byte [eax + 0x5fa3fc]
jmp dword [eax*4 + 0x5fa3dc]
xor eax, eax
mov ecx, edi
test edi, edi
cmove ecx, eax
jmp 0x5fa38d
mov ecx, dword [edi]
jmp 0x5fa38d
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5fa35c.313
mov ecx, dword [edi + 0x14]
jmp 0x5fa390
test ecx, ecx
je case.0x5fa35c.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 0x5fa38d
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5fa35c.313
mov ecx, dword [edi + 8]
jmp 0x5fa390
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x5fa35c.313
mov ecx, dword [edi + 0xc]
jmp 0x5fa390
lea eax, [ebx - 0x133]
cmp eax, 0xdd
ja case.0x5fa35c.313
movzx eax, byte [eax + 0x5fa4f4]
jmp dword [eax*4 + 0x5fa4e8]
mov eax, dword [ebp + 0x10]
movzx ecx, ax
sub ecx, 1
je 0x5fa387
sub ecx, 1
je 0x5fa387
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 0x5fa38d
mov ecx, edi
jmp 0x5fa390
mov ecx, edi
mov eax, dword [ebp + 0x10]
test ecx, ecx
je case.0x5fa35c.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.0065cc3a
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.0065cc3a
mov esp, ebp
pop ebp
ret 0x18