Function at 0x5c9c93
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x500], 0
je 0x5ca681
mov ecx, dword [edi + 0xf4]
push 0
mov byte [edi + 0x500], 0
call fcn.005f2bef
mov esi, dword [edi + 0xf4]
lea ebx, [esi + 0x44]
cmp dword [ebx + 0x10], 0
jne 0x5c9ce9
mov ecx, edi
call fcn.005d02fa
test al, al
jne 0x5c9ce9
push dword [esi + 0x58]
mov ecx, esi
call fcn.006098ff
jmp 0x5ca681
push ebx
mov ecx, edi
call fcn.005c66e2
mov byte [esp + 0x48], al
mov ecx, edi
push dword [esp + 0x48]
lea eax, [esp + 0x2c]
push eax
call fcn.005c6593
push 0x16
call fcn.0061e202
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
push eax
push dword [edi + 4]
call esi
lea eax, [esp + 0x6c]
push eax
lea ecx, [edi + 0x534]
call fcn.006213bd
movzx ebx, byte [0x7c1d5e]
mov ecx, edi
neg ebx
sbb ebx, ebx
and ebx, dword [esp + 0x70]
mov dword [esp + 0x3c], ebx
call fcn.005c1a20
lea eax, [esp + 0x74]
push eax
push dword [edi + 0x340]
call esi
cmp byte [0x7c1d5f], 0
movsx ebp, word [edi + 0x1b4]
mov dword [esp + 0x30], ebp
jne 0x5c9d8f
lea eax, [esp + 0x5c]
push eax
push dword [edi + 0x340]
call esi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x68]
lea ebp, [ecx - 5]
add ebp, eax
mov dword [esp + 0x30], ebp
jmp 0x5c9d93
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x29], 0
jne 0x5c9da0
mov ebp, ecx
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
lea eax, [esp + 0x50]
mov ecx, edi
push eax
push ebp
lea eax, [esp + 0x20]
push eax
call fcn.005c93c1
movzx esi, byte [esp + 0x2b]
movsx eax, word [edi + 0x1c8]
neg esi
mov dword [esp + 0x1c], eax
sbb esi, esi
mov dword [esp + 0x24], eax
and esi, ebx
cmp byte [0x7c1d63], 0
mov dword [esp + 0x18], esi
je 0x5c9de8
mov ebp, dword [esp + 0x58]
dec ebp
mov ecx, edi
sub ebp, esi
call fcn.005c5044
test al, al
je 0x5ca0fb
mov dword [esp + 0x20], 0x8a
call fcn.005b6108
test al, al
je 0x5c9e20
call fcn.005b685c
test al, al
jne 0x5c9e20
call fcn.005b6451
test eax, eax
je 0x5c9eb1
push 1
call fcn.0056e30e
mov ebx, eax
call fcn.005d00b1
test al, al
je 0x5c9eb9
mov ecx, dword [0x7f9f74]
test ecx, ecx
je 0x5c9e67
call fcn.005c67a6
push 0xfffffffffffffffa
pop ecx
sub ecx, dword [0x7f9fc8]
sub ecx, eax
add ebp, ecx
mov ecx, dword [0x7f9f74]
call fcn.005c67a6
mov ebx, eax
add ebx, dword [0x7f9fc8]
jmp 0x5c9e91
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [0x7f9fc8]
call dword [eax + 0x44]
push 0xfffffffffffffffa
pop ecx
sub ecx, esi
mov esi, dword [0x7f9fc8]
sub ecx, eax
mov eax, dword [ebx]
add ebp, ecx
mov ecx, ebx
call dword [eax + 0x44]
lea ebx, [esi + eax]
mov esi, dword [esp + 0x18]
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebx + 6]
mov dword [esp + 0x20], eax
mov dl, byte [0x7f87e4]
jmp 0x5c9f10
cmp byte [0x7c1d64], 0
mov dl, byte [0x7f87e4]
jne 0x5c9ecc
test dl, dl
je 0x5c9f1d
mov eax, dword [edi + 0x1cc]
test eax, eax
je 0x5c9f02
cmp eax, 5
je 0x5c9ee7
cmp eax, 9
je 0x5c9f02
cmp eax, 0x17c
jne 0x5c9f10
mov ecx, dword [0x7f9fc8]
mov eax, 0xffffff00
sub eax, ecx
add ebp, eax
lea eax, [ecx + 0x100]
mov dword [esp + 0x20], eax
jmp 0x5c9f10
sub ebp, 0xa9
mov dword [esp + 0x20], 0xaa
cmp byte [0x7c1d64], 0
jne 0x5c9f53
test dl, dl
jne 0x5c9f5b
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [esp + 0x14]
push 0
push eax
push ebx
call fcn.0061e24d
push 0
push dword [edi + 0x3fc]
push ebx
call fcn.0061e24d
push 0
push dword [edi + 0x3e8]
jmp 0x5ca110
test dl, dl
je 0x5ca0a9
call fcn.005d00b1
test al, al
je 0x5ca0a9
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
push 0x6a5
call fcn.005978d0
mov esi, dword [esp + 0x64]
xor ebx, ebx
sub esi, dword [esp + 0x5c]
push 1
call fcn.0056e30e
test eax, eax
je 0x5c9fab
mov ecx, dword [0x7f85f4]
mov edx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, eax
call dword [edx + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x40]
cmp ebx, eax
jl 0x5c9fab
mov ebx, eax
mov ecx, dword [edi + 0x3d8]
lea eax, [ebx + esi]
cdq
add ecx, ecx
sub eax, edx
mov esi, eax
sar esi, 1
sub esi, ecx
mov ecx, dword [edi + 0x3f4]
sub esi, ecx
cmp byte [edi + 0x57], 0
je 0x5c9fdf
mov eax, dword [edi + 0x3d8]
mov esi, ebx
add eax, eax
mov byte [edi + 0x57], 0
sub esi, eax
sub esi, ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp byte [0x7f8849], al
je 0x5c9ff4
push 0x19
pop eax
mov dword [esp + 0x34], eax
cmp dword [edi + 0x3fc], 0
mov ebx, dword [esp + 0x14]
je 0x5ca045
mov edx, dword [esp + 0x18]
add eax, ebp
mov ecx, dword [edi + 0x400]
inc edx
push str.lrec_ad_mute_checkbox
push 0x40
push dword [edi + 0x404]
add eax, edx
push ecx
push eax
mov eax, esi
sub eax, ecx
sub eax, 0xa
push eax
push 0
push dword [edi + 0x3fc]
push ebx
call fcn.0061e2d8
push 0
push 0
push dword [edi + 0x3fc]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [0x7f8848], 0
je 0x5ca095
mov edx, dword [edi + 0x3e8]
test edx, edx
je 0x5ca095
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
add eax, ebp
push str.lrec_syslink
push 0x40
push dword [edi + 0x3f8]
inc ecx
push dword [edi + 0x3f4]
add eax, ecx
push eax
push esi
push 0
push edx
push ebx
call fcn.0061e2d8
push 0
push 0
push dword [edi + 0x3e8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5ca0a3
push 0
push dword [edi + 0x3e8]
push ebx
call fcn.0061e24d
mov esi, dword [esp + 0x18]
jmp 0x5ca0c9
mov ebx, dword [esp + 0x14]
push 0
push dword [edi + 0x3fc]
push ebx
call fcn.0061e24d
push 0
push dword [edi + 0x3e8]
push ebx
call fcn.0061e24d
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
movsx ecx, word [edi + 0x1c8]
push str.plus_bg
push 0x40
push dword [esp + 0x28]
push ecx
lea ecx, [esi + ebp]
push ecx
push 0
push 0
push eax
push ebx
call fcn.0061e2d8
jmp 0x5ca116
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [esp + 0x14]
push 0
push eax
push ebx
call fcn.0061e24d
mov ecx, edi
call fcn.005c5044
test al, al
je 0x5ca14d
push esi
push ebp
mov ebp, dword [esp + 0x44]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
push ebp
lea eax, [esp + 0x2c]
push eax
call fcn.005cc5e4
add dword [esp + 0x1c], 3
mov ebx, dword [esp + 0x14]
jmp 0x5ca156
and dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x3c]
mov ecx, edi
call fcn.005c5044
test al, al
je 0x5ca17a
push 0x657
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
movzx esi, cl
neg esi
mov dword [esp + 0x20], eax
sbb esi, esi
and esi, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x44], esi
test ch, ch
jne 0x5ca19f
mov ebp, dword [esp + 0x58]
and dword [esp + 0x18], 0
mov ecx, edi
call fcn.005c670b
cmp eax, 4
mov eax, dword [edi + 0x210]
sete byte [esp + 0x13]
cmp eax, dword [edi + 0x214]
jne 0x5ca21f
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
je 0x5ca1e4
mov eax, dword [esp + 0x20]
sub ebp, esi
sub eax, dword [esp + 0x1c]
push ebp
push eax
push esi
mov esi, dword [esp + 0x28]
push esi
call fcn.0057a97a
jmp 0x5ca1e8
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3b4]
call ebp
push 0
push dword [edi + 0x3fc]
call ebp
cmp byte [0x7f8848], 0
je 0x5ca215
push 0
push dword [edi + 0x3e4]
call ebp
call fcn.005ff8d8
jmp 0x5ca4c0
mov eax, dword [esp + 0x20]
mov ecx, edi
sub eax, dword [esp + 0x1c]
sub ebp, esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
call fcn.005ce8ce
push 0
test al, al
je 0x5ca44f
call fcn.0056e30e
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, dword [eax]
call dword [edx + 0x44]
and dword [esp + 0x24], 0
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
je 0x5ca2aa
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x48]
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
mov dword [esp + 0x38], ecx
cmp ecx, esi
jg 0x5ca291
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x3dc]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
push 0x710
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
push str.ad_tag_bar
push 0x254
push dword [esp + 0x20]
mov edx, dword [eax]
call dword [edx + 0x48]
push eax
push dword [esp + 0x50]
push dword [esp + 0x4c]
push 0
push esi
push ebx
call fcn.0061e2d8
mov ecx, dword [edi + 0x3c4]
mov ebx, eax
mov eax, dword [esp + 0x18]
add ecx, ecx
sub eax, dword [edi + 0x3c8]
mov esi, dword [esp + 0x20]
cdq
sub esi, ecx
sub eax, edx
mov dword [esp + 0x20], esi
sar eax, 1
add eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
add eax, dword [esp + 0x1c]
cmp esi, eax
jle 0x5ca3c2
cmp byte [esp + 0x13], 0
jne 0x5ca3c2
push str.close_button
push 0x254
push dword [edi + 0x3c8]
push dword [edi + 0x3c4]
push dword [esp + 0x34]
push esi
push 0
push dword [edi + 0x3b4]
push ebx
call fcn.0061e2d8
push 5
push dword [edi + 0x3b4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x400]
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0x3ec]
push str.lrec_ad_mute_checkbox
push 0x254
push dword [edi + 0x404]
sub eax, ecx
push ecx
push dword [esp + 0x34]
sub eax, 0xa
push eax
push 0
push dword [edi + 0x3fc]
push esi
call fcn.0061e2d8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
push 5
push dword [edi + 0x3fc]
jmp 0x5ca3e4
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3b4]
call esi
push 0
push dword [edi + 0x3fc]
call esi
push 0
push dword [edi + 0x3e4]
call esi
cmp byte [0x7f8848], 0
je 0x5ca467
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x3d8]
push str.ft_link
push 0x254
push dword [edi + 0x3f0]
mov eax, dword [ecx]
push dword [edi + 0x3ec]
push dword [esp + 0x50]
call dword [eax + 0x48]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [edi + 0x448]
sub ecx, dword [edi + 0x3ec]
sub ecx, esi
add eax, ecx
push eax
push 0
push dword [edi + 0x3e4]
push ebx
call fcn.0061e2d8
push 0
push 0
push dword [edi + 0x3e4]
mov ebx, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5ca471
push dword [edi + 0x3b4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0
push dword [edi + 0x3fc]
call esi
push 0
push dword [edi + 0x3e4]
call esi
mov esi, dword [esp + 0x1c]
mov eax, ebp
sub eax, dword [esp + 0x18]
push str.active_pane
push 0x214
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x28]
push eax
push esi
push 0
push dword [edi + 0x210]
push ebx
call fcn.0061e2d8
shl ebp, 0x10
mov ebx, eax
or ebp, dword [esp + 0x34]
push ebp
push 0
push 5
push dword [edi + 0x210]
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.005c741a
cmp dword [edi + 0x210], eax
je 0x5ca4ec
mov ecx, dword [edi + 0xf4]
call fcn.005f2933
test al, al
jne 0x5ca4ec
call fcn.005ff8ef
test al, al
je 0x5ca4ec
call fcn.005ff8d8
cmp byte [esp + 0x13], 0
mov ebp, dword [esp + 0x18]
je 0x5ca505
push ebp
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [esp + 0x28], 0
je 0x5ca52a
push dword [esp + 0x3c]
lea eax, [esp + 0x50]
mov ecx, edi
push dword [esp + 0x34]
push esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005cc035
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x5ca541
neg ebp
lea eax, [esp + 0x4c]
push ebp
push 0
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp byte [esp + 0x29], 0
je 0x5ca562
push dword [esp + 0x30]
lea eax, [esp + 0x50]
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005cbed3
mov ebx, dword [esp + 0x14]
cmp byte [edi + 0x280], 0
je 0x5ca58e
mov esi, dword [edi + 0x210]
mov ecx, edi
call fcn.005c741a
cmp esi, eax
jne 0x5ca58e
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [edi + 0x280], 0
mov eax, dword [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov al, byte [esp + 0x34]
mov byte [ecx + 4], al
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.005cde1c
push ebx
call fcn.0061e417
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6a5
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0xf
push eax
call esi
push 0x710
push dword [edi + 4]
call ebx
xor ebx, ebx
push ebx
push ebx
push 0xf
push eax
call esi
cmp byte [esp + 0x48], bl
jne 0x5ca67a
cmp dword [edi + 0x104], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
jge 0x5ca644
mov eax, dword [edi + 0x24c]
push ecx
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0xc]
call ebx
add eax, 1
mov dword [edi + 0x104], eax
jns 0x5ca644
mov eax, dword [edi + 0x24c]
push 0
push 0
push 0x1042
push dword [eax + 0xc]
call ebx
mov dword [edi + 0x104], eax
push dword [edi + 0x104]
mov eax, dword [edi + 0x24c]
push 0
push 0x1043
push dword [eax + 0xc]
call ebx
lea eax, [esp + 0x84]
push eax
push dword [edi + 0x104]
mov eax, dword [edi + 0x24c]
push 0x102b
push dword [eax + 0xc]
call ebx
mov ecx, edi
call fcn.005c300d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret