Function at 0x5f528a
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x518], 0
je 0x5f5c85
mov ecx, dword [edi + 0xf4]
push 0
mov byte [edi + 0x518], 0
call fcn.00624824
mov esi, dword [edi + 0xf4]
lea ebx, [esi + 0x44]
cmp dword [ebx + 0x10], 0
jne 0x5f52e0
mov ecx, edi
call fcn.005fd17a
test al, al
jne 0x5f52e0
push dword [esi + 0x58]
mov ecx, esi
call fcn.0063c9d4
jmp 0x5f5c85
push ebx
mov ecx, edi
call fcn.005f1a89
mov byte [esp + 0x48], al
mov ecx, edi
push dword [esp + 0x48]
lea eax, [esp + 0x28]
push eax
call fcn.005f191b
push 0x16
call fcn.006529a4
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 + 0x54c]
call fcn.00655cb8
movzx ebx, byte [0x7e5b26]
mov ecx, edi
neg ebx
sbb ebx, ebx
and ebx, dword [esp + 0x70]
mov dword [esp + 0x40], ebx
call fcn.005eb8e1
lea eax, [esp + 0x74]
push eax
push dword [edi + 0x34c]
call esi
cmp byte [0x7e5b27], 0
movsx ebp, word [edi + 0x1b8]
mov dword [esp + 0x2c], ebp
jne 0x5f5386
lea eax, [esp + 0x5c]
push eax
push dword [edi + 0x34c]
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 + 0x2c], ebp
jmp 0x5f538a
mov ecx, dword [esp + 0x58]
cmp byte [esp + 0x25], 0
jne 0x5f5397
mov ebp, ecx
mov dword [esp + 0x2c], 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.005f496e
movzx esi, byte [esp + 0x27]
movsx eax, word [edi + 0x1cc]
neg esi
mov dword [esp + 0x30], eax
sbb esi, esi
and esi, ebx
cmp byte [0x7e5b2b], 0
mov dword [esp + 0x18], esi
je 0x5f53db
mov ebp, dword [esp + 0x58]
dec ebp
mov ecx, edi
sub ebp, esi
call fcn.005f0006
xor al, al
je 0x5f56e2
mov dword [esp + 0x1c], 0x8a
call fcn.005dc931
test al, al
je 0x5f5413
call fcn.005dd318
test al, al
jne 0x5f5413
call fcn.005dcd89
test eax, eax
je 0x5f5499
push 1
call fcn.005835c3
mov ebx, eax
call fcn.005fce21
test al, al
je 0x5f54a1
mov ecx, dword [0x81d2e4]
test ecx, ecx
je 0x5f5451
sub ebp, dword [0x81d33c]
call fcn.005f1b7c
mov ecx, dword [0x81d2e4]
sub ebp, eax
call fcn.005f1b7c
mov ebx, eax
add ebx, dword [0x81d33c]
jmp 0x5f5476
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [0x81d33c]
call dword [eax + 0x48]
sub ebp, esi
mov ecx, ebx
mov esi, dword [0x81d33c]
sub ebp, eax
mov eax, dword [ebx]
call dword [eax + 0x48]
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]
add ebp, 0xfffffffa
mov dword [esp + 0x1c], eax
mov dl, byte [0x81c084]
jmp 0x5f54f8
cmp byte [0x7e5b2c], 0
mov dl, byte [0x81c084]
jne 0x5f54b4
test dl, dl
je 0x5f5505
mov eax, dword [edi + 0x1d0]
test eax, eax
je 0x5f54ea
cmp eax, 5
je 0x5f54cf
cmp eax, 9
je 0x5f54ea
cmp eax, 0x17c
jne 0x5f54f8
mov ecx, dword [0x81d33c]
mov eax, 0xffffff00
sub eax, ecx
add ebp, eax
lea eax, [ecx + 0x100]
mov dword [esp + 0x1c], eax
jmp 0x5f54f8
sub ebp, 0xa9
mov dword [esp + 0x1c], 0xaa
cmp byte [0x7e5b2c], 0
jne 0x5f553b
test dl, dl
jne 0x5f5543
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.006529ec
push 0
push dword [edi + 0x40c]
push ebx
call fcn.006529ec
push 0
push dword [edi + 0x3f8]
jmp 0x5f56f7
test dl, dl
je 0x5f5690
call fcn.005fce21
test al, al
je 0x5f5690
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
push 0x6a5
call fcn.005bc8e4
mov esi, dword [esp + 0x64]
xor ebx, ebx
sub esi, dword [esp + 0x5c]
push 1
call fcn.005835c3
test eax, eax
je 0x5f5593
mov ecx, dword [0x81be8c]
mov edx, dword [eax]
mov dword [esp + 0x44], ecx
mov ecx, eax
call dword [edx + 0x4c]
mov ebx, eax
mov eax, dword [esp + 0x44]
cmp ebx, eax
jl 0x5f5593
mov ebx, eax
mov ecx, dword [edi + 0x3e8]
lea eax, [ebx + esi]
cdq
add ecx, ecx
sub eax, edx
mov esi, eax
sar esi, 1
sub esi, ecx
mov ecx, dword [edi + 0x404]
sub esi, ecx
cmp byte [edi + 0x57], 0
je 0x5f55c7
mov eax, dword [edi + 0x3e8]
mov esi, ebx
add eax, eax
mov byte [edi + 0x57], 0
sub esi, eax
sub esi, ecx
xor eax, eax
cmp byte [0x81c0ed], al
je 0x5f55d4
push 0x19
pop eax
mov ebx, dword [esp + 0x14]
add eax, ebp
cmp dword [edi + 0x40c], 0
mov dword [esp + 0x34], eax
je 0x5f562e
mov edx, dword [esp + 0x34]
mov ecx, dword [edi + 0x410]
inc edx
mov eax, dword [esp + 0x18]
push str.lrec_ad_mute_checkbox
push 0x40
push dword [edi + 0x414]
add eax, edx
mov edx, dword [edi + 0x40c]
push ecx
push eax
mov eax, esi
sub eax, ecx
sub eax, 0xa
push eax
push 0
push edx
push ebx
call fcn.00652a90
push 0
push 0
push dword [edi + 0x40c]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [0x81c0ec], 0
je 0x5f567c
mov ecx, dword [edi + 0x3f8]
test ecx, ecx
je 0x5f567c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
inc edx
push str.lrec_syslink
push 0x40
push dword [edi + 0x408]
add eax, edx
push dword [edi + 0x404]
push eax
push esi
push 0
push ecx
push ebx
call fcn.00652a90
push 0
push 0
push dword [edi + 0x3f8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5f568a
push 0
push dword [edi + 0x3f8]
push ebx
call fcn.006529ec
mov esi, dword [esp + 0x18]
jmp 0x5f56b0
mov ebx, dword [esp + 0x14]
push 0
push dword [edi + 0x40c]
push ebx
call fcn.006529ec
push 0
push dword [edi + 0x3f8]
push ebx
call fcn.006529ec
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
movsx ecx, word [edi + 0x1cc]
push str.plus_bg
push 0x40
push dword [esp + 0x24]
push ecx
lea ecx, [esi + ebp]
push ecx
push 0
push 0
push eax
push ebx
call fcn.00652a90
jmp 0x5f56fd
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.006529ec
mov ecx, edi
call fcn.005f0006
test al, al
je 0x5f5739
push esi
push ebp
lea eax, [esp + 0x38]
mov ecx, edi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x2c]
push eax
call fcn.005f82c5
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
add ebp, 3
mov dword [esp + 0x18], ebp
jmp 0x5f573e
and dword [esp + 0x18], 0
mov ecx, edi
call fcn.005f0006
test al, al
je 0x5f5762
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 + 0x24]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x2c]
movzx esi, cl
neg esi
mov dword [esp + 0x1c], eax
sbb esi, esi
and esi, dword [esp + 0x40]
mov dword [esp + 0x30], esi
test ch, ch
jne 0x5f5789
mov ebp, dword [esp + 0x58]
and dword [esp + 0x20], 0
mov ecx, edi
call fcn.005f1ac1
cmp eax, 4
mov eax, dword [edi + 0x21c]
sete byte [esp + 0x13]
cmp eax, dword [edi + 0x220]
jne 0x5f5820
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x5f57e5
mov edx, dword [esp + 0x1c]
sub ebp, esi
mov ecx, dword [esp + 0x18]
sub edx, ecx
cmp byte [esp + 0x48], 0x1a
jne 0x5f57da
lea eax, [ebp - 0x6e]
push eax
push edx
lea eax, [esi + 0x6e]
push eax
push ecx
mov ecx, dword [edi + 0x1a0]
jmp 0x5f57e0
push ebp
push edx
push esi
push ecx
mov ecx, eax
call fcn.00597b1d
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3c0]
call esi
push 0
push dword [edi + 0x40c]
call esi
cmp byte [0x81c0ec], 0
je 0x5f5812
push 0
push dword [edi + 0x3f4]
call esi
call fcn.00631623
mov esi, dword [esp + 0x18]
jmp 0x5f5abf
mov eax, dword [esp + 0x1c]
mov ecx, edi
sub eax, dword [esp + 0x18]
sub ebp, esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
call fcn.005fae05
push 0
test al, al
je 0x5f5a4e
call fcn.005835c3
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, dword [eax]
call dword [edx + 0x48]
and dword [esp + 0x38], 0
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], esi
je 0x5f58ab
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x4c]
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 + 0x3c], ecx
cmp ecx, esi
jg 0x5f5892
mov dword [esp + 0x3c], esi
mov eax, dword [edi + 0x3ec]
mov ecx, dword [esp + 0x20]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
push 0x710
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
push str.ad_tag_bar
push 0x254
push dword [esp + 0x28]
mov edx, dword [eax]
call dword [edx + 0x4c]
push eax
push dword [esp + 0x54]
push dword [esp + 0x50]
push 0
push esi
push ebx
call fcn.00652a90
mov ecx, dword [edi + 0x3d4]
mov ebx, eax
mov eax, dword [esp + 0x20]
add ecx, ecx
sub eax, dword [edi + 0x3d8]
mov esi, dword [esp + 0x1c]
cdq
sub esi, ecx
sub eax, edx
mov dword [esp + 0x1c], esi
sar eax, 1
add eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x4c]
add eax, dword [esp + 0x18]
cmp esi, eax
jle 0x5f59c3
cmp byte [esp + 0x13], 0
jne 0x5f59c3
push str.close_button
push 0x254
push dword [edi + 0x3d8]
push dword [edi + 0x3d4]
push dword [esp + 0x48]
push esi
push 0
push dword [edi + 0x3c0]
push ebx
call fcn.00652a90
push 5
push dword [edi + 0x3c0]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x410]
mov eax, dword [esp + 0x1c]
sub eax, dword [edi + 0x3fc]
push str.lrec_ad_mute_checkbox
push 0x254
push dword [edi + 0x414]
sub eax, ecx
push ecx
push dword [esp + 0x48]
sub eax, 0xa
push eax
push 0
push dword [edi + 0x40c]
push esi
call fcn.00652a90
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
push 5
push dword [edi + 0x40c]
jmp 0x5f59e5
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3c0]
call esi
push 0
push dword [edi + 0x40c]
call esi
push 0
push dword [edi + 0x3f4]
call esi
cmp byte [0x81c0ec], 0
je 0x5f5a66
mov ecx, dword [esp + 0x14]
push str.ft_link
push 0x254
push dword [edi + 0x400]
mov eax, dword [ecx]
push dword [edi + 0x3fc]
push dword [esp + 0x54]
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x50]
sub ecx, dword [edi + 0x45c]
sub ecx, dword [edi + 0x3e8]
sub ecx, dword [edi + 0x3fc]
add eax, ecx
push eax
push 0
push dword [edi + 0x3f4]
push ebx
call fcn.00652a90
push 0
push 0
push dword [edi + 0x3f4]
mov ebx, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5f5a70
push dword [edi + 0x3c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0
push dword [edi + 0x40c]
call esi
push 0
push dword [edi + 0x3f4]
call esi
mov esi, dword [esp + 0x18]
mov eax, ebp
sub eax, dword [esp + 0x20]
push str.active_pane
push 0x214
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x30]
push eax
push esi
push 0
push dword [edi + 0x21c]
push ebx
call fcn.00652a90
shl ebp, 0x10
mov ebx, eax
or ebp, dword [esp + 0x34]
push ebp
push 0
push 5
push dword [edi + 0x21c]
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.005f2913
cmp dword [edi + 0x21c], eax
je 0x5f5aeb
mov ecx, dword [edi + 0xf4]
call fcn.0062452c
test al, al
jne 0x5f5aeb
call fcn.0063163a
test al, al
je 0x5f5aeb
call fcn.00631623
cmp byte [esp + 0x13], 0
mov ebp, dword [esp + 0x20]
je 0x5f5b04
push ebp
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [esp + 0x24], 0
je 0x5f5b29
push dword [esp + 0x40]
lea eax, [esp + 0x50]
mov ecx, edi
push dword [esp + 0x30]
push esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005f7ba9
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x5f5b40
neg ebp
lea eax, [esp + 0x4c]
push ebp
push 0
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp byte [esp + 0x25], 0
je 0x5f5b61
push dword [esp + 0x2c]
lea eax, [esp + 0x50]
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005f7a4a
mov ebx, dword [esp + 0x14]
cmp byte [edi + 0x28c], 0
je 0x5f5b8d
mov esi, dword [edi + 0x21c]
mov ecx, edi
call fcn.005f2913
cmp esi, eax
jne 0x5f5b8d
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [edi + 0x28c], 0
mov eax, dword [esp + 0x24]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov al, byte [esp + 0x30]
mov byte [ecx + 4], al
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.005fa20f
push ebx
call fcn.00652c01
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
push 0
push 0
push 0xf
push eax
call esi
cmp byte [esp + 0x48], 0
jne 0x5f5c77
mov eax, dword [edi + 0x104]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
test eax, eax
jns 0x5f5c46
mov eax, dword [edi + 0x258]
push ecx
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0xc]
call ebx
add eax, 1
mov dword [edi + 0x104], eax
jns 0x5f5c46
mov eax, dword [edi + 0x258]
push 0
push 0
push 0x1042
push dword [eax + 0xc]
call ebx
mov dword [edi + 0x104], eax
push eax
mov eax, dword [edi + 0x258]
push 0
push 0x1043
push dword [eax + 0xc]
call ebx
lea eax, [esp + 0x84]
push eax
push dword [edi + 0x104]
mov eax, dword [edi + 0x258]
push 0x102b
push dword [eax + 0xc]
call ebx
mov ecx, edi
call fcn.005ed79d
mov ecx, edi
call fcn.005ed93e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret