Function at 0x5b4fb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x4d8], 0
je 0x5b58a4
mov ecx, dword [edi + 0xe4]
push 0
mov byte [edi + 0x4d8], 0
call fcn.005e7a27
mov esi, dword [edi + 0xe4]
lea ebx, [esi + 0x40]
cmp dword [ebx + 0x10], 0
jne 0x5b5006
mov ecx, edi
call fcn.005baed5
test al, al
jne 0x5b5006
push dword [esi + 0x54]
mov ecx, esi
call fcn.005ef52f
jmp 0x5b58a4
push ebx
mov ecx, edi
call fcn.005b1c6e
mov byte [esp + 0x40], al
mov ecx, edi
push dword [esp + 0x40]
lea eax, [esp + 0x2c]
push eax
call fcn.005b1b74
push 0x16
call fcn.00603488
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push eax
push dword [edi + 4]
call esi
lea eax, [esp + 0x68]
push eax
lea ecx, [edi + 0x4fc]
call fcn.006075fc
movzx ebx, byte [0x79f44e]
lea eax, [esp + 0x70]
neg ebx
push eax
push dword [edi + 0x32c]
sbb ebx, ebx
and ebx, dword [esp + 0x74]
mov dword [esp + 0x44], ebx
call esi
cmp byte [0x79f44f], 0
movsx ebp, word [edi + 0x1a4]
mov dword [esp + 0x30], ebp
jne 0x5b50a5
lea eax, [esp + 0x58]
push eax
push dword [edi + 0x32c]
call esi
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x64]
lea ebp, [ecx - 5]
add ebp, eax
mov dword [esp + 0x30], ebp
jmp 0x5b50a9
mov ecx, dword [esp + 0x50]
cmp byte [esp + 0x29], 0
jne 0x5b50b6
mov ebp, ecx
mov dword [esp + 0x30], ebp
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
lea eax, [esp + 0x48]
mov ecx, edi
push eax
push ebp
lea eax, [esp + 0x20]
push eax
call fcn.005b4684
movzx esi, byte [esp + 0x2b]
movsx eax, word [edi + 0x1b8]
neg esi
mov dword [esp + 0x1c], eax
sbb esi, esi
mov dword [esp + 0x24], eax
and esi, ebx
cmp byte [0x79f453], 0
mov dword [esp + 0x20], esi
je 0x5b50fe
mov ebp, dword [esp + 0x50]
dec ebp
mov ecx, edi
sub ebp, esi
call fcn.005b0656
xor al, al
je 0x5b5385
mov dword [esp + 0x18], 0x8a
call fcn.005a42bf
test al, al
je 0x5b5136
call fcn.005a4a13
test al, al
jne 0x5b5136
call fcn.005a4608
test eax, eax
je 0x5b51c7
push 1
call fcn.0056c102
mov ebx, eax
call fcn.005bae6c
test al, al
je 0x5b51cf
mov ecx, dword [0x7d405c]
test ecx, ecx
je 0x5b517d
call fcn.005b1cde
push 0xfffffffffffffffa
pop ecx
sub ecx, dword [0x7d40b0]
sub ecx, eax
add ebp, ecx
mov ecx, dword [0x7d405c]
call fcn.005b1cde
mov ebx, eax
add ebx, dword [0x7d40b0]
jmp 0x5b51a7
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [0x7d40b0]
call dword [eax + 0x44]
push 0xfffffffffffffffa
pop ecx
sub ecx, esi
mov esi, dword [0x7d40b0]
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 + 0x20]
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 + 0x18], eax
mov dl, byte [0x7d300c]
jmp 0x5b5226
cmp byte [0x79f454], 0
mov dl, byte [0x7d300c]
jne 0x5b51e2
test dl, dl
je 0x5b5233
mov eax, dword [edi + 0x1bc]
test eax, eax
je 0x5b5218
cmp eax, 5
je 0x5b51fd
cmp eax, 9
je 0x5b5218
cmp eax, 0x17c
jne 0x5b5226
mov ecx, dword [0x7d40b0]
mov eax, 0xffffff00
sub eax, ecx
add ebp, eax
lea eax, [ecx + 0x100]
mov dword [esp + 0x18], eax
jmp 0x5b5226
sub ebp, 0xa9
mov dword [esp + 0x18], 0xaa
cmp byte [0x79f454], 0
jne 0x5b525b
test dl, dl
jne 0x5b525b
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.006034d3
push 0
push dword [edi + 0x3d4]
jmp 0x5b539a
cmp byte [0x7d3068], 0
je 0x5b5341
test dl, dl
je 0x5b5341
call fcn.005bae6c
test al, al
je 0x5b5341
lea eax, [esp + 0x58]
mov ecx, edi
push eax
push 0x6a5
call fcn.0058a80b
mov eax, dword [esp + 0x60]
xor ebx, ebx
sub eax, dword [esp + 0x58]
push 1
mov dword [esp + 0x38], eax
call fcn.0056c102
test eax, eax
je 0x5b52c4
mov ecx, dword [0x7d2e1c]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, eax
call dword [edx + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x20]
cmp ebx, eax
jl 0x5b52c4
mov ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0x3c4]
add eax, ebx
cdq
add ecx, ecx
sub eax, edx
mov edx, eax
sar edx, 1
sub edx, ecx
mov ecx, dword [edi + 0x3e0]
sub edx, ecx
cmp byte [edi + 0x4f], 0
je 0x5b52fb
mov eax, dword [edi + 0x3c4]
mov edx, ebx
add eax, eax
mov byte [edi + 0x4f], 0
sub edx, eax
sub edx, ecx
xor eax, eax
cmp byte [0x7d3069], al
je 0x5b5308
push 0x19
pop eax
mov ebx, dword [esp + 0x14]
inc eax
push str.lrec_syslink
push 0x40
push dword [edi + 0x3e4]
add eax, ebp
push ecx
add eax, esi
push eax
push edx
push 0
push dword [edi + 0x3d4]
push ebx
call fcn.0060355e
push 0
push 0
push dword [edi + 0x3d4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5b5353
mov ebx, dword [esp + 0x14]
push 0
push dword [edi + 0x3d4]
push ebx
call fcn.006034d3
push 0x6a5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
movsx ecx, word [edi + 0x1b8]
push str.plus_bg
push 0x40
push dword [esp + 0x20]
push ecx
lea ecx, [esi + ebp]
push ecx
push 0
push 0
push eax
push ebx
call fcn.0060355e
jmp 0x5b53a0
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.006034d3
mov ecx, edi
call fcn.005b0656
test al, al
je 0x5b53d7
push esi
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x28]
push ebp
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x54]
mov ecx, edi
push eax
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.005b7bc0
add dword [esp + 0x1c], 3
mov ebx, dword [esp + 0x14]
jmp 0x5b53e0
and dword [esp + 0x1c], 0
mov esi, dword [esp + 0x3c]
mov ecx, edi
call fcn.005b0656
test al, al
je 0x5b5404
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 + 0x4c]
movzx ebp, cl
neg ebp
mov dword [esp + 0x24], eax
sbb ebp, ebp
and ebp, esi
mov esi, dword [esp + 0x30]
test ch, ch
jne 0x5b5425
mov esi, dword [esp + 0x50]
and dword [esp + 0x18], 0
mov ecx, edi
call fcn.005b1c97
cmp eax, 4
mov eax, dword [edi + 0x1fc]
sete byte [esp + 0x13]
cmp eax, dword [edi + 0x200]
jne 0x5b54b0
mov ecx, dword [edi + 0x190]
test ecx, ecx
je 0x5b546a
mov eax, dword [esp + 0x24]
sub esi, ebp
sub eax, dword [esp + 0x1c]
push esi
push eax
push ebp
mov ebp, dword [esp + 0x28]
push ebp
call fcn.0068cca6
jmp 0x5b546e
mov ebp, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3a0]
call esi
cmp byte [0x7d3068], 0
je 0x5b5491
push 0
push dword [edi + 0x3d0]
call esi
mov eax, dword [0x7d9424]
test eax, eax
je 0x5b56ea
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5b56ea
mov eax, dword [esp + 0x24]
sub esi, ebp
sub eax, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x58], esi
call fcn.005b9692
push 0
test al, al
je 0x5b5682
call fcn.0056c102
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, dword [eax]
call dword [edx + 0x44]
and dword [esp + 0x20], 0
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
je 0x5b553f
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 0x5b5526
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x3c8]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
push 0x710
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, ebp
sub eax, dword [esp + 0x20]
mov dword [esp + 0x20], 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 + 0x30]
push dword [esp + 0x4c]
push 0
push esi
push ebx
call fcn.0060355e
mov esi, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [edi + 0x3b4]
mov ecx, dword [edi + 0x3b0]
mov dword [esp + 0x24], eax
add ecx, ecx
mov eax, dword [esp + 0x14]
sub esi, ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
add eax, dword [esp + 0x1c]
cmp esi, eax
jle 0x5b55ff
cmp byte [esp + 0x13], 0
jne 0x5b55ff
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x24]
push str.close_button
push 0x254
push dword [edi + 0x3b4]
cdq
push dword [edi + 0x3b0]
sub eax, edx
sar eax, 1
add eax, ebp
push eax
push esi
push 0
push dword [edi + 0x3a0]
push ebx
call fcn.0060355e
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
push 5
push dword [edi + 0x3a0]
jmp 0x5b5617
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3a0]
call esi
push 0
push dword [edi + 0x3d0]
call esi
cmp byte [0x7d3068], 0
je 0x5b5690
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x3c4]
push str.ft_link
push 0x254
push dword [edi + 0x3dc]
mov eax, dword [ecx]
push dword [edi + 0x3d8]
push dword [esp + 0x30]
call dword [eax + 0x48]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [edi + 0x424]
sub ecx, esi
sub ecx, dword [edi + 0x3d8]
add eax, ecx
push eax
push 0
push dword [edi + 0x3d0]
push ebx
call fcn.0060355e
push 0
push 0
push dword [edi + 0x3d0]
mov ebx, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5b569a
push dword [edi + 0x3a0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0
push dword [edi + 0x3d0]
call esi
mov esi, dword [esp + 0x54]
mov eax, esi
mov ecx, dword [esp + 0x18]
sub eax, ecx
push str.active_pane
push 0x214
push eax
push dword [esp + 0x40]
lea eax, [ecx + ebp]
mov ebp, dword [esp + 0x2c]
push eax
push ebp
push 0
push dword [edi + 0x1fc]
push ebx
call fcn.0060355e
shl esi, 0x10
mov ebx, eax
or esi, dword [esp + 0x34]
push esi
push 0
push 5
push dword [edi + 0x1fc]
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.005b2966
cmp dword [edi + 0x1fc], eax
je 0x5b570f
mov eax, dword [0x7d9424]
test eax, eax
je 0x5b570f
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x18]
je 0x5b5728
push esi
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [esp + 0x28], 0
je 0x5b574d
push dword [esp + 0x3c]
lea eax, [esp + 0x48]
mov ecx, edi
push dword [esp + 0x34]
push ebp
push eax
lea eax, [esp + 0x24]
push eax
call fcn.005b7252
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x5b5764
neg esi
lea eax, [esp + 0x44]
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp byte [esp + 0x29], 0
je 0x5b5785
push dword [esp + 0x30]
lea eax, [esp + 0x48]
mov ecx, edi
push ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005b70f0
mov ebx, dword [esp + 0x14]
cmp byte [edi + 0x26c], 0
je 0x5b57b1
mov esi, dword [edi + 0x1fc]
mov ecx, edi
call fcn.005b2966
cmp esi, eax
jne 0x5b57b1
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [edi + 0x26c], 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.005b90ce
push ebx
call fcn.0060369d
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x6a5
push dword [edi + 4]
call ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0xf
push eax
call ebp
push 0x710
push dword [edi + 4]
call ebx
xor ebx, ebx
push ebx
push ebx
push 0xf
push eax
call ebp
cmp byte [esp + 0x40], bl
jne 0x5b589d
cmp dword [edi + 0xf4], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
pop ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
jge 0x5b5867
mov eax, dword [edi + 0x238]
push ecx
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0xc]
call ebx
add eax, 1
mov dword [edi + 0xf4], eax
jns 0x5b5867
mov eax, dword [edi + 0x238]
push 0
push 0
push 0x1042
push dword [eax + 0xc]
call ebx
mov dword [edi + 0xf4], eax
push dword [edi + 0xf4]
mov eax, dword [edi + 0x238]
push 0
push 0x1043
push dword [eax + 0xc]
call ebx
lea eax, [esp + 0x80]
push eax
push dword [edi + 0xf4]
mov eax, dword [edi + 0x238]
push 0x102b
push dword [eax + 0xc]
call ebx
mov ecx, edi
call fcn.005ae64f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret