Function at 0x601fe0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x74e694]
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 0x602587
cmp ebx, 0x110
jne 0x602041
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005f9ef0
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x10
je 0x602459
cmp ebx, 2
jne 0x60207b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005fa630
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0xf
jne 0x6020c7
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x84
jne 0x6020e0
mov ecx, dword [ebp + 0x10]
lea eax, [ebx - 0x2b]
mov dword [edx], 0
jmp 0x60249e
cmp ebx, 5
jne 0x602138
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x602175
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7e9
jne 0x6021af
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7ea
jne 0x602206
cmp byte [esi + 0xc50], 0
je 0x602298
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x401
jne 0x60223b
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [esi + 0x30]
call fcn.005d9040
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x7e8
jne 0x602271
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x64]
push eax
push edi
push ecx
push ebx
mov ecx, esi
call fcn.005fa950
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x113
jne 0x6022b6
cmp dword [ebp + 0x10], 0
jne 0x602298
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x60247b
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 0x60232c
shr eax, 0x10
mov dword [ebp - 0x64], 0
cmp word [ebp - 0x64], ax
jne 0x60232f
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.00663ada
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 0x60238a
xor edx, edx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x60]
jne 0x602390
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.00663ada
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 0x602436
mov ebx, dword [ebp - 0x64]
movzx eax, bx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x68], 0
cmp word [ebp - 0x68], ax
jne 0x602490
cmp byte [esi + 0x868], 0
mov eax, dword [esi + 4]
je 0x6023da
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0xd5
lea ecx, [eax + 1]
jmp 0x6023ed
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.005fab00
cmp byte [esi + 0x868], 0
lea ecx, [esi + 0x5c0]
sete al
mov byte [esi + 0x868], al
call fcn.006184f0
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 0x68], 0x7d0
cmp word [ebp - 0x68], ax
jne 0x602490
mov edx, dword [ebp - 0x64]
movzx eax, dx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x68], 0
cmp word [ebp - 0x68], ax
jne 0x602490
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.00663ada
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x132
ja 0x602508
je case.0x60251c.307
mov ecx, dword [ebp + 0x10]
lea eax, [ebx - 0x2b]
cmp eax, 0xea
ja case.0x60251c.313
movzx eax, byte [eax + 0x6025bc]
jmp dword [eax*4 + 0x60259c]
xor eax, eax
mov ecx, edi
test edi, edi
cmove ecx, eax
jmp 0x60254d
mov ecx, dword [edi]
jmp 0x60254d
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x60251c.313
mov ecx, dword [edi + 0x14]
jmp 0x602550
test ecx, ecx
je case.0x60251c.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 0x60254d
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x60251c.313
mov ecx, dword [edi + 8]
jmp 0x602550
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x60251c.313
mov ecx, dword [edi + 0xc]
jmp 0x602550
lea eax, [ebx - 0x133]
cmp eax, 0xdd
ja case.0x60251c.313
movzx eax, byte [eax + 0x6026b4]
jmp dword [eax*4 + 0x6026a8]
mov eax, dword [ebp + 0x10]
movzx ecx, ax
sub ecx, 1
je 0x602547
sub ecx, 1
je 0x602547
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 0x60254d
mov ecx, edi
jmp 0x602550
mov ecx, edi
mov eax, dword [ebp + 0x10]
test ecx, ecx
je case.0x60251c.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.00663ada
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.00663ada
mov esp, ebp
pop ebp
ret 0x18