Function at 0x5a7fbc
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 0x5a88b0
mov ecx, dword [edi + 0xe4]
push 0
mov byte [edi + 0x4d8], 0
call fcn.005da371
mov esi, dword [edi + 0xe4]
lea ebx, [esi + 0x40]
cmp dword [ebx + 0x10], 0
jne 0x5a8012
mov ecx, edi
call fcn.005adeda
test al, al
jne 0x5a8012
push dword [esi + 0x54]
mov ecx, esi
call fcn.005e1e7a
jmp 0x5a88b0
push ebx
mov ecx, edi
call fcn.005a4c76
mov byte [esp + 0x40], al
mov ecx, edi
push dword [esp + 0x40]
lea eax, [esp + 0x2c]
push eax
call fcn.005a4b7c
push 0x16
call fcn.005f5dcf
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.005fa29f
movzx ebx, byte [0x76cae6]
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 [0x76cae7], 0
movsx ebp, word [edi + 0x1a4]
mov dword [esp + 0x30], ebp
jne 0x5a80b1
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 0x5a80b5
mov ecx, dword [esp + 0x50]
cmp byte [esp + 0x29], 0
jne 0x5a80c2
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.005a7690
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 [0x76caeb], 0
mov dword [esp + 0x20], esi
je 0x5a810a
mov ebp, dword [esp + 0x50]
dec ebp
mov ecx, edi
sub ebp, esi
call fcn.005a365e
xor al, al
je 0x5a8391
mov dword [esp + 0x18], 0x8a
call fcn.00596b53
test al, al
je 0x5a8142
call fcn.005972a7
test al, al
jne 0x5a8142
call fcn.00596e9c
test eax, eax
je 0x5a81d3
push 1
call fcn.0055f24e
mov ebx, eax
call fcn.005ade71
test al, al
je 0x5a81db
mov ecx, dword [0x7a140c]
test ecx, ecx
je 0x5a8189
call fcn.005a4ce6
push 0xfffffffffffffffa
pop ecx
sub ecx, dword [0x7a1460]
sub ecx, eax
add ebp, ecx
mov ecx, dword [0x7a140c]
call fcn.005a4ce6
mov ebx, eax
add ebx, dword [0x7a1460]
jmp 0x5a81b3
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [0x7a1460]
call dword [eax + 0x44]
push 0xfffffffffffffffa
pop ecx
sub ecx, esi
mov esi, dword [0x7a1460]
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 [0x7a047c]
jmp 0x5a8232
cmp byte [0x76caec], 0
mov dl, byte [0x7a047c]
jne 0x5a81ee
test dl, dl
je 0x5a823f
mov eax, dword [edi + 0x1bc]
test eax, eax
je 0x5a8224
cmp eax, 5
je 0x5a8209
cmp eax, 9
je 0x5a8224
cmp eax, 0x17c
jne 0x5a8232
mov ecx, dword [0x7a1460]
mov eax, 0xffffff00
sub eax, ecx
add ebp, eax
lea eax, [ecx + 0x100]
mov dword [esp + 0x18], eax
jmp 0x5a8232
sub ebp, 0xa9
mov dword [esp + 0x18], 0xaa
cmp byte [0x76caec], 0
jne 0x5a8267
test dl, dl
jne 0x5a8267
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.005f5e1a
push 0
push dword [edi + 0x3d4]
jmp 0x5a83a6
cmp byte [0x7a04d8], 0
je 0x5a834d
test dl, dl
je 0x5a834d
call fcn.005ade71
test al, al
je 0x5a834d
lea eax, [esp + 0x58]
mov ecx, edi
push eax
push 0x6a5
call fcn.0057d79d
mov eax, dword [esp + 0x60]
xor ebx, ebx
sub eax, dword [esp + 0x58]
push 1
mov dword [esp + 0x38], eax
call fcn.0055f24e
test eax, eax
je 0x5a82d0
mov ecx, dword [0x7a028c]
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 0x5a82d0
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 0x5a8307
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 [0x7a04d9], al
je 0x5a8314
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.005f5ea5
push 0
push 0
push dword [edi + 0x3d4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5a835f
mov ebx, dword [esp + 0x14]
push 0
push dword [edi + 0x3d4]
push ebx
call fcn.005f5e1a
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.005f5ea5
jmp 0x5a83ac
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.005f5e1a
mov ecx, edi
call fcn.005a365e
test al, al
je 0x5a83e3
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.005aabc5
add dword [esp + 0x1c], 3
mov ebx, dword [esp + 0x14]
jmp 0x5a83ec
and dword [esp + 0x1c], 0
mov esi, dword [esp + 0x3c]
mov ecx, edi
call fcn.005a365e
test al, al
je 0x5a8410
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 0x5a8431
mov esi, dword [esp + 0x50]
and dword [esp + 0x18], 0
mov ecx, edi
call fcn.005a4c9f
cmp eax, 4
mov eax, dword [edi + 0x1fc]
sete byte [esp + 0x13]
cmp eax, dword [edi + 0x200]
jne 0x5a84bc
mov ecx, dword [edi + 0x190]
test ecx, ecx
je 0x5a8476
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.0066816e
jmp 0x5a847a
mov ebp, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x3a0]
call esi
cmp byte [0x7a04d8], 0
je 0x5a849d
push 0
push dword [edi + 0x3d0]
call esi
mov eax, dword [0x7a66bc]
test eax, eax
je 0x5a86f6
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5a86f6
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.005ac697
push 0
test al, al
je 0x5a868e
call fcn.0055f24e
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 0x5a854b
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 0x5a8532
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.005f5ea5
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 0x5a860b
cmp byte [esp + 0x13], 0
jne 0x5a860b
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.005f5ea5
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, eax
push 5
push dword [edi + 0x3a0]
jmp 0x5a8623
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 [0x7a04d8], 0
je 0x5a869c
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.005f5ea5
push 0
push 0
push dword [edi + 0x3d0]
mov ebx, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x5a86a6
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.005f5ea5
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.005a5972
cmp dword [edi + 0x1fc], eax
je 0x5a871b
mov eax, dword [0x7a66bc]
test eax, eax
je 0x5a871b
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 0x5a8734
push esi
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [esp + 0x28], 0
je 0x5a8759
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.005aa257
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x5a8770
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 0x5a8791
push dword [esp + 0x30]
lea eax, [esp + 0x48]
mov ecx, edi
push ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005aa0f5
mov ebx, dword [esp + 0x14]
cmp byte [edi + 0x26c], 0
je 0x5a87bd
mov esi, dword [edi + 0x1fc]
mov ecx, edi
call fcn.005a5972
cmp esi, eax
jne 0x5a87bd
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.005ac0d3
push ebx
call fcn.005f5fe4
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 0x5a88a9
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 0x5a8873
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 0x5a8873
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.005a1657
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret